30 for(
int i = 0; i < number_species(); ++i)
31 if(gas_name(i) == Name)
virtual int number_species() const
Number of species.
virtual std::string gas_name(int Species_index) const =0
Name of gases, in the order that optical_depth_each_layer returns them.
virtual boost::shared_ptr< AbsorberVmr > absorber_vmr(const std::string &gas_name) const =0
Returns the AbsorberVmr object for a given species index.
#define REGISTER_LUA_CLASS(X)
Apply value function to a blitz array.
static AccumulatedTimer timer
Timer for optical_depth_each_layer.
This is a simple timer class that can be used to accumulate the time spent in multiple calls to a fun...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
#define REGISTER_LUA_END()
virtual int gas_index(const std::string &Name) const
Map a gas name to the index number it appears in optical_depth_each_layer.
This class maintains the absorber portion of the state.