MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::ceed::AlgebraicSpaceHierarchy Class Reference

Hierarchy of AlgebraicCoarseSpace objects for use in Multigrid object. More...

#include <algebraic.hpp>

Inheritance diagram for mfem::ceed::AlgebraicSpaceHierarchy:
[legend]
Collaboration diagram for mfem::ceed::AlgebraicSpaceHierarchy:
[legend]

Public Member Functions

 AlgebraicSpaceHierarchy (FiniteElementSpace &fespace)
 Construct hierarchy based on finest FiniteElementSpace. More...
 
AlgebraicCoarseSpaceGetAlgebraicCoarseSpace (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 FiniteElementSpaceGetFESpaceAtLevel (int level) const
 Returns the finite element space at the given level. More...
 
virtual FiniteElementSpaceGetFESpaceAtLevel (int level)
 Returns the finite element space at the given level. More...
 
virtual const FiniteElementSpaceGetFinestFESpace () const
 Returns the finite element space at the finest level. More...
 
virtual FiniteElementSpaceGetFinestFESpace ()
 Returns the finite element space at the finest level. More...
 
OperatorGetProlongationAtLevel (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
 

Detailed Description

Hierarchy of AlgebraicCoarseSpace objects for use in Multigrid object.

Definition at line 122 of file algebraic.hpp.

Constructor & Destructor Documentation

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.

mfem::ceed::AlgebraicSpaceHierarchy::~AlgebraicSpaceHierarchy ( )
inline

Definition at line 135 of file algebraic.hpp.

Member Function Documentation

AlgebraicCoarseSpace& mfem::ceed::AlgebraicSpaceHierarchy::GetAlgebraicCoarseSpace ( int  level)
inline

Definition at line 130 of file algebraic.hpp.


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