NOX
Development
|
Used by LOCA::Epetra::Group to provide a link to the external code for setting problem parameters. More...
#include <LOCA_Epetra_Interface_Required.H>
Public Member Functions | |
Required () | |
Constructor. | |
virtual | ~Required () |
Destructor. | |
virtual void | setParameters (const ParameterVector &p)=0 |
Set parameters in the user's application. More... | |
virtual void | printSolution (const Epetra_Vector &, double) |
Call user's own print routine for vector-parameter pair. | |
virtual void | dataForPrintSolution (const int, const int, const int) |
Provides data to application for output files. More... | |
virtual void | setMultiPointParameter (const int) |
Set multipoint parameter in the user's application. More... | |
virtual void | preProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus, LOCA::Epetra::Group &) |
Perform any preprocessing before a continuation step starts. More... | |
virtual void | postProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus, LOCA::Epetra::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. | |
Public Member Functions inherited from NOX::Epetra::Interface::Required | |
Required () | |
Constructor. | |
virtual bool | computeF (const Epetra_Vector &x, Epetra_Vector &F, const FillType fillFlag)=0 |
Compute the function, F, given the specified input vector x. Returns true if computation was successful. | |
Additional Inherited Members | |
Public Types inherited from NOX::Epetra::Interface::Required | |
enum | FillType { Residual, Jac, Prec, FD_Res, MF_Res, MF_Jac, User } |
Type of fill that a computeF() method is used for. More... | |
Used by LOCA::Epetra::Group to provide a link to the external code for setting problem parameters.
This interface is derived from the NOX::Epetra::Interface::Required and additionally provides a method for setting problem parameters.
|
inlinevirtual |
Provides data to application for output files.
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.
|
inlinevirtual |
Perform any postprocessing after a continuation step finishes.
The stepStatus
argument indicates whether the step was successful. The default implementation here is empty.
Reimplemented in LOCA::Epetra::ModelEvaluatorInterface.
|
inlinevirtual |
Perform any preprocessing before a continuation step starts.
The stepStatus
argument indicates whether the previous step was successful. The default implementation here is empty.
|
inlinevirtual |
Projects solution to a few scalars for multiparameter continuation.
Default implementation is the max norm.
References NOX::Abstract::Vector::MaxNorm, and NOX::Epetra::Vector::norm().
|
inlinevirtual |
Set multipoint parameter in the user's application.
Should be called prior to calling one of the compute functions.
|
pure virtual |
Set parameters in the user's application.
Should be called prior to calling one of the compute functions.
Implemented in LOCA::Epetra::ModelEvaluatorInterface, and LOCAInterface.