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

#include <pfem_extras.hpp>

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

Public Member Functions

 IrrotationalProjector (ParFiniteElementSpace &H1FESpace, ParFiniteElementSpace &HCurlFESpace, ParDiscreteInterpolationOperator &Grad)
 
virtual ~IrrotationalProjector ()
 
virtual void Mult (const Vector &x, Vector &y) const
 Operator application. More...
 
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)
 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 irrotational portion of a vector field. This vector field must be discretized using Nedelec basis functions.

Definition at line 150 of file pfem_extras.hpp.

Constructor & Destructor Documentation

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

Definition at line 187 of file pfem_extras.cpp.

mfem::miniapps::IrrotationalProjector::~IrrotationalProjector ( )
virtual

Definition at line 222 of file pfem_extras.cpp.

Member Function Documentation

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

Operator application.

Implements mfem::Operator.

Reimplemented in mfem::miniapps::DivergenceFreeProjector.

Definition at line 236 of file pfem_extras.cpp.

void mfem::miniapps::IrrotationalProjector::Update ( )

Definition at line 247 of file pfem_extras.cpp.


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