12 #include "../general/forall.hpp"
27 if (mesh->
GetNE() == 0) {
return; }
46 MFEM_ABORT(
"Error: MassIntegrator::AssembleMF only implemented with"
54 ceedOp->AddMult(x, y);
58 MFEM_ABORT(
"Error: MassIntegrator::AddMultMF only implemented with"
63 void MassIntegrator::AssembleDiagonalMF(
Vector &diag)
67 ceedOp->GetDiagonal(diag);
71 MFEM_ABORT(
"Error: MassIntegrator::AssembleDiagonalMF only implemented"
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.
Mesh * GetMesh() const
Returns the mesh.
Represent a MassIntegrator with AssemblyLevel::None using libCEED.
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)
void GetElementTransformation(int i, IsoparametricTransformation *ElTr)
virtual const FiniteElement * GetFE(int i) const
Returns pointer to the FiniteElement in the FiniteElementCollection associated with i'th element in t...