MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
solvers-atpmg.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  mfem
 
namespace  mfem::ceed
 

Functions

int mfem::ceed::CeedATPMGElemRestriction (int order, int order_reduction, CeedElemRestriction er_in, CeedElemRestriction *er_out, CeedInt *&dof_map)
 Take given (high-order) CeedElemRestriction and make a new CeedElemRestriction, which corresponds to a lower-order problem.
 
int mfem::ceed::CeedBasisATPMGCoarseToFine (Ceed ceed, int P1d, int dim, int order_reduction, CeedBasis *basisc2f)
 Create coarse-to-fine basis, given number of input nodes and order reduction.
 
int mfem::ceed::CeedBasisATPMGCoarsen (CeedBasis basisin, CeedBasis *basisout, CeedBasis *basis_ctof, int order_reduction)
 Given basis basisin, reduces its order by order_reduction and return basisout (which has the same height (Q1d) but is narrower (smaller P1d))
 
int mfem::ceed::CeedATPMGOperator (CeedOperator oper, int order_reduction, CeedElemRestriction coarse_er, CeedBasis *coarse_basis_out, CeedBasis *basis_ctof_out, CeedOperator *out)
 Coarsen a CeedOperator using semi-algebraic p-multigrid.
 
int mfem::ceed::CeedATPMGBundle (CeedOperator oper, int order_reduction, CeedBasis *coarse_basis_out, CeedBasis *basis_ctof_out, CeedElemRestriction *er_out, CeedOperator *coarse_oper, CeedInt *&dof_map)
 Given (fine) CeedOperator, produces everything you need for a coarse level (operator and interpolation).