11 const blitz::Array<double, 1>&,
14 const std::string&>())
24 const blitz::Array<double, 1>& Vmr_profile,
27 const std::string& Gas_name)
28 :
AbsorberVmrScaled(Press, Scale, Scale_flag, Gas_name), vmr_profile_(Vmr_profile)
39 return press->pressure_grid().value.value();
53 Os <<
"AbsorberVmrLevelScaled:\n" 54 <<
" Gas name: " << gas_name() <<
"\n" 55 <<
" Scale: " << scale_factor() <<
"\n" 56 <<
" Retrieval flag: " << (used_flag_value()(0) ?
59 opad << vmr_profile_ <<
"\n";
AbsorberVmrLevelScaled(const boost::shared_ptr< Pressure > &Press, const blitz::Array< double, 1 > &Vmr_profile, double Scale, bool Scale_flag, const std::string &Gas_name)
Constructor.
This is a filtering stream that adds a pad to the front of every line written out.
This class maps the state vector to the absorber VMR on each level.
virtual boost::shared_ptr< AbsorberVmr > clone() const
Clone a AbsorberVmr object.
virtual void print(std::ostream &Os) const
Print to stream.
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
Apply value function to a blitz array.
virtual blitz::Array< double, 1 > pressure_profile() const
Pressure levels that vmr is on.
This gives the Gas Absorber Volumn mixing ratio for a single gas.
virtual blitz::Array< double, 1 > vmr_profile() const
VMR values passed in from input.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
#define REGISTER_LUA_END()
This class maps the state vector to the absorber VMR on each level.
double value(const FullPhysics::AutoDerivative< double > &Ad)