12 #include "../general/forall.hpp"
27 if (mesh->
GetNE() == 0) {
return; }
33 MFEM_VERIFY(!VQ && !MQ,
34 "Only scalar coefficient supported for DiffusionIntegrator"
48 MFEM_ABORT(
"Error: DiffusionIntegrator::AssembleMF only implemented with"
52 void DiffusionIntegrator::AssembleDiagonalMF(
Vector &diag)
56 ceedOp->GetDiagonal(diag);
60 MFEM_ABORT(
"Error: DiffusionIntegrator::AssembleDiagonalMF only"
61 " implemented with libCEED");
65 void DiffusionIntegrator::AddMultMF(
const Vector &x,
Vector &y)
const
69 ceedOp->AddMult(x, y);
73 MFEM_ABORT(
"Error: DiffusionIntegrator::AddMultMF only implemented with"
Abstract class for all finite elements.
Class for an integration rule - an Array of IntegrationPoint.
bool IsVariableOrder() const
Returns true if the space contains elements of varying polynomial orders.
int GetNumGeometries(int dim) const
Return the number of geometries of the given dimension present in the mesh.
int GetNE() const
Returns number of elements.
Represent a DiffusionIntegrator with AssemblyLevel::None using libCEED.
Mesh * GetMesh() const
Returns the mesh.
Class FiniteElementSpace - responsible for providing FEM view of the mesh, mainly managing the set of...
bool DeviceCanUseCeed()
Function that determines if a CEED kernel should be used, based on the current mfem::Device configura...
const IntegrationRule & GetRule(const Integrator &integ, const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &Trans)
virtual const FiniteElement * GetFE(int i) const
Returns pointer to the FiniteElement in the FiniteElementCollection associated with i'th element in t...