|
ASPECT
|
Public Member Functions | |
| NaturalCoordinate (Point< dim > &position, const GeometryModel::Interface< dim > &geometry_model) | |
| NaturalCoordinate (const std::array< double, dim > &coord, const Utilities::Coordinates::CoordinateSystem &coord_system) | |
| std::array< double, dim > & | get_coordinates () |
| const std::array< double, dim > & | get_coordinates () const |
| std::array< double, dim-1 > | get_surface_coordinates () const |
| double | get_depth_coordinate () const |
Private Attributes | |
| Utilities::Coordinates::CoordinateSystem | coordinate_system |
| std::array< double, dim > | coordinates |
A class that represents a point in a chosen coordinate system.
Definition at line 987 of file utilities.h.
| aspect::Utilities::NaturalCoordinate< dim >::NaturalCoordinate | ( | Point< dim > & | position, |
| const GeometryModel::Interface< dim > & | geometry_model | ||
| ) |
Constructor based on providing the geometry model as a pointer.
| aspect::Utilities::NaturalCoordinate< dim >::NaturalCoordinate | ( | const std::array< double, dim > & | coord, |
| const Utilities::Coordinates::CoordinateSystem & | coord_system | ||
| ) |
Constructor based on providing the coordinates and associated coordinate system.
| std::array<double,dim>& aspect::Utilities::NaturalCoordinate< dim >::get_coordinates | ( | ) |
Returns the coordinates in the given coordinate system, which may not be Cartesian.
| const std::array<double,dim>& aspect::Utilities::NaturalCoordinate< dim >::get_coordinates | ( | ) | const |
Returns the coordinates in the given coordinate system, which may not be Cartesian.
| std::array<double,dim-1> aspect::Utilities::NaturalCoordinate< dim >::get_surface_coordinates | ( | ) | const |
The coordinate that represents the 'surface' directions in the chosen coordinate system.
| double aspect::Utilities::NaturalCoordinate< dim >::get_depth_coordinate | ( | ) | const |
The coordinate that represents the 'depth' direction in the chosen coordinate system.
|
private |
An enum which stores the coordinate system of this natural point
Definition at line 1032 of file utilities.h.
|
private |
An array which stores the coordinates in the coordinates system
Definition at line 1037 of file utilities.h.