1#ifndef MinPrecProblem_DEF_hpp
2#define MinPrecProblem_DEF_hpp
4#include "feddlib/problems/Solver/Preconditioner.hpp"
16template<
class SC,
class LO,
class GO,
class NO>
17MinPrecProblem<SC,LO,GO,NO>::MinPrecProblem(ParameterListPtr_Type pl, CommConstPtr_Type comm):
23template<
class SC,
class LO,
class GO,
class NO>
24MinPrecProblem<SC,LO,GO,NO>::MinPrecProblem(ParameterListPtr_Type pl, CommConstPtr_Type comm, PreconditionerPtr_Type prec):
25Problem<SC,LO,GO,NO>(pl, comm)
27 if(!prec->getVelocityMassMatrix().is_null()){
28 this->preconditioner_->setVelocityMassMatrix(prec->getVelocityMassMatrix());
31 if(!prec->getPressureLaplaceMatrix().is_null()){
32 this->preconditioner_->setPressureLaplaceMatrix(prec->getPressureLaplaceMatrix());
34 if(!prec->getPressureMassMatrix().is_null()){
35 this->preconditioner_->setPressureMassMatrix(prec->getPressureMassMatrix());
38 if(!prec->getPCDOperatorMatrix().is_null()){
39 this->preconditioner_->setPCDOperator(prec->getPCDOperatorMatrix());
45template<
class SC,
class LO,
class GO,
class NO>
46MinPrecProblem<SC,LO,GO,NO>::~MinPrecProblem( )
51template<
class SC,
class LO,
class GO,
class NO>
52void MinPrecProblem<SC,LO,GO,NO>::initializeSystem(BlockMatrixPtr_Type system){
53 this->system_ = system;
56template<
class SC,
class LO,
class GO,
class NO>
57void MinPrecProblem<SC,LO,GO,NO>::initializeDomains(DomainConstPtr_vec_Type& domainPtr_vec){
58 this->domainPtr_vec_ = domainPtr_vec;
60template<
class SC,
class LO,
class GO,
class NO>
61void MinPrecProblem<SC,LO,GO,NO>::initializeLinSolverBuilder(LinSolverBuilderPtr_Type linearSolverBuilder){
62 this->linearSolverBuilder_ = linearSolverBuilder;
Definition Problem_decl.hpp:42
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement_decl.hpp:36