LOCA::Epetra::Interface::TimeDependent Class Reference

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>

Inheritance diagram for LOCA::Epetra::Interface::TimeDependent:
Inheritance graph
[legend]
Collaboration diagram for LOCA::Epetra::Interface::TimeDependent:
Collaboration graph
[legend]

List of all members.

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 $\alpha J + \beta M$ where $J$ is the Jacobian matrix and $M$ 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.

Detailed Description

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 $\alpha J + \beta M$. This is needed for linear stability analysis and Hopf tracking.


Member Function Documentation

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 LOCAInterface, and LOCA::Epetra::ModelEvaluatorInterface.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Wed Apr 13 09:59:42 2011 for NOX by  doxygen 1.6.3