11 .def(luabind::constructor<
const double,
13 const blitz::Array<double, 1>&>())
19 const blitz::Array<double, 1>& Refr_index)
21 refractive_index_(Refr_index)
44 return refractive_index_(Spec_idx);
52 return "Ground Coxmunk Windspeed";
58 Os <<
"GroundCoxmunk:\n";
60 <<
"Refractive Index: " << refractive_index_ <<
'\n';
68 throw Exception(
"Windspeed has gone negative");
GroundCoxmunk(const double Windspeed, const bool &Ws_flag, const blitz::Array< double, 1 > &Refr_index)
virtual const double refractive_index(const int Spec_idx) const
This is a filtering stream that adds a pad to the front of every line written out.
virtual void print(std::ostream &Os) const
This is the base of the exception hierarchy for Full Physics code.
const blitz::Array< bool, 1 > & used_flag_value() const
virtual const AutoDerivative< double > windspeed() const
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
This class maintains the ground portion of the state.
Apply value function to a blitz array.
void resize(const blitz::TinyVector< int, D > &Shape, int nvar)
virtual void update_sub_state_hook()
Hook for anything a derived class needs to do after coefficient is updated and before notify_update...
const ArrayAd< double, 1 > & coefficient() const
It is common to have a class that is an Observable with a set of coefficients, a subset of which are ...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
const T & value() const
Convert to type T.
#define REGISTER_LUA_END()
This class implements a Coxmunk ground type.
virtual ArrayAd< double, 1 > surface_parameter(const double wn, const int spec_index) const
Surface parmeters.
virtual boost::shared_ptr< Ground > clone() const
Clone a Ground object.
double value(const FullPhysics::AutoDerivative< double > &Ad)
virtual std::string state_vector_name_i(int i) const
Return state vector name for ith entry in coeff.