MFEM
v4.5.1
Finite element discretization library
|
Hierarchy of AlgebraicCoarseSpace objects for use in Multigrid object. More...
#include <algebraic.hpp>
Public Member Functions | |
AlgebraicSpaceHierarchy (FiniteElementSpace &fespace) | |
Construct hierarchy based on finest FiniteElementSpace. More... | |
AlgebraicCoarseSpace & | GetAlgebraicCoarseSpace (int level) |
~AlgebraicSpaceHierarchy () | |
Public Member Functions inherited from mfem::FiniteElementSpaceHierarchy | |
FiniteElementSpaceHierarchy () | |
FiniteElementSpaceHierarchy (Mesh *mesh, FiniteElementSpace *fespace, bool ownM, bool ownFES) | |
Constructs a space hierarchy with the given mesh and space on the coarsest level. More... | |
virtual | ~FiniteElementSpaceHierarchy () |
Destructor deleting all meshes and spaces that are owned. More... | |
int | GetNumLevels () const |
Returns the number of levels in the hierarchy. More... | |
int | GetFinestLevelIndex () const |
Returns the index of the finest level. More... | |
void | AddLevel (Mesh *mesh, FiniteElementSpace *fespace, Operator *prolongation, bool ownM, bool ownFES, bool ownP) |
Adds one level to the hierarchy. More... | |
virtual void | AddUniformlyRefinedLevel (int dim=1, int ordering=Ordering::byVDIM) |
Adds one level to the hierarchy by uniformly refining the mesh on the previous level. More... | |
virtual void | AddOrderRefinedLevel (FiniteElementCollection *fec, int dim=1, int ordering=Ordering::byVDIM) |
Adds one level to the hierarchy by using a different finite element order defined through FiniteElementCollection. More... | |
virtual const FiniteElementSpace & | GetFESpaceAtLevel (int level) const |
Returns the finite element space at the given level. More... | |
virtual FiniteElementSpace & | GetFESpaceAtLevel (int level) |
Returns the finite element space at the given level. More... | |
virtual const FiniteElementSpace & | GetFinestFESpace () const |
Returns the finite element space at the finest level. More... | |
virtual FiniteElementSpace & | GetFinestFESpace () |
Returns the finite element space at the finest level. More... | |
Operator * | GetProlongationAtLevel (int level) const |
Returns the prolongation operator from the finite element space at level to the finite element space at level + 1. More... | |
Additional Inherited Members | |
Protected Attributes inherited from mfem::FiniteElementSpaceHierarchy | |
Array< Mesh * > | meshes |
Array< FiniteElementSpace * > | fespaces |
Array< Operator * > | prolongations |
Array< bool > | ownedMeshes |
Array< bool > | ownedFES |
Array< bool > | ownedProlongations |
Hierarchy of AlgebraicCoarseSpace objects for use in Multigrid object.
Definition at line 122 of file algebraic.hpp.
mfem::ceed::AlgebraicSpaceHierarchy::AlgebraicSpaceHierarchy | ( | FiniteElementSpace & | fespace | ) |
Construct hierarchy based on finest FiniteElementSpace.
The given space is a real (geometric) space, but the coarse spaces are constructed semi-algebraically with no mesh information.
Definition at line 610 of file algebraic.cpp.
|
inline |
Definition at line 135 of file algebraic.hpp.
|
inline |
Definition at line 130 of file algebraic.hpp.