#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 ![]() ![]() ![]() | |
virtual void | setXdot (const Epetra_Vector &xdot, const double time) |
Routine used in XYZT to set x_dot and time in the interface. |
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.
Definition at line 66 of file LOCA_Epetra_Interface_TimeDependent.H.
LOCA::Epetra::Interface::TimeDependent::TimeDependent | ( | ) | [inline] |
virtual LOCA::Epetra::Interface::TimeDependent::~TimeDependent | ( | ) | [inline, virtual] |
virtual bool LOCA::Epetra::Interface::TimeDependent::computeShiftedMatrix | ( | double | alpha, | |
double | beta, | |||
const Epetra_Vector & | x, | |||
Epetra_Operator & | A | |||
) | [pure virtual] |
Call user routine for computing the shifted matrix where
is the Jacobian matrix and
is the mass matrix.
Implemented in LOCA::Epetra::ModelEvaluatorInterface.
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).
Definition at line 97 of file LOCA_Epetra_Interface_TimeDependent.H.