33 using namespace Utilities;
37 namespace SubductingPlateModels
43 min_depth(NaN::
DSNAN),
44 max_depth(NaN::
DSNAN),
49 this->
name =
"uniform raw";
61 "Uniform velocity model. Set the velocity to a constant value.");
65 "todo The depth in meters from which the composition of this feature is present.");
68 "todo The depth in meters to which the composition of this feature is present.");
71 "The velocity in meter per year");
82 std::vector<double> velocity_vec = prm.
get_vector<
double>(
"velocity");
84 velocity[1] = velocity_vec[1];
85 velocity[2] = velocity_vec[2];
93 std::array<double,3> velocity_,
WorldBuilder::World * world
#define WB_REGISTER_FEATURE_SUBDUCTING_PLATE_VELOCITY_MODEL(classname, name)
Operations string_operations_to_enum(const std::string &operation)
double distance_from_plane
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)
std::vector< T > get_vector(const std::string &name)
T get(const std::string &name)