MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Public Attributes | List of all members
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. More...
 
Vector J
 Jacobians of the element transformations at all quadrature points. More...
 
Vector detJ
 Determinants of the Jacobians at all quadrature points. More...
 
Vector normal
 Normals at all quadrature points. More...
 

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 1891 of file mesh.hpp.

Member Enumeration Documentation

Enumerator
COORDINATES 
JACOBIANS 
DETERMINANTS 
NORMALS 

Definition at line 1899 of file mesh.hpp.

Constructor & Destructor Documentation

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

Definition at line 12093 of file mesh.cpp.

Member Data Documentation

int mfem::FaceGeometricFactors::computed_factors

Definition at line 1896 of file mesh.hpp.

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 1931 of file mesh.hpp.

const IntegrationRule* mfem::FaceGeometricFactors::IntRule

Definition at line 1895 of file mesh.hpp.

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 1925 of file mesh.hpp.

const Mesh* mfem::FaceGeometricFactors::mesh

Definition at line 1894 of file mesh.hpp.

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 1938 of file mesh.hpp.

FaceType mfem::FaceGeometricFactors::type

Definition at line 1897 of file mesh.hpp.

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 1916 of file mesh.hpp.


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