class
PointBaseBase class for spatial points on a discrete mesh.
This class represents the tuple such that:
for a polytope belonging to the mesh . Here, denotes the physical coordinates of the point, while represents the transformation taking reference coordinates , for a reference geometry .
Thread safety
This class is not thread safe.
Derived classes
- class Point final
- Represents a spatial point on a discrete mesh.
Public types
- enum class Coordinates { Reference, Physical }
- Denotes the type of coordinates.
Constructors, destructors, conversion operators
Public functions
-
auto getDimension(Coordinates coords = Coordinates::
Physical) const -> size_t - Gets the space dimension of the physical coordinates.
- auto operator()(size_t i) const -> Real
- Gets the i-th physical coordinate.
- auto x() const -> Real
- Gets the coordinate.
- auto y() const -> Real
- Gets the coordinate.
- auto z() const -> Real
- Gets the coordinate.
- auto operator<(const PointBase& p) const -> bool
- Lexicographical comparison.
-
auto getJacobian() const -> const Math::
SpatialMatrix<Real>& virtual - Computes the Jacobian matrix of the transformation at the point.
-
auto getJacobianInverse() const -> const Math::
SpatialMatrix<Real>& - Computes the inverse of the Jacobian matrix of the transformation at the point.
- auto getDistortion() const -> Real
- Computes the distortion of space of the transformation at the point.
Enum documentation
enum class Rodin:: Geometry:: PointBase:: Coordinates
Denotes the type of coordinates.
Enumerators | |
---|---|
Reference |
Reference coordinates. |
Physical |
Physical coordinates. |
Function documentation
size_t Rodin:: Geometry:: PointBase:: getDimension(Coordinates coords = Coordinates:: Physical) const
Gets the space dimension of the physical coordinates.
Returns | Dimension of the physical coordinates. |
---|
Real Rodin:: Geometry:: PointBase:: operator()(size_t i) const
Gets the i-th physical coordinate.
Returns | Physical i-th coordinate. |
---|