MFEM  v4.2.0
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)
 

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

Member Enumeration Documentation

Enumerator
COORDINATES 
JACOBIANS 
DETERMINANTS 
NORMALS 

Definition at line 1446 of file mesh.hpp.

Constructor & Destructor Documentation

mfem::FaceGeometricFactors::FaceGeometricFactors ( const Mesh mesh,
const IntegrationRule ir,
int  flags,
FaceType  type 
)

Definition at line 10729 of file mesh.cpp.

Member Data Documentation

int mfem::FaceGeometricFactors::computed_factors

Definition at line 1443 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 1478 of file mesh.hpp.

const IntegrationRule* mfem::FaceGeometricFactors::IntRule

Definition at line 1442 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 1472 of file mesh.hpp.

const Mesh* mfem::FaceGeometricFactors::mesh

Definition at line 1441 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 1485 of file mesh.hpp.

FaceType mfem::FaceGeometricFactors::type

Definition at line 1444 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 1463 of file mesh.hpp.


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