LOCA::EpetraNew::Interface::MassMatrix Class Reference

Used by LOCA::EpetraNew::Group to provide a link to the external code for the MassMatrix (coefficient of time dependent terms). This is used for: Hopf bifurcation tracking, linear stability analysis, and space-time solutions (xyzt). More...

#include <LOCA_EpetraNew_Interface_MassMatrix.H>

Inheritance diagram for LOCA::EpetraNew::Interface::MassMatrix:

[legend]
List of all members.

Public Member Functions

 MassMatrix ()
 Constructor.
virtual ~MassMatrix ()
 Destructor.
virtual bool computeMassMatrix (const Epetra_Vector &x)=0
virtual void setOldSolution (const Epetra_Vector &x)
virtual void setOldSolutionFirstStep ()
 See above.
virtual void dataForPrintSolution (const int conStep, const int timeStep, const int totalTimeSteps)

Detailed Description

Used by LOCA::EpetraNew::Group to provide a link to the external code for the MassMatrix (coefficient of time dependent terms). This is used for: Hopf bifurcation tracking, linear stability analysis, and space-time solutions (xyzt).


Member Function Documentation

virtual bool LOCA::EpetraNew::Interface::MassMatrix::computeMassMatrix const Epetra_Vector x  )  [pure virtual]
 

Compute MassMatrix given the specified input vector x. Returns true if computation was successful.

virtual void LOCA::EpetraNew::Interface::MassMatrix::dataForPrintSolution const int  conStep,
const int  timeStep,
const int  totalTimeSteps
[inline, virtual]
 

This routine is called from Interface::xyzt::printSolution() just before the call to Interface::Required::printSolution(x,param), and gives the application some indices that can be used for creating a unique name/index for the output files.

virtual void LOCA::EpetraNew::Interface::MassMatrix::setOldSolution const Epetra_Vector x  )  [inline, virtual]
 

Routine to reset the old solution, the one from the previous time step. Different routine for first step, where the old solution is set by the user and not part of the solution vector. These routines are used by space-time (xyzt) problems, where the MassMatrix is calculated as a function of a different solution vector then the Jacobian (that is, the previous time step).


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:40:45 2008 for NOX by doxygen 1.3.9.1