MFEM v4.8.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
mfem::eltrans::GeometryUtils< Geometry::CUBE > Struct Reference

#include <eltrans_basis.hpp>

Static Public Member Functions

static constexpr MFEM_HOST_DEVICE int Dimension ()
 
static bool MFEM_HOST_DEVICE inside (real_t x, real_t y, real_t z)
 true if the given point (x,y,z) in ref space is inside the element
 
static bool MFEM_HOST_DEVICE project (real_t &x, real_t &y, real_t &z, real_t &dx, real_t &dy, real_t &dz)
 

Detailed Description

Definition at line 83 of file eltrans_basis.hpp.

Member Function Documentation

◆ Dimension()

static constexpr MFEM_HOST_DEVICE int mfem::eltrans::GeometryUtils< Geometry::CUBE >::Dimension ( )
inlinestaticconstexpr

Definition at line 85 of file eltrans_basis.hpp.

◆ inside()

static bool MFEM_HOST_DEVICE mfem::eltrans::GeometryUtils< Geometry::CUBE >::inside ( real_t x,
real_t y,
real_t z )
inlinestatic

true if the given point (x,y,z) in ref space is inside the element

Definition at line 87 of file eltrans_basis.hpp.

◆ project()

static bool MFEM_HOST_DEVICE mfem::eltrans::GeometryUtils< Geometry::CUBE >::project ( real_t & x,
real_t & y,
real_t & z,
real_t & dx,
real_t & dy,
real_t & dz )
inlinestatic

Bound the reference coordinate (x,y,z) += (dx,dy,dz) to be inside the cube. dx, dy, and @ dz are updated to be (dx,dy,dz) = project(x+dx,y+dy,z+dz) - (x,y,z)

Returns
true if (x,y,z) + (dx,dy,dz) hit a boundary

Definition at line 97 of file eltrans_basis.hpp.


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