33 using namespace Utilities;
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 "The distance in meters from which the composition of this feature is present.");
68 "The distance in meters to which the composition of this feature is present.");
71 "The velocity in meter per year");
78 min_depth = prm.
get<
double>(
"min distance fault center");
79 max_depth = prm.
get<
double>(
"max distance fault center");
81 std::vector<double> velocity_vec = prm.
get_vector<
double>(
"velocity");
83 velocity[1] = velocity_vec[1];
84 velocity[2] = velocity_vec[2];
92 std::array<double,3> velocity_,
WorldBuilder::World * world
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)
#define WB_REGISTER_FEATURE_FAULT_VELOCITY_MODEL(classname, name)