46 #ifndef MUELU_SHIFTEDLAPLACIAN_DECL_HPP 47 #define MUELU_SHIFTEDLAPLACIAN_DECL_HPP 59 #if defined(HAVE_MUELU_IFPACK2) and defined(HAVE_MUELU_TPETRA) 76 #include <MueLu_ShiftedLaplacianOperator.hpp> 85 #ifdef HAVE_MUELU_TPETRA_INST_INT_INT 86 #include <BelosConfigDefs.hpp> 87 #include <BelosLinearProblem.hpp> 88 #include <BelosSolverFactory.hpp> 89 #include <BelosTpetraAdapter.hpp> 103 template <class Scalar = Xpetra::Matrix<>::scalar_type,
108 #undef MUELU_SHIFTEDLAPLACIAN_SHORT 111 typedef Tpetra::Vector<SC,LO,GO,NO>
TVEC;
112 typedef Tpetra::MultiVector<SC,LO,GO,NO>
TMV;
113 typedef Tpetra::Operator<SC,LO,GO,NO>
OP;
114 #ifdef HAVE_MUELU_TPETRA_INST_INT_INT 115 typedef Belos::LinearProblem<SC,TMV,OP> LinearProblem;
116 typedef Belos::SolverManager<SC,TMV,OP> SolverManager;
117 typedef Belos::SolverFactory<SC,TMV,OP> SolverFactory;
185 void setstiff(
RCP< Tpetra::CrsMatrix<SC,LO,GO,NO> >& TpetraK);
187 void setmass(
RCP< Tpetra::CrsMatrix<SC,LO,GO,NO> >& TpetraM);
218 RCP<Tpetra::MultiVector<SC,LO,GO,NO> >& X);
300 #ifdef HAVE_MUELU_TPETRA_INST_INT_INT 312 #define MUELU_SHIFTEDLAPLACIAN_SHORT 314 #endif //if defined(HAVE_MUELU_IFPACK2) and defined(HAVE_MUELU_TPETRA) 316 #endif // MUELU_SHIFTEDLAPLACIAN_DECL_HPP
ShiftedLaplacian()
Constructors.
Tpetra::CombineMode schwarz_combinemode_
RCP< SmootherFactory > coarsestSmooFact_
std::string ilu_normtype_
RCP< TransPFactory > TransPfact_
void multigrid_apply(const RCP< MultiVector > B, RCP< MultiVector > &X)
RCP< RAPShiftFactory > Acshift_
void setmass(RCP< Matrix > &M)
std::string ilu_drop_rule_
RCP< CoarseMapFactory > CoarseMapfact_
LocalOrdinal local_ordinal_type
RCP< SmootherFactory > smooFact_
Namespace for MueLu classes and methods.
double ilu_diagpivotthresh_
RCP< CoalesceDropFactory > Dropfact_
void resetLinearProblem()
std::string schwarz_ordermethod_
void setParameters(Teuchos::RCP< Teuchos::ParameterList > paramList)
Teuchos::ParameterList precList_
Tpetra::MultiVector< SC, LO, GO, NO > TMV
RCP< SmootherPrototype > smooProto_
void setLevelShifts(std::vector< Scalar > levelshifts)
RCP< PgPFactory > PgPfact_
RCP< MultiVector > Coords_
virtual ~ShiftedLaplacian()
RCP< MueLu::ShiftedLaplacianOperator< SC, LO, GO, NO > > MueLuOp_
Teuchos::ParameterList coarsestSmooList_
void setcoords(RCP< MultiVector > &Coords)
RCP< GenericRFactory > Rfact_
RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > TpetraA_
RCP< MultiVector > NullSpace_
RCP< UncoupledAggregationFactory > UCaggfact_
Tpetra::Operator< SC, LO, GO, NO > OP
RCP< RAPFactory > Acfact_
int solve(const RCP< TMV > B, RCP< TMV > &X)
Base class for MueLu classes.
RCP< SmootherPrototype > coarsestSmooProto_
RCP< Hierarchy > Hierarchy_
RCP< CoupledAggregationFactory > Aggfact_
Tpetra::Vector< SC, LO, GO, NO > TVEC
void setProblemMatrix(RCP< Matrix > &A)
void setstiff(RCP< Matrix > &K)
int krylov_preconditioner_
RCP< TentativePFactory > TentPfact_
Shifted Laplacian Helmholtz solver.
std::vector< SC > levelshifts_
RCP< FactoryManager > Manager_
void setNullSpace(RCP< MultiVector > NullSpace)
std::string ilu_milutype_
void setPreconditioningMatrix(RCP< Matrix > &P)
GlobalOrdinal global_ordinal_type