MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
util.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  mfem
 
namespace  mfem::ceed
 

Typedefs

typedef struct stat struct_stat
 

Functions

bool mfem::DeviceCanUseCeed ()
 Function that determines if a CEED kernel should be used, based on the current mfem::Device configuration.
 
void mfem::ceed::RemoveBasisAndRestriction (const mfem::FiniteElementSpace *fes)
 Remove from ceed_basis_map and ceed_restr_map the entries associated with the given fes.
 
void mfem::ceed::InitVector (const mfem::Vector &v, CeedVector &cv)
 Initialize a CeedVector from an mfem::Vector.
 
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.
 
void mfem::ceed::InitBasisAndRestrictionWithIndices (const FiniteElementSpace &fes, const IntegrationRule &irm, int nelem, const int *indices, Ceed ceed, CeedBasis *basis, CeedElemRestriction *restr)
 
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.
 
int mfem::ceed::CeedOperatorGetActiveField (CeedOperator oper, CeedOperatorField *field)
 
template<>
const IntegrationRulemfem::ceed::GetRule< MassIntegrator > (const MassIntegrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &trans)
 
template<>
const IntegrationRulemfem::ceed::GetRule< VectorMassIntegrator > (const VectorMassIntegrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &trans)
 
template<>
const IntegrationRulemfem::ceed::GetRule< ConvectionIntegrator > (const ConvectionIntegrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &trans)
 
template<>
const IntegrationRulemfem::ceed::GetRule< VectorConvectionNLFIntegrator > (const VectorConvectionNLFIntegrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &trans)
 
template<>
const IntegrationRulemfem::ceed::GetRule< DiffusionIntegrator > (const DiffusionIntegrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &trans)
 
template<>
const IntegrationRulemfem::ceed::GetRule< VectorDiffusionIntegrator > (const VectorDiffusionIntegrator &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.
 

Variables

std::string mfem::ceed::ceed_path
 

Typedef Documentation

◆ struct_stat

typedef struct _stat struct_stat

Definition at line 23 of file util.cpp.