33 using namespace Utilities;
37 namespace OceanicPlateModels
43 min_depth(NaN::
DSNAN),
44 max_depth(NaN::
DSNAN),
45 temperature(NaN::
DSNAN),
49 this->
name =
"uniform";
61 "Uniform temperature model. Set the temperature to a constant value.");
65 "The depth in meters from which the temperature of this feature is present.");
68 "The depth in meters to which the temperature of this feature is present.");
71 "The temperature in degree Kelvin which this feature should have");
98 if (depth <= max_depth && depth >=
min_depth)
102 if (depth <= max_depth_local && depth >= min_depth_local)
Operations string_operations_to_enum(const std::string &operation)
#define WB_REGISTER_FEATURE_OCEANIC_PLATE_TEMPERATURE_MODEL(classname, name)
WorldBuilder::World * world
Point< 2 > get_surface_point() const
SurfaceValueInfo local_value(const Point< 2 > &check_point) const
double apply_operation(const Operations operation, const double old_value, const double new_value)
void declare_entry(const std::string &name, const Types::Interface &type, const std::string &documentation)
T get(const std::string &name)