World Builder
0.1.0-pre
A geodyanmic initial conditions generator
|
#include <continental_plate.h>
Public Member Functions | |
ContinentalPlate (WorldBuilder::World *world) | |
~ContinentalPlate () | |
virtual void | decare_entries (std::string &path) |
virtual double | temperature (const Point< 3 > &position, const double depth, const double gravity, double temperature) const |
virtual bool | composition (const Point< 3 > &position, const double depth, const unsigned int composition_number, bool temperature) const |
![]() | |
Interface () | |
virtual | ~Interface () |
Additional Inherited Members | |
![]() | |
WorldBuilder::World * | world |
std::string | name |
std::vector< Point< 2 > > | coordinates |
std::string | temperature_submodule_name |
std::string | composition_submodule_name |
This class represents a continental plate and can implement submodules for temperature and composition. These submodules determine what the returned temperature or composition of the temperature and composition functions of this class will be.
Definition at line 38 of file continental_plate.h.
WorldBuilder::Features::ContinentalPlate::ContinentalPlate | ( | WorldBuilder::World * | world | ) |
constructor
Definition at line 35 of file continental_plate.cc.
WorldBuilder::Features::ContinentalPlate::~ContinentalPlate | ( | ) |
Destructor
Definition at line 46 of file continental_plate.cc.
|
virtual |
Returns a value for the requests composition (0 is not present, 1 is present) based on the given position and
Implements WorldBuilder::Features::Interface.
Definition at line 142 of file continental_plate.cc.
|
virtual |
declare and read in the world builder file into the parameters class
Implements WorldBuilder::Features::Interface.
Definition at line 51 of file continental_plate.cc.
|
virtual |
Returns a temperature based on the given position
Implements WorldBuilder::Features::Interface.
Definition at line 112 of file continental_plate.cc.