MFEM  v3.2
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::miniapps::DivergenceFreeProjector Class Reference

#include <pfem_extras.hpp>

Inheritance diagram for mfem::miniapps::DivergenceFreeProjector:
[legend]
Collaboration diagram for mfem::miniapps::DivergenceFreeProjector:
[legend]

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 OperatorGetGradient (const Vector &x) const
 Evaluate the gradient operator at the point x. More...
 
void PrintMatlab (std::ostream &out, int n=0, int m=0) const
 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
 

Detailed Description

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.

Constructor & Destructor Documentation

mfem::miniapps::DivergenceFreeProjector::DivergenceFreeProjector ( ParFiniteElementSpace H1FESpace,
ParFiniteElementSpace HCurlFESpace,
ParDiscreteInterpolationOperator Grad 
)

Definition at line 283 of file pfem_extras.cpp.

mfem::miniapps::DivergenceFreeProjector::~DivergenceFreeProjector ( )
virtual

Definition at line 293 of file pfem_extras.cpp.

Member Function Documentation

void mfem::miniapps::DivergenceFreeProjector::Mult ( const Vector x,
Vector y 
) const
virtual

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.


The documentation for this class was generated from the following files: