|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <AlgorithmA.hpp>

Public Member Functions | |
| AlgorithmA () | |
| void | setParameterList (Teuchos::RCP< Teuchos::ParameterList > const ¶mList) |
| Set parameters from a parameter list and return with default values. More... | |
| Teuchos::RCP< Teuchos::ParameterList > | getNonconstParameterList () |
Get the parameter list that was set using setParameterList(). More... | |
| Teuchos::RCP< Teuchos::ParameterList > | unsetParameterList () |
Unset the parameter list that was set using setParameterList(). More... | |
| Teuchos::RCP< const Teuchos::ParameterList > | getParameterList () const |
Get const version of the parameter list that was set using setParameterList(). More... | |
| Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
Return a const parameter list of all of the valid parameters that this->setParameterList(...) will accept. More... | |
| void | doAlgorithm () |
Public Member Functions inherited from Teuchos::VerboseObject< AlgorithmA > | |
| VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) | |
Constructor: calls initializeVerboseObject(). More... | |
| virtual void | initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) |
| Initialize the VerboseObject. More... | |
| virtual const VerboseObject & | setVerbLevel (const EVerbosityLevel verbLevel) const |
| Set this object's verbosity level. More... | |
| virtual const VerboseObject & | setOverridingVerbLevel (const EVerbosityLevel verbLevel) const |
Set the overriding verbosity level for *this object. More... | |
| virtual EVerbosityLevel | getVerbLevel () const |
| Get the verbosity level. More... | |
Public Member Functions inherited from Teuchos::VerboseObjectBase | |
| virtual | ~VerboseObjectBase () |
| VerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null) | |
Calls initializeVerboseObject(). More... | |
| virtual void | initializeVerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null) |
Calls initializeVerboseObject(). More... | |
| virtual const VerboseObjectBase & | setOStream (const RCP< FancyOStream > &oStream) const |
The output stream for *this object. More... | |
| virtual const VerboseObjectBase & | setOverridingOStream (const RCP< FancyOStream > &oStream) const |
Set the overriding the output stream for *this object. More... | |
| virtual VerboseObjectBase & | setLinePrefix (const std::string &linePrefix) |
| Set line prefix name for this object. More... | |
| virtual RCP< FancyOStream > | getOStream () const |
Return the output stream to be used for out for *this object. More... | |
| virtual RCP< FancyOStream > | getOverridingOStream () const |
| Return the the overriding output stream if set. More... | |
| virtual std::string | getLinePrefix () const |
| Get the line prefix for this object. More... | |
| virtual OSTab | getOSTab (const int tabs=1, const std::string &linePrefix="") const |
| Create a tab object which sets the number of tabs and optionally the line prefix. More... | |
Public Member Functions inherited from Teuchos::ParameterListAcceptor | |
| virtual | ~ParameterListAcceptor () |
| virtual RCP< const DependencySheet > | getDependencies () const |
Rreturn a const Dependency Sheet of all the dependencies that should be applied to the parameter list return by this->getValidParameters(). More... | |
Private Types |
Static Private Member Functions | |
| static const std::string | toString (AlgorithmA::EAlgoType algoType) |
Private Attributes | |
| Teuchos::RCP< Teuchos::ParameterList > | paramList_ |
| EAlgoType | algoType_ |
| double | algoTol_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Teuchos::VerboseObject< AlgorithmA > | |
| static void | setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel) |
| Set the default verbosity level. More... | |
| static EVerbosityLevel | getDefaultVerbLevel () |
| Get the default verbosity level. More... | |
Static Public Member Functions inherited from Teuchos::VerboseObjectBase | |
| static void | setDefaultOStream (const RCP< FancyOStream > &defaultOStream) |
| Set the default output stream object. More... | |
| static RCP< FancyOStream > | getDefaultOStream () |
| Get the default output stream object. More... | |
Protected Member Functions inherited from Teuchos::VerboseObjectBase | |
| virtual void | informUpdatedVerbosityState () const |
| Function that is called whenever the verbosity state is updated. More... | |
Definition at line 64 of file AlgorithmA.hpp.
|
private |
| Enumerator | |
|---|---|
| ALGO_BOB | |
| ALGO_JOHN | |
| ALGO_HARRY | |
Definition at line 92 of file AlgorithmA.hpp.
| AlgorithmA::AlgorithmA | ( | ) |
Definition at line 109 of file AlgorithmA.cpp.
|
virtual |
Set parameters from a parameter list and return with default values.
| paramList | [in] On input contains the parameters set by the client. Note that *paramList may have parameters set to their default values added while the list is being parsed either right away or later. |
Preconditions:
paramList.get() != NULL Postconditions:
this->getParameterList().get() == paramList.get() This is parameter list is "remembered" by *this object until it is unset using unsetParameterList().
Note: When this parameter list is passed in it is assumed that the client has finished setting all of the values that they want to set so that the list is completely ready to read (and be validated) by *this object. If the client is to change this parameter list by adding new options or changing the value of current options, the behavior of *this object is undefined. This is because, the object may read the options from *paramList right away or may wait to read some options until a later time. There should be no expectation that if an option is changed by the client that this will automatically be recognized by *this object. To change even one parameter, this function must be called again, with the entire sublist.
Implements Teuchos::ParameterListAcceptor.
Definition at line 116 of file AlgorithmA.cpp.
|
virtual |
Get the parameter list that was set using setParameterList().
Implements Teuchos::ParameterListAcceptor.
Definition at line 148 of file AlgorithmA.cpp.
|
virtual |
Unset the parameter list that was set using setParameterList().
This just means that the parameter list that was set using setParameterList() is detached from this object. This does not mean that the effect of the parameters is undone.
Postconditions:
this->getParameterList().get() == NULL Implements Teuchos::ParameterListAcceptor.
Definition at line 155 of file AlgorithmA.cpp.
|
virtual |
Get const version of the parameter list that was set using setParameterList().
The default implementation returns:
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 164 of file AlgorithmA.cpp.
|
virtual |
Return a const parameter list of all of the valid parameters that this->setParameterList(...) will accept.
The default implementation returns Teuchos::null.
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 171 of file AlgorithmA.cpp.
| void AlgorithmA::doAlgorithm | ( | ) |
Definition at line 199 of file AlgorithmA.cpp.
|
staticprivate |
Definition at line 97 of file AlgorithmA.cpp.
|
private |
Definition at line 96 of file AlgorithmA.hpp.
|
private |
Definition at line 97 of file AlgorithmA.hpp.
|
private |
Definition at line 98 of file AlgorithmA.hpp.
1.8.11