MultiscaleAlgorithm - The Multiscale Algorithm Interface.
More...
#include <MultiscaleAlgorithm.hpp>
|
| virtual void | setupData (const std::string &fileName)=0 |
| | Setup the data of the algorithm using a data file. More...
|
| |
| virtual void | setupAlgorithm () |
| | Setup coupling variables and other quantities of the algorithm. More...
|
| |
| virtual void | subIterate () |
| | Perform sub-iteration on the coupling variables. More...
|
| |
| virtual void | showMe () |
| | Display some information about the algorithm. More...
|
| |
|
| void | save (const UInt &subiterationsNumber, const Real &residual) const |
| | save on a Matlab file the information about the convergence of the algorithm. More...
|
| |
| bool | checkResidual (const UInt &subIT=0) const |
| | Update the residual and check if the tolerance has been satisfied. More...
|
| |
MultiscaleAlgorithm - The Multiscale Algorithm Interface.
- Author
- Cristiano Malossi
- See also
- Full description of the Geometrical Multiscale Framework: [15]
-
Methodology: [12] [13] [14] [2]
-
Applications: [11] [10] [3]
The MultiscaleAlgorithm class provides a general interface between the MultiscaleSolver and the specific Algorithm to solve the problem.
Definition at line 67 of file MultiscaleAlgorithm.hpp.
◆ multiscaleModelMultiscale_Type
◆ multiscaleModelMultiscalePtr_Type
◆ MultiscaleAlgorithm() [1/2]
◆ ~MultiscaleAlgorithm()
◆ MultiscaleAlgorithm() [2/2]
◆ setupData()
| virtual void setupData |
( |
const std::string & |
fileName | ) |
|
|
pure virtual |
◆ setupAlgorithm()
◆ subIterate()
◆ showMe()
◆ computeResidual()
| Real computeResidual |
( |
| ) |
const |
◆ setCommunicator()
◆ setMultiscaleModel()
◆ setSubiterationsMaximumNumber()
| void setSubiterationsMaximumNumber |
( |
const UInt & |
subiterationsMaximumNumber | ) |
|
|
inline |
Set the maximum number of subiterations.
- Parameters
-
| subiterationsMaximumNumber | maximum number of subiterations |
Definition at line 146 of file MultiscaleAlgorithm.hpp.
◆ setTolerance()
| void setTolerance |
( |
const Real & |
tolerance | ) |
|
|
inline |
◆ setAlgorithmName()
Set the algorithm name.
- Parameters
-
| parameterList | teuchos list of parameters |
Definition at line 133 of file MultiscaleAlgorithm.cpp.
◆ setAlgorithmParameters()
◆ type()
◆ multiScaleProblem()
◆ couplingVariables()
Get the coupling variables.
- Returns
- pointer to the coupling variables vector
Definition at line 200 of file MultiscaleAlgorithm.hpp.
◆ couplingResiduals()
Get the coupling residuals.
- Returns
- pointer to the coupling residuals vector
Definition at line 209 of file MultiscaleAlgorithm.hpp.
◆ communicator()
◆ subiterationsMaximumNumber()
| const UInt& subiterationsMaximumNumber |
( |
| ) |
const |
|
inline |
Get the subiterations maximum number.
- Returns
- maximum number of subiterations
Definition at line 227 of file MultiscaleAlgorithm.hpp.
◆ tolerance()
| const Real& tolerance |
( |
| ) |
const |
|
inline |
◆ save()
| void save |
( |
const UInt & |
subiterationsNumber, |
|
|
const Real & |
residual |
|
) |
| const |
|
protected |
save on a Matlab file the information about the convergence of the algorithm.
- Parameters
-
| subiterationsNumber | Number of subiterations performed. |
| computeResidual | computeResidual. |
Definition at line 149 of file MultiscaleAlgorithm.cpp.
◆ checkResidual()
| bool checkResidual |
( |
const UInt & |
subIT = 0 | ) |
const |
|
protected |
Update the residual and check if the tolerance has been satisfied.
- Parameters
-
| subIT | subiteration number (for output purpose) |
- Returns
- true if the tolerance is satisfied
Definition at line 179 of file MultiscaleAlgorithm.cpp.
◆ operator=()
◆ M_type
◆ M_name
◆ M_multiscale
◆ M_couplingVariables
◆ M_couplingResiduals
◆ M_comm
◆ M_subiterationsMaximumNumber
| UInt M_subiterationsMaximumNumber |
|
protected |
◆ M_tolerance
The documentation for this class was generated from the following files: