NOX
Development
|
Public Member Functions | |
LOCAInterface (Teuchos::RCP< ProblemLOCAPrototype > &aProblem, Teuchos::RCP< ContinuationManager > aContinuationManager) | |
bool | computeF (const Epetra_Vector &x, Epetra_Vector &f, const NOX::Epetra::Interface::Required::FillType F) |
Compute the function, F, given the specified input vector x. Returns true if computation was successful. | |
bool | computeJacobian (const Epetra_Vector &x, Epetra_Operator &Jac) |
void | setParameters (const LOCA::ParameterVector ¶ms) |
Set parameters in the user's application. More... | |
void | printSolution (const Epetra_Vector &x, const double conParam) |
Call user's own print routine for vector-parameter pair. | |
virtual bool | computeShiftedMatrix (double alpha, double beta, const Epetra_Vector &x, Epetra_Operator &A) |
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. More... | |
![]() | |
TimeDependent () | |
Constructor. | |
virtual | ~TimeDependent () |
Destructor. | |
![]() | |
Required () | |
Constructor. | |
virtual | ~Required () |
Destructor. | |
virtual void | dataForPrintSolution (const int conStep, const int timeStep, const int totalTimeSteps) |
Provides data to application for output files. More... | |
virtual void | setMultiPointParameter (const int stepNum) |
Set multipoint parameter in the user's application. More... | |
virtual void | preProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus, LOCA::Epetra::Group &group) |
Perform any preprocessing before a continuation step starts. More... | |
virtual void | postProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus, LOCA::Epetra::Group &group) |
Perform any postprocessing after a continuation step finishes. More... | |
virtual void | projectToDraw (const NOX::Epetra::Vector &x, double *px) const |
Projects solution to a few scalars for multiparameter continuation. More... | |
virtual int | projectToDrawDimension () const |
Returns the dimension of the projection to draw array. | |
![]() | |
Required () | |
Constructor. | |
![]() | |
Jacobian () | |
Constructor. | |
virtual | ~Jacobian () |
Destructor. | |
Additional Inherited Members | |
![]() | |
enum | FillType { Residual, Jac, Prec, FD_Res, MF_Res, MF_Jac, User } |
Type of fill that a computeF() method is used for. More... | |
|
virtual |
Compute Jacobian given the specified input vector x. Returns true if computation was successful.
Implements NOX::Epetra::Interface::Jacobian.
References setParameters().
Referenced by computeF().
|
virtual |
Set parameters in the user's application.
Should be called prior to calling one of the compute functions.
Implements LOCA::Epetra::Interface::Required.
References LOCA::ParameterVector::getLabel(), LOCA::ParameterVector::getValue(), LOCA::ParameterVector::length(), and printSolution().
Referenced by computeJacobian().
|
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 from LOCA::Epetra::Interface::TimeDependent.