Go to the documentation of this file.
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
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;
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
RCP< TransPFactory > TransPfact_
RCP< FactoryManager > Manager_
Teuchos::ParameterList precList_
Shifted Laplacian Helmholtz solver.
RCP< MultiVector > NullSpace_
RCP< CoalesceDropFactory > Dropfact_
void setParameters(Teuchos::RCP< Teuchos::ParameterList > paramList)
void resetLinearProblem()
void setPreconditioningMatrix(RCP< Matrix > &P)
std::string ilu_milutype_
Namespace for MueLu classes and methods.
Tpetra::CombineMode schwarz_combinemode_
RCP< SmootherFactory > coarsestSmooFact_
RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > TpetraA_
void setLevelShifts(std::vector< Scalar > levelshifts)
RCP< SmootherPrototype > smooProto_
RCP< PgPFactory > PgPfact_
RCP< RAPFactory > Acfact_
Base class for MueLu classes.
void multigrid_apply(const RCP< MultiVector > B, RCP< MultiVector > &X)
RCP< MultiVector > Coords_
void setNullSpace(RCP< MultiVector > NullSpace)
Tpetra::MultiVector< SC, LO, GO, NO > TMV
RCP< TentativePFactory > TentPfact_
Teuchos::ParameterList coarsestSmooList_
RCP< CoarseMapFactory > CoarseMapfact_
void setcoords(RCP< MultiVector > &Coords)
double ilu_diagpivotthresh_
Tpetra::Operator< SC, LO, GO, NO > OP
RCP< GenericRFactory > Rfact_
RCP< RAPShiftFactory > Acshift_
std::string schwarz_ordermethod_
RCP< SmootherPrototype > coarsestSmooProto_
void setProblemMatrix(RCP< Matrix > &A)
int krylov_preconditioner_
Tpetra::Vector< SC, LO, GO, NO > TVEC
RCP< MueLu::ShiftedLaplacianOperator< SC, LO, GO, NO > > MueLuOp_
RCP< SmootherFactory > smooFact_
ShiftedLaplacian()
Constructors.
RCP< UncoupledAggregationFactory > UCaggfact_
LocalOrdinal local_ordinal_type
RCP< Hierarchy > Hierarchy_
GlobalOrdinal global_ordinal_type
std::vector< SC > levelshifts_
std::string ilu_normtype_
virtual ~ShiftedLaplacian()
RCP< CoupledAggregationFactory > Aggfact_
void setstiff(RCP< Matrix > &K)
std::string ilu_drop_rule_
void setmass(RCP< Matrix > &M)
int solve(const RCP< TMV > B, RCP< TMV > &X)