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::GeometricFactors Class Reference

Structure for storing mesh geometric factors: coordinates, Jacobians, and determinants of the Jacobians. More...

#include <mesh.hpp>

Collaboration diagram for mfem::GeometricFactors:
[legend]

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)
 

Public Attributes

const Meshmesh
 
const IntegrationRuleIntRule
 
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...
 

Detailed Description

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().

Definition at line 1394 of file mesh.hpp.

Member Enumeration Documentation

Enumerator
COORDINATES 
JACOBIANS 
DETERMINANTS 

Definition at line 1401 of file mesh.hpp.

Constructor & Destructor Documentation

mfem::GeometricFactors::GeometricFactors ( const Mesh mesh,
const IntegrationRule ir,
int  flags 
)

Definition at line 10676 of file mesh.cpp.

Member Data Documentation

int mfem::GeometricFactors::computed_factors

Definition at line 1399 of file mesh.hpp.

Vector mfem::GeometricFactors::detJ

Determinants of the Jacobians at all quadrature points.

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

  • NQ = number of quadrature points per element, and
  • NE = number of elements in the mesh.

Definition at line 1431 of file mesh.hpp.

const IntegrationRule* mfem::GeometricFactors::IntRule

Definition at line 1398 of file mesh.hpp.

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

  • NQ = number of quadrature points per element,
  • SDIM = space dimension of the mesh = mesh.SpaceDimension(),
  • DIM = dimension of the mesh = mesh.Dimension(), and
  • NE = number of elements in the mesh.

Definition at line 1425 of file mesh.hpp.

const Mesh* mfem::GeometricFactors::mesh

Definition at line 1397 of file mesh.hpp.

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

  • NQ = number of quadrature points per element,
  • SDIM = space dimension of the mesh = mesh.SpaceDimension(), and
  • NE = number of elements in the mesh.

Definition at line 1416 of file mesh.hpp.


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