MueLu
Version of the Day
|
Shifted Laplacian Helmholtz solver. More...
#include <MueLu_ShiftedLaplacian_decl.hpp>
Public Member Functions | |
ShiftedLaplacian () | |
Constructors. More... | |
virtual | ~ShiftedLaplacian () |
void | setParameters (Teuchos::RCP< Teuchos::ParameterList > paramList) |
void | setProblemMatrix (RCP< Matrix > &A) |
void | setProblemMatrix (RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > &TpetraA) |
void | setPreconditioningMatrix (RCP< Matrix > &P) |
void | setPreconditioningMatrix (RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > &TpetraP) |
void | setstiff (RCP< Matrix > &K) |
void | setstiff (RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > &TpetraK) |
void | setmass (RCP< Matrix > &M) |
void | setmass (RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > &TpetraM) |
void | setcoords (RCP< MultiVector > &Coords) |
void | setNullSpace (RCP< MultiVector > NullSpace) |
void | setLevelShifts (std::vector< Scalar > levelshifts) |
void | initialize () |
void | setupFastRAP () |
void | setupSlowRAP () |
void | setupNormalRAP () |
void | setupSolver () |
void | resetLinearProblem () |
int | solve (const RCP< TMV > B, RCP< TMV > &X) |
void | multigrid_apply (const RCP< MultiVector > B, RCP< MultiVector > &X) |
void | multigrid_apply (const RCP< Tpetra::MultiVector< SC, LO, GO, NO > > B, RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &X) |
int | GetIterations () |
Teuchos::ScalarTraits< Scalar > ::magnitudeType | GetResidual () |
Public Member Functions inherited from MueLu::BaseClass | |
virtual | ~BaseClass () |
Destructor. More... | |
Public Member Functions inherited from MueLu::VerboseObject | |
VerbLevel | GetVerbLevel () const |
Get the verbosity level. More... | |
void | SetVerbLevel (const VerbLevel verbLevel) |
Set the verbosity level of this object. More... | |
int | GetProcRankVerbose () const |
Get proc rank used for printing. Do not use this information for any other purpose. More... | |
int | SetProcRankVerbose (int procRank) const |
Set proc rank used for printing. More... | |
bool | IsPrint (MsgType type, int thisProcRankOnly=-1) const |
Find out whether we need to print out information for a specific message type. More... | |
Teuchos::FancyOStream & | GetOStream (MsgType type, int thisProcRankOnly=0) const |
Get an output stream for outputting the input message type. More... | |
Teuchos::FancyOStream & | GetBlackHole () const |
VerboseObject () | |
virtual | ~VerboseObject () |
Destructor. More... | |
Public Member Functions inherited from Teuchos::VerboseObject< VerboseObject > | |
VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) | |
virtual const VerboseObject & | setVerbLevel (const EVerbosityLevel verbLevel) const |
virtual const VerboseObject & | setOverridingVerbLevel (const EVerbosityLevel verbLevel) const |
virtual EVerbosityLevel | getVerbLevel () const |
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP< const ParameterList > | getValidVerboseObjectSublist () |
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void | setupVerboseObjectSublist (ParameterList *paramList) |
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void | readVerboseObjectSublist (ParameterList *paramList, RCP< FancyOStream > *oStream, EVerbosityLevel *verbLevel) |
void | readVerboseObjectSublist (ParameterList *paramList, VerboseObject< ObjectType > *verboseObject) |
Public Member Functions inherited from Teuchos::VerboseObjectBase | |
virtual | ~VerboseObjectBase () |
VerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null) | |
virtual const VerboseObjectBase & | setOStream (const RCP< FancyOStream > &oStream) const |
virtual const VerboseObjectBase & | setOverridingOStream (const RCP< FancyOStream > &oStream) const |
virtual VerboseObjectBase & | setLinePrefix (const std::string &linePrefix) |
virtual RCP< FancyOStream > | getOStream () const |
virtual RCP< FancyOStream > | getOverridingOStream () const |
virtual std::string | getLinePrefix () const |
virtual OSTab | getOSTab (const int tabs=1, const std::string &linePrefix="") const |
Public Member Functions inherited from MueLu::Describable | |
virtual | ~Describable () |
Destructor. More... | |
virtual std::string | ShortClassName () const |
Return the class name of the object, without template parameters and without namespace. More... | |
virtual void | describe (Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const |
virtual std::string | description () const |
Return a simple one-line description of this object. More... | |
void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
Print the object with some verbosity level to an FancyOStream object. More... | |
Public Member Functions inherited from Teuchos::Describable | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
LabeledObject () | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
virtual std::string | getObjectLabel () const |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Public Attributes | |
RCP< FactoryManager > | Manager_ |
Private Types | |
typedef Tpetra::Vector< SC, LO, GO, NO > | TVEC |
typedef Tpetra::MultiVector < SC, LO, GO, NO > | TMV |
typedef Tpetra::Operator< SC, LO, GO, NO > | OP |
Additional Inherited Members | |
Static Public Member Functions inherited from MueLu::VerboseObject | |
static void | SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream) |
static void | SetMueLuOFileStream (const std::string &filename) |
static Teuchos::RCP < Teuchos::FancyOStream > | GetMueLuOStream () |
static void | SetDefaultVerbLevel (const VerbLevel defaultVerbLevel) |
Set the default (global) verbosity level. More... | |
static VerbLevel | GetDefaultVerbLevel () |
Get the default (global) verbosity level. More... | |
Static Public Member Functions inherited from Teuchos::VerboseObject< VerboseObject > | |
static void | setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel) |
static EVerbosityLevel | getDefaultVerbLevel () |
Static Public Member Functions inherited from Teuchos::VerboseObjectBase | |
static void | setDefaultOStream (const RCP< FancyOStream > &defaultOStream) |
static RCP< FancyOStream > | getDefaultOStream () |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default |
Protected Member Functions inherited from Teuchos::VerboseObject< VerboseObject > | |
void | initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) |
Protected Member Functions inherited from Teuchos::VerboseObjectBase | |
void | initializeVerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null) |
virtual void | informUpdatedVerbosityState () const |
Shifted Laplacian Helmholtz solver.
This class provides a black box solver for indefinite Helmholtz problems. An AMG-Shifted Laplacian is used as a preconditioner for Krylov iterative solvers in Belos.
Definition at line 71 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 75 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 76 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 77 of file MueLu_ShiftedLaplacian_decl.hpp.
|
inline |
Constructors.
Definition at line 91 of file MueLu_ShiftedLaplacian_decl.hpp.
|
virtual |
Definition at line 43 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setParameters | ( | Teuchos::RCP< Teuchos::ParameterList > | paramList | ) |
Definition at line 47 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setProblemMatrix | ( | RCP< Matrix > & | A | ) |
Definition at line 101 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setProblemMatrix | ( | RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > & | TpetraA | ) |
Definition at line 114 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setPreconditioningMatrix | ( | RCP< Matrix > & | P | ) |
Definition at line 123 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setPreconditioningMatrix | ( | RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > & | TpetraP | ) |
Definition at line 129 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setstiff | ( | RCP< Matrix > & | K | ) |
Definition at line 136 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setstiff | ( | RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > & | TpetraK | ) |
Definition at line 141 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setmass | ( | RCP< Matrix > & | M | ) |
Definition at line 147 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setmass | ( | RCP< Tpetra::CrsMatrix< SC, LO, GO, NO > > & | TpetraM | ) |
Definition at line 152 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setcoords | ( | RCP< MultiVector > & | Coords | ) |
Definition at line 158 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setNullSpace | ( | RCP< MultiVector > | NullSpace | ) |
Definition at line 163 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setLevelShifts | ( | std::vector< Scalar > | levelshifts | ) |
Definition at line 168 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize | ( | ) |
Definition at line 175 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupFastRAP | ( | ) |
Definition at line 347 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupSlowRAP | ( | ) |
Definition at line 358 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupNormalRAP | ( | ) |
Definition at line 375 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupSolver | ( | ) |
Definition at line 391 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::resetLinearProblem | ( | ) |
Definition at line 419 of file MueLu_ShiftedLaplacian_def.hpp.
int MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::solve | ( | const RCP< TMV > | B, |
RCP< TMV > & | X | ||
) |
Definition at line 429 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::multigrid_apply | ( | const RCP< MultiVector > | B, |
RCP< MultiVector > & | X | ||
) |
Definition at line 443 of file MueLu_ShiftedLaplacian_def.hpp.
void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::multigrid_apply | ( | const RCP< Tpetra::MultiVector< SC, LO, GO, NO > > | B, |
RCP< Tpetra::MultiVector< SC, LO, GO, NO > > & | X | ||
) |
Definition at line 451 of file MueLu_ShiftedLaplacian_def.hpp.
int MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetIterations | ( | ) |
Definition at line 461 of file MueLu_ShiftedLaplacian_def.hpp.
Teuchos::ScalarTraits< Scalar >::magnitudeType MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetResidual | ( | ) |
Definition at line 474 of file MueLu_ShiftedLaplacian_def.hpp.
RCP<FactoryManager> MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Manager_ |
Definition at line 183 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 188 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 193 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 193 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 193 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 194 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 194 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 197 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 198 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 203 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 203 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 204 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 205 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 205 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 206 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 206 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 206 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 206 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 206 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 207 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 207 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 210 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 211 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 212 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 213 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 214 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 215 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 215 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 215 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 215 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 216 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 216 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 216 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 217 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 217 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 217 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 217 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 217 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 218 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 219 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 220 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 221 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 224 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 225 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 232 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 232 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 232 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 232 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 233 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 233 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 236 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 239 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 240 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 241 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 242 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 243 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 244 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 245 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 246 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 247 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 248 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 249 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 250 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 250 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 251 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 251 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 252 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 253 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 254 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 257 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 258 of file MueLu_ShiftedLaplacian_decl.hpp.