MFEM v4.7.0
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. | |
AlgebraicCoarseSpace & | GetAlgebraicCoarseSpace (int level) |
~AlgebraicSpaceHierarchy () | |
Public Member Functions inherited from mfem::FiniteElementSpaceHierarchy | |
FiniteElementSpaceHierarchy ()=default | |
FiniteElementSpaceHierarchy (Mesh *mesh, FiniteElementSpace *fespace, bool ownM, bool ownFES) | |
Constructs a space hierarchy with the given mesh and space on the coarsest level. | |
virtual | ~FiniteElementSpaceHierarchy () |
Destructor deleting all meshes and spaces that are owned. | |
int | GetNumLevels () const |
Returns the number of levels in the hierarchy. | |
int | GetFinestLevelIndex () const |
Returns the index of the finest level. | |
void | AddLevel (Mesh *mesh, FiniteElementSpace *fespace, Operator *prolongation, bool ownM, bool ownFES, bool ownP) |
Adds one level to the hierarchy. | |
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. | |
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. | |
virtual const FiniteElementSpace & | GetFESpaceAtLevel (int level) const |
Returns the finite element space at the given level. | |
virtual FiniteElementSpace & | GetFESpaceAtLevel (int level) |
Returns the finite element space at the given level. | |
virtual const FiniteElementSpace & | GetFinestFESpace () const |
Returns the finite element space at the finest level. | |
virtual FiniteElementSpace & | GetFinestFESpace () |
Returns the finite element space at the finest level. | |
Operator * | GetProlongationAtLevel (int level) const |
Returns the prolongation operator from the finite element space at level to the finite element space at level + 1. | |
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 611 of file algebraic.cpp.
|
inline |
Definition at line 135 of file algebraic.hpp.
|
inline |
Definition at line 130 of file algebraic.hpp.