MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::FaceGeometricFactors Class Reference

Structure for storing face geometric factors: coordinates, Jacobians, determinants of the Jacobians, and normal vectors. More...

#include <mesh.hpp>

Collaboration diagram for mfem::FaceGeometricFactors:
[legend]

Public Types

enum  FactorFlags { COORDINATES = 1 << 0 , JACOBIANS = 1 << 1 , DETERMINANTS = 1 << 2 , NORMALS = 1 << 3 }
 

Public Member Functions

 FaceGeometricFactors (const Mesh *mesh, const IntegrationRule &ir, int flags, FaceType type, MemoryType d_mt=MemoryType::DEFAULT)
 

Public Attributes

const Meshmesh
 
const IntegrationRuleIntRule
 
int computed_factors
 
FaceType type
 
Vector X
 Mapped (physical) coordinates of all quadrature points.
 
Vector J
 Jacobians of the element transformations at all quadrature points.
 
Vector detJ
 Determinants of the Jacobians at all quadrature points.
 
Vector normal
 Normals at all quadrature points.
 

Detailed Description

Structure for storing face geometric factors: coordinates, Jacobians, determinants of the Jacobians, and normal vectors.

Typically objects of this type are constructed and owned by objects of class Mesh. See Mesh::GetFaceGeometricFactors().

Definition at line 2843 of file mesh.hpp.

Member Enumeration Documentation

◆ FactorFlags

Enumerator
COORDINATES 
JACOBIANS 
DETERMINANTS 
NORMALS 

Definition at line 2851 of file mesh.hpp.

Constructor & Destructor Documentation

◆ FaceGeometricFactors()

mfem::FaceGeometricFactors::FaceGeometricFactors ( const Mesh * mesh,
const IntegrationRule & ir,
int flags,
FaceType type,
MemoryType d_mt = MemoryType::DEFAULT )

Definition at line 14263 of file mesh.cpp.

Member Data Documentation

◆ computed_factors

int mfem::FaceGeometricFactors::computed_factors

Definition at line 2848 of file mesh.hpp.

◆ detJ

Vector mfem::FaceGeometricFactors::detJ

Determinants of the Jacobians at all quadrature points.

This array uses a column-major layout with dimensions (NQ x NF) where

  • NQ = number of quadrature points per face, and
  • NF = number of faces in the mesh.

Definition at line 2883 of file mesh.hpp.

◆ IntRule

const IntegrationRule* mfem::FaceGeometricFactors::IntRule

Definition at line 2847 of file mesh.hpp.

◆ J

Vector mfem::FaceGeometricFactors::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 NF) where

  • NQ = number of quadrature points per face,
  • SDIM = space dimension of the mesh = mesh.SpaceDimension(),
  • DIM = dimension of the mesh = mesh.Dimension(), and
  • NF = number of faces in the mesh.

Definition at line 2877 of file mesh.hpp.

◆ mesh

const Mesh* mfem::FaceGeometricFactors::mesh

Definition at line 2846 of file mesh.hpp.

◆ normal

Vector mfem::FaceGeometricFactors::normal

Normals at all quadrature points.

This array uses a column-major layout with dimensions (NQ x DIM x NF) where

  • NQ = number of quadrature points per face,
  • SDIM = space dimension of the mesh = mesh.SpaceDimension(), and
  • NF = number of faces in the mesh.

Definition at line 2890 of file mesh.hpp.

◆ type

FaceType mfem::FaceGeometricFactors::type

Definition at line 2849 of file mesh.hpp.

◆ X

Vector mfem::FaceGeometricFactors::X

Mapped (physical) coordinates of all quadrature points.

This array uses a column-major layout with dimensions (NQ x SDIM x NF) where

  • NQ = number of quadrature points per face,
  • SDIM = space dimension of the mesh = mesh.SpaceDimension(), and
  • NF = number of faces in the mesh.

Definition at line 2868 of file mesh.hpp.


The documentation for this class was generated from the following files: