21 :
Operator(form->FESpace()->GetTrueVSize()), n(form)
42 const int Ni = integrators.
Size();
43 for (
int i = 0; i < Ni; ++i)
45 integrators[i]->AssemblePA(*
n->
FESpace());
52 const int iSz = integrators.
Size();
57 for (
int i = 0; i < iSz; ++i)
67 for (
int i = 0; i < iSz; ++i)
69 integrators[i]->AddMultPA(x, y);
int Size() const
Logical size of the array.
void SetSize(int s)
Resize the vector to size s.
void UseDevice(bool use_dev) const
Enable execution of Vector operations using the mfem::Device.
virtual void Mult(const Vector &x, Vector &y) const =0
Operator application: y=A(x).
virtual void MultTranspose(const Vector &x, Vector &y) const
Action of the transpose operator: y=A^t(x). The default behavior in class Operator is to generate an ...
const Operator * GetElementRestriction(ElementDofOrdering e_ordering) const
Return an Operator that converts L-vectors to E-vectors.
int Height() const
Get the height (size of output) of the Operator. Synonym with NumRows().
static MemoryType GetMemoryType()
(DEPRECATED) Equivalent to GetDeviceMemoryType().
ElementDofOrdering
Constants describing the possible orderings of the DOFs in one element.
Lexicographic ordering for tensor-product FiniteElements.