|
NOX
Development
|
Used by LOCA::Epetra::Group to provide a link to the external code for computing the shifted matrix. More...
#include <LOCA_Epetra_Interface_TimeDependent.H>


Public Member Functions | |
| TimeDependent () | |
| Constructor. | |
| virtual | ~TimeDependent () |
| Destructor. | |
| virtual bool | computeShiftedMatrix (double alpha, double beta, const Epetra_Vector &x, Epetra_Operator &A)=0 |
Call user routine for computing the shifted matrix where is the Jacobian matrix and is the mass matrix. | |
| virtual void | setXdot (const Epetra_Vector &xdot, const double time) |
| Routine used in XYZT to set x_dot and time in the interface. | |
Used by LOCA::Epetra::Group to provide a link to the external code for computing the shifted matrix.
This interface is derived from the NOX::Epetra::Interface::Jacobian and additionally provides a method for computing the shifted matrix
. This is needed for linear stability analysis and Hopf tracking.
| virtual void LOCA::Epetra::Interface::TimeDependent::setXdot | ( | const Epetra_Vector & | xdot, |
| const double | time | ||
| ) | [inline, virtual] |
Routine used in XYZT to set x_dot and time in the interface.
The computeF() routine for XYZT problems needs to be a function of x_dot, but th NOX/LOCA computeF() does not take x_dot as an argument. This is used to set x_dot in the application interface so the subsequent call to computeF has the correct x_dot value. The timeStep argument is sent so the use can set the global time, for cases when computeF, computeJacobian, computeMassMatrix fills are functions of time (nonautonomous systems).
Reimplemented in LOCA::Epetra::ModelEvaluatorInterface, and LOCAInterface.
1.7.6.1