20 #ifndef WORLD_BUILDER_FEATURES_OCEANIC_PLATE_MODELS_COMPOSITION_WATER_CONTENT_H 21 #define WORLD_BUILDER_FEATURES_OCEANIC_PLATE_MODELS_COMPOSITION_WATER_CONTENT_H 33 using namespace FeatureUtilities;
34 namespace OceanicPlateModels
63 void declare_entries(
Parameters &prm,
const std::string &parent_name =
"");
68 void parse_entries(
Parameters &prm,
const std::vector<
Point<2>> &coordinates)
override final;
75 double calculate_water_content(
double pressure,
76 double temperature)
const;
82 double get_composition(
const Point<3> &position,
85 const unsigned int composition_number,
87 const double feature_min_depth,
88 const double feature_max_depth)
const override final;
116 std::vector<std::vector<double>> LR_poly =
118 {-19.0609, 168.983, -630.032, 1281.84, -1543.14, 1111.88, -459.142, 95.4143, 1.97246},
119 {-1.81745, 7.67198, -10.8507, 5.09329, 8.14519},
120 {-1.78177, 7.50871, -10.4840, 5.19725, 7.96365},
121 {-2.03283, 10.8186, -21.2119, 18.3351, -6.48711, 8.32459}
124 std::vector<std::vector<double>> c_sat_poly =
126 {0.00115628, 2.42179},
127 {-0.0176673, 0.0893044, 1.52732},
128 {0.0102725, -0.115390, 0.324452, 1.41588},
129 {-0.150662, 0.301807, 1.01867}
132 std::vector<std::vector<double>> Td_poly =
134 {-15.4627, 94.9716, 636.603},
135 {-1.72277, 20.5898, 637.517},
136 {-3.81280, 22.7809, 638.049},
137 {2.83277, -24.7593, 85.9090, 524.898}
LithologyName lithology_type
std::vector< unsigned int > compositions
Objects::Surface max_depth_surface
Objects::Surface min_depth_surface