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.

Definition at line 66 of file LOCA_Epetra_Interface_TimeDependent.H.


Constructor & Destructor Documentation

LOCA::Epetra::Interface::TimeDependent::TimeDependent (  )  [inline]

Constructor.

Definition at line 71 of file LOCA_Epetra_Interface_TimeDependent.H.

virtual LOCA::Epetra::Interface::TimeDependent::~TimeDependent (  )  [inline, virtual]

Destructor.

Definition at line 74 of file LOCA_Epetra_Interface_TimeDependent.H.


Member Function Documentation

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


The documentation for this class was generated from the following file:

Generated on Wed Oct 21 14:28:31 2009 for Nonlinear Solver Project by  doxygen 1.5.9