ASPECT
|
Public Member Functions | |
double | value (const Point< dim-1 > &p) const override |
double | max_topography () const override |
void | parse_parameters (ParameterHandler &prm) override |
Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
virtual | ~InterfaceBase ()=default |
virtual void | initialize () |
virtual void | update () |
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
Private Attributes | |
std::vector< double > | topography_values |
double | maximum_topography |
std::vector< std::vector< Point< 2 > > > | point_lists |
A class that describes an initial topography for the geometry model, by defining a set of polygons on the surface from the prm file. It sets the elevation in each polygon to a constant value.
Definition at line 40 of file prm_polygon.h.
|
overridevirtual |
Return the value of the topography for a point.
Implements aspect::InitialTopographyModel::Interface< dim >.
|
overridevirtual |
Return the maximum value of the elevation.
Implements aspect::InitialTopographyModel::Interface< dim >.
|
static |
Declare the parameters this class takes through input files.
|
overridevirtual |
Read the parameters this class declares from the parameter file.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
The values of the topography are stored in a vector.
Definition at line 70 of file prm_polygon.h.
|
private |
The maximum topography in this model
Definition at line 75 of file prm_polygon.h.
|
private |
The polygons and their points are stored in this vector.
Definition at line 80 of file prm_polygon.h.