#include <NOX_Multiphysics_Group.H>
Inheritance diagram for NOX::Multiphysics::Group:
Public Member Functions | |
| Group (const Teuchos::RefCountPtr< vector< Teuchos::RefCountPtr< NOX::Solver::Manager > > > &solvers, const Teuchos::RefCountPtr< NOX::StatusTest::Generic > &t, const Teuchos::RefCountPtr< Teuchos::ParameterList > &p) | |
| Constructor. | |
| Group (const Group &grp, NOX::CopyType typ) | |
| Constructor. | |
| virtual | ~Group () |
| Destructor. | |
| virtual NOX::Abstract::Group & | operator= (const NOX::Abstract::Group &source) |
| Copies the source group into this group. | |
| virtual NOX::Abstract::Group & | operator= (const NOX::Multiphysics::Group &source) |
"Compute" functions. | |
| virtual void | setX (const NOX::Abstract::Vector &y) |
| Set the solution vector x to y. | |
| virtual void | computeX (const NOX::Abstract::Group &grp, const NOX::Abstract::Vector &d, double step) |
| Compute x = grp.x + step * d. | |
| virtual NOX::Abstract::Group::ReturnType | computeF () |
| Compute and store F(x). | |
"Is" functions. | |
| virtual bool | isF () const |
| Return true if F is valid. | |
"Get" functions. | |
| virtual const NOX::Abstract::Vector & | getX () const |
| Return solution vector. | |
| virtual const NOX::Abstract::Vector & | getF () const |
| Return F(x). | |
| virtual double | getNormF () const |
| Return 2-norm of F(x). | |
| virtual const NOX::Abstract::Vector & | getGradient () const |
| Return gradient. | |
| virtual const NOX::Abstract::Vector & | getNewton () const |
| Return Newton direction. | |
Creating new Groups. | |
Note that these function do not check whether or not the vectors are valid. Must use the "Is" functions for that purpose. | |
| virtual Teuchos::RefCountPtr< NOX::Abstract::Group > | clone (NOX::CopyType type=NOX::DeepCopy) const |
| Create a new Group of the same derived type as this one by cloning this one, and return a ref count pointer to the new group. | |
Protected Member Functions | |
| virtual void | resetIsValid () |
| resets the isValid flags to false | |
Protected Attributes | |
|
Teuchos::RefCountPtr< vector< Teuchos::RefCountPtr< NOX::Solver::Manager > > > | solversVecPtr |
| Pointer to the container of solvers for each problem to be coupled. | |
IsValid flags | |
True if the current solution is up-to-date with respect to the currect xVector. | |
| bool | isValidRHS |
| double | normRHS |
| 2-Norm of RHS | |
This class is a member of the namespace NOX::Abstract.
The user should implement their own concrete implementation of this class or use one of the implementations provided by us. Typically the implementation is also tied to a particular NOX::Abstract::Vector implementation.
|
||||||||||||||||
|
Constructor.
|
|
|
Create a new Group of the same derived type as this one by cloning this one, and return a ref count pointer to the new group. If type is NOX::DeepCopy, then we need to create an exact replica of "this". Otherwise, if type is NOX::ShapeCopy, we need only replicate the shape of "this" (only the memory is allocated, the values are not copied into the vectors and Jacobian). Returns NULL if clone is not supported.
Implements NOX::Abstract::Group. |
|
|
Compute and store F(x).
Implements NOX::Abstract::Group. |
|
||||||||||||||||
|
Compute x = grp.x + step * d.
Let
Implements NOX::Abstract::Group. |
|
|
Return 2-norm of F(x). In other words,
Implements NOX::Abstract::Group. |
|
|
Copies the source group into this group.
Implements NOX::Abstract::Group. |
|
|
Set the solution vector x to y.
Implements NOX::Abstract::Group. |
1.3.9.1