MFEM  v4.5.2
Finite element discretization library
Classes | Namespaces | Typedefs | Enumerations | Functions
util.hpp File Reference

Go to the source code of this file.

Classes

struct  mfem::ceed::BasisHash
 
struct  mfem::ceed::RestrHash
 

Namespaces

 mfem
 
 mfem::ceed
 

Typedefs

using mfem::ceed::BasisKey = std::tuple< const mfem::FiniteElementSpace *, const mfem::IntegrationRule *, int, int, int >
 
using mfem::ceed::BasisMap = std::unordered_map< const BasisKey, CeedBasis, BasisHash >
 
using mfem::ceed::RestrKey = std::tuple< const mfem::FiniteElementSpace *, int, int, int, int >
 
using mfem::ceed::RestrMap = std::unordered_map< const RestrKey, CeedElemRestriction, RestrHash >
 

Enumerations

enum  mfem::ceed::restr_type { mfem::ceed::Standard, mfem::ceed::Strided, mfem::ceed::Coeff }
 

Functions

bool mfem::DeviceCanUseCeed ()
 Function that determines if a CEED kernel should be used, based on the current mfem::Device configuration. More...
 
void mfem::ceed::RemoveBasisAndRestriction (const mfem::FiniteElementSpace *fes)
 Remove from ceed_basis_map and ceed_restr_map the entries associated with the given fes. More...
 
void mfem::ceed::InitVector (const mfem::Vector &v, CeedVector &cv)
 Initialize a CeedVector from an mfem::Vector. More...
 
void mfem::ceed::InitBasisAndRestriction (const mfem::FiniteElementSpace &fes, const mfem::IntegrationRule &ir, Ceed ceed, CeedBasis *basis, CeedElemRestriction *restr)
 Initialize a CeedBasis and a CeedElemRestriction based on an mfem::FiniteElementSpace fes, and an mfem::IntegrationRule ir. More...
 
void mfem::ceed::InitBasisAndRestriction (const FiniteElementSpace &fes, const IntegrationRule &ir, int nelem, const int *indices, Ceed ceed, CeedBasis *basis, CeedElemRestriction *restr)
 Initialize a CeedBasis and a CeedElemRestriction based on an mfem::FiniteElementSpace fes, and an mfem::IntegrationRule ir, and a list of nelem elements of indices indices. More...
 
int mfem::ceed::CeedOperatorGetActiveField (CeedOperator oper, CeedOperatorField *field)
 
template<typename Integrator >
const IntegrationRule & mfem::ceed::GetRule (const Integrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &Trans)
 
const std::string & mfem::ceed::GetCeedPath ()
 Return the path to the libCEED q-function headers. More...