#include <NOX_Epetra_SharedOperator.H>
Collaboration diagram for NOX::Epetra::SharedOperator:
Public Member Functions | |
| SharedOperator (Epetra_Operator &m) | |
| Constructor. | |
| ~SharedOperator () | |
| Destructor. | |
| Epetra_Operator & | getOperator (const Group *newowner) |
| Get a non-const reference to the underlying matrix (an epetra operator). | |
| const Epetra_Operator & | getOperator () const |
| Return a const reference to the Jacobian. | |
| bool | isOwner (const Group *grp) const |
| Return true if grp is the owner of the Jacobian. | |
| bool | setOperator (Epetra_Operator &m) |
| RPP: This is a hack that is needed to get MPSalsa running. I will remove this when the Epetra_Vbr is fixed to get a matrix "View" with Aztec2Petra. Essentially, this function allows the underlying Epetra_Operator to be changed. We need this if the operator is destroyed and a new one is created during the NOX::Epetra::Interface::computeJacobian() call. | |
Protected Attributes | |
| Epetra_Operator * | matrix |
| Pointer to Epetra Jacobian matrix. | |
| const Group * | owner |
| Pointer to const group that owns Jacobian. | |
Due to the size of certain operators (i.e. the Jacobian and Preconditioning Matrices), we cannot afford to have multiple copies. Instead we implement a shared operator class that that all groups use.
1.3.9.1