World Builder
0.1.0-pre
A geodyanmic initial conditions generator
|
#include <interface.h>
Public Member Functions | |
Interface () | |
virtual | ~Interface () |
virtual void | decare_entries (std::string &path)=0 |
virtual double | temperature (const Point< 3 > &position, const double depth, const double gravity, double temperature) const =0 |
virtual bool | composition (const Point< 3 > &position, const double depth, const unsigned int composition_number, bool temperature) const =0 |
Protected Attributes | |
WorldBuilder::World * | world |
std::string | name |
std::vector< Point< 2 > > | coordinates |
std::string | temperature_submodule_name |
std::string | composition_submodule_name |
Definition at line 46 of file interface.h.
WorldBuilder::Features::Interface::Interface | ( | ) |
constructor
Definition at line 31 of file interface.cc.
|
virtual |
Destructor
Definition at line 34 of file interface.cc.
|
pure virtual |
Returns a value for the reqeusted composition (0 is not present, 1 is present) based on the given position and
Implemented in WorldBuilder::Features::ContinentalPlate.
|
pure virtual |
declare and read in the world builder file into the parameters class
Implemented in WorldBuilder::Features::ContinentalPlate.
|
pure virtual |
takes temperature and position and returns a temperature.
Implemented in WorldBuilder::Features::ContinentalPlate.
|
protected |
The name of the composition submodule used by this feature.
Definition at line 110 of file interface.h.
|
protected |
The coordinates at the surface of the feature
Definition at line 100 of file interface.h.
|
protected |
The name of the feature type.
Definition at line 95 of file interface.h.
|
protected |
The name of the temperature submodule used by this feature.
Definition at line 105 of file interface.h.
|
protected |
A pointer to the world class to retrieve variables.
Definition at line 90 of file interface.h.