MFEM
v4.6.0
Finite element discretization library
|
Structure for storing mesh geometric factors: coordinates, Jacobians, and determinants of the Jacobians. More...
#include <mesh.hpp>
Public Types | |
enum | FactorFlags { COORDINATES = 1 << 0, JACOBIANS = 1 << 1, DETERMINANTS = 1 << 2 } |
Public Member Functions | |
GeometricFactors (const Mesh *mesh, const IntegrationRule &ir, int flags, MemoryType d_mt=MemoryType::DEFAULT) | |
GeometricFactors (const GridFunction &nodes, const IntegrationRule &ir, int flags, MemoryType d_mt=MemoryType::DEFAULT) | |
Public Attributes | |
const Mesh * | mesh |
const IntegrationRule * | IntRule |
int | computed_factors |
Vector | X |
Mapped (physical) coordinates of all quadrature points. More... | |
Vector | J |
Jacobians of the element transformations at all quadrature points. More... | |
Vector | detJ |
Determinants of the Jacobians at all quadrature points. More... | |
Structure for storing mesh geometric factors: coordinates, Jacobians, and determinants of the Jacobians.
Typically objects of this type are constructed and owned by objects of class Mesh. See Mesh::GetGeometricFactors().
mfem::GeometricFactors::GeometricFactors | ( | const Mesh * | mesh, |
const IntegrationRule & | ir, | ||
int | flags, | ||
MemoryType | d_mt = MemoryType::DEFAULT |
||
) |
mfem::GeometricFactors::GeometricFactors | ( | const GridFunction & | nodes, |
const IntegrationRule & | ir, | ||
int | flags, | ||
MemoryType | d_mt = MemoryType::DEFAULT |
||
) |
Vector mfem::GeometricFactors::detJ |
const IntegrationRule* mfem::GeometricFactors::IntRule |
Vector mfem::GeometricFactors::J |
Jacobians of the element transformations at all quadrature points.
This array uses a column-major layout with dimensions (NQ x SDIM x DIM x NE) where
Vector mfem::GeometricFactors::X |
Mapped (physical) coordinates of all quadrature points.
This array uses a column-major layout with dimensions (NQ x SDIM x NE) where