World Builder  0.1.0-pre
A geodyanmic initial conditions generator
WorldBuilder::Features::ContinentalPlate Class Reference

#include <continental_plate.h>

Inheritance diagram for WorldBuilder::Features::ContinentalPlate:
Collaboration diagram for WorldBuilder::Features::ContinentalPlate:

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
 
- Public Member Functions inherited from WorldBuilder::Features::Interface
 Interface ()
 
virtual ~Interface ()
 

Additional Inherited Members

- Protected Attributes inherited from WorldBuilder::Features::Interface
WorldBuilder::Worldworld
 
std::string name
 
std::vector< Point< 2 > > coordinates
 
std::string temperature_submodule_name
 
std::string composition_submodule_name
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ContinentalPlate()

WorldBuilder::Features::ContinentalPlate::ContinentalPlate ( WorldBuilder::World world)

constructor

Definition at line 35 of file continental_plate.cc.

◆ ~ContinentalPlate()

WorldBuilder::Features::ContinentalPlate::~ContinentalPlate ( )

Destructor

Definition at line 46 of file continental_plate.cc.

Member Function Documentation

◆ composition()

bool WorldBuilder::Features::ContinentalPlate::composition ( const Point< 3 > &  position,
const double  depth,
const unsigned int  composition_number,
bool  temperature 
) const
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.

Here is the call graph for this function:

◆ decare_entries()

void WorldBuilder::Features::ContinentalPlate::decare_entries ( std::string &  path)
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.

Here is the call graph for this function:

◆ temperature()

double WorldBuilder::Features::ContinentalPlate::temperature ( const Point< 3 > &  position,
const double  depth,
const double  gravity,
double  temperature 
) const
virtual

Returns a temperature based on the given position

Implements WorldBuilder::Features::Interface.

Definition at line 112 of file continental_plate.cc.

Here is the call graph for this function:

The documentation for this class was generated from the following files: