MFEM v4.8.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
mfem::eltrans::GeometryUtils< Geometry::SEGMENT > 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)
 true if the given point x in ref space is inside the element
 
static bool MFEM_HOST_DEVICE project (real_t &x, real_t &dx)
 

Detailed Description

Definition at line 31 of file eltrans_basis.hpp.

Member Function Documentation

◆ Dimension()

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

Definition at line 33 of file eltrans_basis.hpp.

◆ inside()

static bool MFEM_HOST_DEVICE mfem::eltrans::GeometryUtils< Geometry::SEGMENT >::inside ( real_t x)
inlinestatic

true if the given point x in ref space is inside the element

Definition at line 36 of file eltrans_basis.hpp.

◆ project()

static bool MFEM_HOST_DEVICE mfem::eltrans::GeometryUtils< Geometry::SEGMENT >::project ( real_t & x,
real_t & dx )
inlinestatic

Bound the reference coordinate x += dx to be inside the segment. dx is updated to be dx = project(x+dx) - x

Returns
true if x + dx hit a boundary

Definition at line 41 of file eltrans_basis.hpp.


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