Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
smith::GeometricFactors Struct Reference

a class that computes and stores positions and jacobians at each quadrature point More...

#include <geometric_factors.hpp>

Public Member Functions

 GeometricFactors ()
 default ctor, leaving this object uninitialized
 
 GeometricFactors (const Domain &domain, int q, mfem::Geometry::Type elem_geom)
 calculate positions and jacobians for quadrature points belonging to elements with the specified geometry, belonging to the provided mesh. More...
 

Public Attributes

mfem::Vector X
 Mapped (physical) coordinates of all quadrature points. More...
 
mfem::Vector J
 Jacobians of the element transformations at all quadrature points. More...
 
std::size_t num_elements
 the number of elements in the domain
 

Detailed Description

a class that computes and stores positions and jacobians at each quadrature point

Note
analogous to mfem::GeometricFactors, except that it implements the position/jacobian calculations on boundary elements and on simplex elements

Definition at line 23 of file geometric_factors.hpp.

Constructor & Destructor Documentation

◆ GeometricFactors()

smith::GeometricFactors::GeometricFactors ( const Domain domain,
int  q,
mfem::Geometry::Type  elem_geom 
)

calculate positions and jacobians for quadrature points belonging to elements with the specified geometry, belonging to the provided mesh.

Parameters
domainthe domain of integration
qa parameter controlling the number of quadrature points per element
elem_geomwhich kind of element geometry to select

Definition at line 72 of file geometric_factors.cpp.

Member Data Documentation

◆ J

mfem::Vector smith::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 54 of file geometric_factors.hpp.

◆ X

mfem::Vector smith::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 45 of file geometric_factors.hpp.


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