|
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 108 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 112 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 113 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 114 of file MueLu_ShiftedLaplacian_decl.hpp.
|
inline |
Constructors.
Definition at line 129 of file MueLu_ShiftedLaplacian_decl.hpp.
|
virtual |
Definition at line 80 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setParameters | ( | Teuchos::RCP< Teuchos::ParameterList > | paramList | ) |
Definition at line 84 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setProblemMatrix | ( | RCP< Matrix > & | A | ) |
Definition at line 125 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 140 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setPreconditioningMatrix | ( | RCP< Matrix > & | P | ) |
Definition at line 151 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 159 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setstiff | ( | RCP< Matrix > & | K | ) |
Definition at line 169 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 176 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setmass | ( | RCP< Matrix > & | M | ) |
Definition at line 185 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 192 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setcoords | ( | RCP< MultiVector > & | Coords | ) |
Definition at line 201 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setNullSpace | ( | RCP< MultiVector > | NullSpace | ) |
Definition at line 208 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setLevelShifts | ( | std::vector< Scalar > | levelshifts | ) |
Definition at line 215 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize | ( | ) |
Definition at line 224 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupFastRAP | ( | ) |
Definition at line 414 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupSlowRAP | ( | ) |
Definition at line 427 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupNormalRAP | ( | ) |
Definition at line 446 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setupSolver | ( | ) |
Definition at line 464 of file MueLu_ShiftedLaplacian_def.hpp.
| void MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::resetLinearProblem | ( | ) |
Definition at line 490 of file MueLu_ShiftedLaplacian_def.hpp.
| int MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::solve | ( | const RCP< TMV > | B, |
| RCP< TMV > & | X | ||
| ) |
Definition at line 501 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 516 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 525 of file MueLu_ShiftedLaplacian_def.hpp.
| int MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetIterations | ( | ) |
Definition at line 538 of file MueLu_ShiftedLaplacian_def.hpp.
| Teuchos::ScalarTraits< Scalar >::magnitudeType MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetResidual | ( | ) |
Definition at line 552 of file MueLu_ShiftedLaplacian_def.hpp.
| RCP<FactoryManager> MueLu::ShiftedLaplacian< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Manager_ |
Definition at line 223 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 229 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 234 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 234 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 234 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 235 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 235 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 238 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 239 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 244 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 246 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 247 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 247 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 247 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 247 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 248 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 255 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 256 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 256 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 256 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 256 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 257 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 257 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.
|
private |
Definition at line 258 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 258 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 258 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 258 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 259 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 260 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 261 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 262 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 265 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 266 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 273 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 273 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 273 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 273 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 274 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 274 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 277 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 280 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 281 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 282 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 283 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 284 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 285 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 286 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 287 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 288 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 289 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 290 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 291 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 292 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 292 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 293 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 293 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 294 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 295 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 296 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 299 of file MueLu_ShiftedLaplacian_decl.hpp.
|
private |
Definition at line 300 of file MueLu_ShiftedLaplacian_decl.hpp.