35 #ifndef NEKTAR_LIB_MULTIREGIONS_GLOBALLINSYSPETSCSTATICCOND_H
36 #define NEKTAR_LIB_MULTIREGIONS_GLOBALLINSYSPETSCSTATICCOND_H
44 namespace MultiRegions
48 class GlobalLinSysPETScStaticCond;
50 typedef std::shared_ptr<GlobalLinSysPETScStaticCond>
61 const std::weak_ptr<ExpList> &pExpList,
62 const std::shared_ptr<AssemblyMap> &pLocToGloMap)
66 pLinSysKey, pExpList, pLocToGloMap);
78 const std::weak_ptr<ExpList> &pExpList,
79 const std::shared_ptr<AssemblyMap> &locToGloMap);
84 const std::weak_ptr<ExpList> &pExpList,
89 const std::shared_ptr<AssemblyMap> &locToGloMap,
100 std::shared_ptr<AssemblyMap> locToGloMap);
118 const std::weak_ptr<ExpList> &pExpList,
123 const std::shared_ptr<AssemblyMap> &locToGloMap);
#define MULTI_REGIONS_EXPORT
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
Describe a linear system.
A PETSc global linear system.
static std::string className2
virtual void v_CoeffsBwdTransform(Array< OneD, NekDouble > &pInOut)
virtual void v_CoeffsFwdTransform(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
static GlobalLinSysSharedPtr create(const GlobalLinSysKey &pLinSysKey, const std::weak_ptr< ExpList > &pExpList, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
virtual DNekScalBlkMatSharedPtr v_GetStaticCondBlock(unsigned int n)
Retrieves a the static condensation block matrices from n-th expansion using the matrix key provided ...
virtual ~GlobalLinSysPETScStaticCond()
virtual GlobalLinSysStaticCondSharedPtr v_Recurse(const GlobalLinSysKey &mkey, const std::weak_ptr< ExpList > &pExpList, const DNekScalBlkMatSharedPtr pSchurCompl, const DNekScalBlkMatSharedPtr pBinvD, const DNekScalBlkMatSharedPtr pC, const DNekScalBlkMatSharedPtr pInvD, const std::shared_ptr< AssemblyMap > &locToGloMap)
virtual void v_InitObject()
virtual void v_DoMatrixMultiply(const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output)
Apply matrix-vector multiplication using local approach and the assembly map.
virtual void v_PreSolve(int scLevel, Array< OneD, NekDouble > &F_bBnd)
virtual void v_AssembleSchurComplement(std::shared_ptr< AssemblyMap > locToGloMap)
Assemble the Schur complement matrix.
static std::string className
Name of class.
virtual void v_BasisFwdTransform(Array< OneD, NekDouble > &pInOut)
GlobalLinSysPETScStaticCond(const GlobalLinSysKey &mkey, const std::weak_ptr< ExpList > &pExpList, const std::shared_ptr< AssemblyMap > &locToGloMap)
Constructor for full direct matrix solve.
std::shared_ptr< GlobalLinSys > GlobalLinSysSharedPtr
Pointer to a GlobalLinSys object.
std::shared_ptr< GlobalLinSysStaticCond > GlobalLinSysStaticCondSharedPtr
std::shared_ptr< Preconditioner > PreconditionerSharedPtr
std::shared_ptr< GlobalLinSysPETScStaticCond > GlobalLinSysPETScStaticCondSharedPtr
The above copyright notice and this permission notice shall be included.
std::shared_ptr< DNekScalBlkMat > DNekScalBlkMatSharedPtr