33 using namespace Utilities;
37 namespace ContinentalPlateModels
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 composition of this feature is present.");
68 "The depth in meters to which the composition of this feature is present.");
71 "The temperature in degree Kelvin which this feature should have");
99 if (depth <= max_depth_local && depth >= min_depth_local)
101 if (depth <= max_depth && depth >=
min_depth)
Operations string_operations_to_enum(const std::string &operation)
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)
#define WB_REGISTER_FEATURE_CONTINENTAL_PLATE_TEMPERATURE_MODEL(classname, name)
WorldBuilder::World * world