MueLu
Version of the Day
|
#include <MueLu_ParameterListInterpreter_decl.hpp>
Public Member Functions | |
void | SetParameterList (const Teuchos::ParameterList ¶mList) |
Set parameter list for Parameter list interpreter. More... | |
void | SetupHierarchy (Hierarchy &H) const |
Call the SetupHierarchy routine from the HiearchyManager object. More... | |
![]() | |
HierarchyManager (int numDesiredLevel=MasterList::getDefault< int >("max levels")) | |
virtual | ~HierarchyManager () |
void | AddFactoryManager (int startLevel, int numDesiredLevel, RCP< FactoryManagerBase > manager) |
RCP< FactoryManagerBase > | GetFactoryManager (int levelID) const |
size_t | getNumFactoryManagers () const |
returns number of factory managers stored in levelManagers_ vector. More... | |
void | CheckConfig () |
virtual RCP< Hierarchy > | CreateHierarchy () const |
Create an empty Hierarchy object. More... | |
![]() | |
virtual | ~HierarchyFactory () |
Destructor. More... | |
![]() | |
virtual | ~BaseClass () |
Destructor. More... | |
![]() | |
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... | |
![]() | |
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... | |
Private Types | |
typedef std::pair< std::string, const FactoryBase * > | keep_pair |
Private Member Functions | |
virtual void | SetupOperator (Operator &A) const |
Setup Operator object. More... | |
Private Attributes | |
int | blockSize_ |
block size of matrix (fixed block size) More... | |
CycleType | Cycle_ |
multigrid cycle type (V-cycle or W-cycle) More... | |
GlobalOrdinal | dofOffset_ |
global offset variable describing offset of DOFs in operator More... | |
Constructors/Destructors | |
ParameterListInterpreter (Teuchos::ParameterList ¶mList, Teuchos::RCP< const Teuchos::Comm< int > > comm=Teuchos::null, Teuchos::RCP< FactoryFactory > factFact=Teuchos::null) | |
Constructor that accepts a user-provided ParameterList. More... | |
ParameterListInterpreter (const std::string &xmlFileName, const Teuchos::Comm< int > &comm, Teuchos::RCP< FactoryFactory > factFact=Teuchos::null) | |
Constructor that reads parameters from an XML file. More... | |
virtual | ~ParameterListInterpreter () |
Destructor. More... | |
bool | changedPRrebalance_ |
Easy interpreter stuff. More... | |
bool | changedImplicitTranspose_ |
bool | useCoordinates_ |
void | SetEasyParameterList (const Teuchos::ParameterList ¶mList) |
void | Validate (const Teuchos::ParameterList ¶mList) const |
void | UpdateFactoryManager (Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const |
typedef std::map< std::string, RCP< const FactoryBase > > | FactoryMap |
typedef std::map< std::string, RCP< FactoryManagerBase > > | FactoryManagerMap |
Teuchos::RCP< FactoryFactory > | factFact_ |
Internal factory for factories. More... | |
void | SetFactoryParameterList (const Teuchos::ParameterList ¶mList) |
Factory interpreter stuff. More... | |
void | BuildFactoryMap (const Teuchos::ParameterList ¶mList, const FactoryMap &factoryMapIn, FactoryMap &factoryMapOut, FactoryManagerMap &factoryManagers) const |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, RCP< const FactoryBase > > | FactoryMap |
![]() | |
static void | SetDefaultOStream (const Teuchos::RCP< Teuchos::FancyOStream > &defaultOStream) |
static Teuchos::RCP< Teuchos::FancyOStream > | GetDefaultOStream () |
static void | SetDefaultVerbLevel (const VerbLevel defaultVerbLevel) |
Set the default (global) verbosity level. More... | |
static VerbLevel | GetDefaultVerbLevel () |
Get the default (global) verbosity level. More... | |
![]() | |
virtual void | SetupExtra (Hierarchy &H) const |
Setup extra data. More... | |
Teuchos::RCP< FactoryManagerBase > | LvlMngr (int levelID, int lastLevelID) const |
![]() | |
int | numDesiredLevel_ |
Xpetra::global_size_t | maxCoarseSize_ |
MsgType | verbosity_ |
bool | doPRrebalance_ |
bool | implicitTranspose_ |
int | graphOutputLevel_ |
Teuchos::Array< int > | matricesToPrint_ |
Teuchos::Array< int > | prolongatorsToPrint_ |
Teuchos::Array< int > | restrictorsToPrint_ |
std::map< int, std::vector< keep_pair > > | keep_ |
Definition at line 101 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Definition at line 105 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Definition at line 195 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Definition at line 196 of file MueLu_ParameterListInterpreter_decl.hpp.
MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ParameterListInterpreter | ( | Teuchos::ParameterList & | paramList, |
Teuchos::RCP< const Teuchos::Comm< int > > | comm = Teuchos::null , |
||
Teuchos::RCP< FactoryFactory > | factFact = Teuchos::null |
||
) |
Constructor that accepts a user-provided ParameterList.
Constructor for parameter list interpreter which directly interprets Teuchos::ParameterLists
The parameter list can be either in the easy parameter list format or in the factory driven parameter list format.
[in] | paramList | (Teuchos::ParameterList): ParameterList containing the MueLu parameters |
[in] | comm | (RCP<Teuchos::Comm<int> >): Optional RCP of a Teuchos communicator (default: Teuchos::null) |
[in] | factFact | (RCP<FactoryFactory>): Optional parameter allowing to define user-specific factory interpreters for user-specific extensions of the XML interface. (default: Teuchos::null) |
MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ParameterListInterpreter | ( | const std::string & | xmlFileName, |
const Teuchos::Comm< int > & | comm, | ||
Teuchos::RCP< FactoryFactory > | factFact = Teuchos::null |
||
) |
Constructor that reads parameters from an XML file.
XML options are converted to ParameterList entries by Teuchos.
[in] | xmlFileName | (std::string): XML file to read |
[in] | comm | (Teuchos::Comm<int>): Teuchos communicator |
[in] | factFact | (RCP<FactoryFactory>): Optional parameter allowing to define user-specific factory interpreters for user-specific extensions of the XML interface. (default: Teuchos::null) |
Definition at line 139 of file MueLu_ParameterListInterpreter_def.hpp.
|
inlinevirtual |
Destructor.
Definition at line 136 of file MueLu_ParameterListInterpreter_decl.hpp.
void MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetParameterList | ( | const Teuchos::ParameterList & | paramList | ) |
Set parameter list for Parameter list interpreter.
The routine checks whether it is a parameter list in the easy parameter format or the more advanced factory-based parameter format and calls the corresponding interpreter routine.
When finished, the parameter list is set that will used by the hierarchy build phase.
This method includes validation and some pre-parsing of the list for:
[in] | paramList | ParameterList containing the MueLu parameters. |
Definition at line 146 of file MueLu_ParameterListInterpreter_def.hpp.
|
virtual |
Call the SetupHierarchy routine from the HiearchyManager object.
Reimplemented from MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 1419 of file MueLu_ParameterListInterpreter_def.hpp.
|
privatevirtual |
Setup Operator object.
Reimplemented from MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 1404 of file MueLu_ParameterListInterpreter_def.hpp.
|
private |
Definition at line 216 of file MueLu_ParameterListInterpreter_def.hpp.
|
private |
Definition at line 1104 of file MueLu_ParameterListInterpreter_def.hpp.
|
private |
Definition at line 395 of file MueLu_ParameterListInterpreter_def.hpp.
|
private |
Factory interpreter stuff.
Definition at line 1182 of file MueLu_ParameterListInterpreter_def.hpp.
|
private |
Definition at line 1358 of file MueLu_ParameterListInterpreter_def.hpp.
|
private |
block size of matrix (fixed block size)
Definition at line 165 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
multigrid cycle type (V-cycle or W-cycle)
Definition at line 166 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
global offset variable describing offset of DOFs in operator
Definition at line 167 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Easy interpreter stuff.
Definition at line 172 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Definition at line 173 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Definition at line 181 of file MueLu_ParameterListInterpreter_decl.hpp.
|
private |
Internal factory for factories.
Definition at line 201 of file MueLu_ParameterListInterpreter_decl.hpp.