10 #ifndef MUELU_SHIFTEDLAPLACIAN_DECL_HPP
11 #define MUELU_SHIFTEDLAPLACIAN_DECL_HPP
17 #include <Xpetra_TpetraMultiVector.hpp>
23 #if defined(HAVE_MUELU_IFPACK2)
40 #include <MueLu_ShiftedLaplacianOperator.hpp>
49 #ifdef HAVE_MUELU_TPETRA_INST_INT_INT
50 #include <BelosConfigDefs.hpp>
51 #include <BelosLinearProblem.hpp>
52 #include <BelosSolverFactory.hpp>
53 #include <BelosTpetraAdapter.hpp>
72 #undef MUELU_SHIFTEDLAPLACIAN_SHORT
78 #ifdef HAVE_MUELU_TPETRA_INST_INT_INT
79 typedef Belos::LinearProblem<SC, TMV, OP> LinearProblem;
80 typedef Belos::SolverManager<SC, TMV, OP> SolverManager;
81 typedef Belos::SolverFactory<SC, TMV, OP> SolverFactory;
260 #ifdef HAVE_MUELU_TPETRA_INST_INT_INT
271 #define MUELU_SHIFTEDLAPLACIAN_SHORT
273 #endif // if defined(HAVE_MUELU_IFPACK2) and defined(HAVE_MUELU_TPETRA)
275 #endif // MUELU_SHIFTEDLAPLACIAN_DECL_HPP
ShiftedLaplacian()
Constructors.
Tpetra::CombineMode schwarz_combinemode_
RCP< SmootherFactory > coarsestSmooFact_
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::MultiVector< SC, LO, GO, NO > TMV
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
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_
RCP< SmootherFactory > smooFact_
double ilu_diagpivotthresh_
RCP< CoalesceDropFactory > Dropfact_
void resetLinearProblem()
std::string schwarz_ordermethod_
void setParameters(Teuchos::RCP< Teuchos::ParameterList > paramList)
Teuchos::ParameterList precList_
Tpetra::Operator< SC, LO, GO, NO > OP
Teuchos::ScalarTraits< Scalar >::magnitudeType GetResidual()
RCP< SmootherPrototype > smooProto_
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
void setLevelShifts(std::vector< Scalar > levelshifts)
Tpetra::Vector< SC, LO, GO, NO > TVEC
RCP< PgPFactory > PgPfact_
RCP< MultiVector > Coords_
virtual ~ShiftedLaplacian()
Teuchos::ParameterList coarsestSmooList_
void setcoords(RCP< MultiVector > &Coords)
RCP< GenericRFactory > Rfact_
RCP< MultiVector > NullSpace_
RCP< UncoupledAggregationFactory > UCaggfact_
RCP< RAPFactory > Acfact_
int solve(const RCP< TMV > B, RCP< TMV > &X)
Base class for MueLu classes.
RCP< SmootherPrototype > coarsestSmooProto_
RCP< Hierarchy > Hierarchy_
void setProblemMatrix(RCP< Matrix > &A)
void setstiff(RCP< Matrix > &K)
RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > TpetraA_
int krylov_preconditioner_
RCP< TentativePFactory > TentPfact_
Shifted Laplacian Helmholtz solver.
RCP< MueLu::ShiftedLaplacianOperator< SC, LO, GO, NO > > MueLuOp_
RCP< AmalgamationFactory > Amalgfact_
std::vector< SC > levelshifts_
RCP< FactoryManager > Manager_
void setNullSpace(RCP< MultiVector > NullSpace)
std::string ilu_milutype_
void setPreconditioningMatrix(RCP< Matrix > &P)