ASPECT
Public Member Functions | Public Attributes | List of all members
aspect::MeshRefinement::internal::Property Struct Reference

Public Member Functions

 Property (const std::string &property_name, const std::vector< std::string > &available_compositions)
 

Public Attributes

PropertyType type
 
unsigned int index
 

Detailed Description

Definition at line 43 of file isosurfaces.h.

Constructor & Destructor Documentation

§ Property()

aspect::MeshRefinement::internal::Property::Property ( const std::string &  property_name,
const std::vector< std::string > &  available_compositions 
)

Constructor. Converts a property name into a structure containing a property type and an index. If the property contains multiple items (e.g. the property compositional field has a field index) the index referring to the particular item of that property is stored in the variable index.

Parameters
property_nameThe name of a property, which can be Temperature for the temperature field or the name of a compositional field listed in the parameter available_compositions.
available_compositionsA list of names of the available compositional fields.

Member Data Documentation

§ type

PropertyType aspect::MeshRefinement::internal::Property::type

The Property type of the property

Definition at line 60 of file isosurfaces.h.

§ index

unsigned int aspect::MeshRefinement::internal::Property::index

An index, in case the property type contains multiple values. This is currently only used for storing which compositional field the property corresponds to.

Definition at line 67 of file isosurfaces.h.


The documentation for this struct was generated from the following file: