19 #ifndef __KSPCTX_HPP__
20 #define __KSPCTX_HPP__
102 friend PetscErrorCode
KspRhs(KSP ksp,
Vec f,
void *ctx);
103 friend PetscErrorCode
KspMat(KSP ksp, Mat
A, Mat
B,
void *ctx);
127 PetscErrorCode
KspRhs(KSP ksp,
Vec f,
void *ctx);
137 PetscErrorCode
KspMat(KSP ksp, Mat
A, Mat
B,
void *ctx);
MoFEMTypes
Those types control how functions respond on arguments, f.e. error handling.
const FTensor::Tensor2< T, Dim, Dim > Vec
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
PetscErrorCode KspRhs(KSP ksp, Vec f, void *ctx)
Run over elements in the lists.
std::deque< BasicMethodPtr > BasicMethodsSequence
PetscErrorCode KspMat(KSP ksp, Mat A, Mat B, void *ctx)
Run over elenents in the list.
std::deque< PairNameFEMethodPtr > FEMethodsSequence
DeprecatedCoreInterface Interface
Deprecated interface functions.
Interface for linear (KSP) solver.
FEMethodsSequence loops_to_do_Rhs
BasicMethodsSequence & get_postProcess_to_do_Rhs()
BasicMethodsSequence & get_preProcess_to_do_Rhs()
PetscLogEvent MOFEM_EVENT_KspRhs
BasicMethodsSequence preProcess_Rhs
KspCtx(MoFEM::Interface &m_field, const std::string &_problem_name)
BasicMethodsSequence postProcess_Rhs
virtual ~KspCtx()=default
BasicMethodsSequence postProcess_Mat
friend PetscErrorCode KspRhs(KSP ksp, Vec f, void *ctx)
Run over elements in the lists.
MoFEM::PairNameFEMethodPtr PairNameFEMethodPtr
BasicMethodsSequence & get_preProcess_to_do_Mat()
boost::movelib::unique_ptr< bool > matAssembleSwitch
PetscLogEvent MOFEM_EVENT_KspMat
MoFEMErrorCode clearLoops()
Clear loops.
BasicMethodsSequence & get_postProcess_to_do_Mat()
BasicMethodsSequence preProcess_Mat
FEMethodsSequence & get_loops_to_do_Mat()
MoFEM::BasicMethodsSequence BasicMethodsSequence
MoFEM::FEMethodsSequence FEMethodsSequence
MoFEM::Interface & mField
MoFEMTypes bH
If set to MF_EXIST check if element exist.
std::string problemName
Problem name.
friend PetscErrorCode KspMat(KSP ksp, Mat A, Mat B, void *ctx)
Run over elenents in the list.
FEMethodsSequence & get_loops_to_do_Rhs()
boost::movelib::unique_ptr< bool > vecAssembleSwitch
FEMethodsSequence loops_to_do_Mat