World Builder  1.1.0-pre
A geodynamic initial conditions generator
wrapper_cpp.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2018-2024 by the authors of the World Builder code.
3 
4  This file is part of the World Builder.
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published
8  by the Free Software Foundation, either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with this program. If not, see <https://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef WORLD_BUILDER_WRAPPER_CPP_H
21 #define WORLD_BUILDER_WRAPPER_CPP_H
22 
23 #include <string>
25 
26 namespace wrapper_cpp
27 {
35  {
36  public:
40  WorldBuilderWrapper(std::string filename, bool has_output_dir = false, const std::string &output_dir = "", const unsigned long random_number_seed = 1.0);
41 
46 
51  double temperature_2d(double x, double z, double depth);
52 
57  double temperature_3d(double x, double y, double z, double depth);
58 
65  double temperature_2d(double x, double z, double depth, double gravity);
66 
73  double temperature_3d(double x, double y, double z, double depth, double gravity);
74 
79  double composition_2d(double x, double z, double depth, unsigned int composition_number);
80 
85  double composition_3d(double x, double y, double z, double depth, unsigned int composition_number);
86 
87 
88  private:
90 
91 
92  };
93 } // namespace wrapper_cpp
94 #endif
double temperature_2d(double x, double z, double depth)
Definition: wrapper_cpp.cc:43
double composition_2d(double x, double z, double depth, unsigned int composition_number)
Definition: wrapper_cpp.cc:66
double composition_3d(double x, double y, double z, double depth, unsigned int composition_number)
Definition: wrapper_cpp.cc:72
double temperature_3d(double x, double y, double z, double depth)
Definition: wrapper_cpp.cc:55
WorldBuilderWrapper(std::string filename, bool has_output_dir=false, const std::string &output_dir="", const unsigned long random_number_seed=1.0)
Definition: wrapper_cpp.cc:27