MFEM
v3.1
Finite element discretization library
|
#include <pfem_extras.hpp>
Public Member Functions | |
DivergenceFreeProjector (ParFiniteElementSpace &H1FESpace, ParFiniteElementSpace &HCurlFESpace, ParDiscreteInterpolationOperator &Grad) | |
virtual | ~DivergenceFreeProjector () |
virtual void | Mult (const Vector &x, Vector &y) const |
Operator application. More... | |
void | Update () |
Public Member Functions inherited from mfem::miniapps::IrrotationalProjector | |
IrrotationalProjector (ParFiniteElementSpace &H1FESpace, ParFiniteElementSpace &HCurlFESpace, ParDiscreteInterpolationOperator &Grad) | |
virtual | ~IrrotationalProjector () |
void | Update () |
Public Member Functions inherited from mfem::Operator | |
Operator (int s=0) | |
Construct a square Operator with given size s (default 0) More... | |
Operator (int h, int w) | |
int | Height () const |
Get the height (size of output) of the Operator. Synonym with NumRows. More... | |
int | NumRows () const |
int | Width () const |
Get the width (size of input) of the Operator. Synonym with NumCols. More... | |
int | NumCols () const |
virtual void | MultTranspose (const Vector &x, Vector &y) const |
Action of the transpose operator. More... | |
virtual Operator & | GetGradient (const Vector &x) const |
Evaluate the gradient operator at the point x. More... | |
void | PrintMatlab (std::ostream &out, int n=0, int m=0) |
Prints operator with input size n and output size m in matlab format. More... | |
virtual | ~Operator () |
Additional Inherited Members | |
Protected Attributes inherited from mfem::Operator | |
int | height |
int | width |
This class computes the divergence free portion of a vector field. This vector field must be discretized using Nedelec basis functions.
Definition at line 189 of file pfem_extras.hpp.
mfem::miniapps::DivergenceFreeProjector::DivergenceFreeProjector | ( | ParFiniteElementSpace & | H1FESpace, |
ParFiniteElementSpace & | HCurlFESpace, | ||
ParDiscreteInterpolationOperator & | Grad | ||
) |
Definition at line 283 of file pfem_extras.cpp.
|
virtual |
Definition at line 293 of file pfem_extras.cpp.
Operator application.
Reimplemented from mfem::miniapps::IrrotationalProjector.
Definition at line 299 of file pfem_extras.cpp.
void mfem::miniapps::DivergenceFreeProjector::Update | ( | ) |
Definition at line 307 of file pfem_extras.cpp.