NOX  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
LOCA::Epetra::Interface::Required Class Referenceabstract

Used by LOCA::Epetra::Group to provide a link to the external code for setting problem parameters. More...

#include <LOCA_Epetra_Interface_Required.H>

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

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...
 

Detailed Description

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.

Member Function Documentation

virtual void LOCA::Epetra::Interface::Required::dataForPrintSolution ( const int  ,
const int  ,
const int   
)
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.

virtual void LOCA::Epetra::Interface::Required::postProcessContinuationStep ( LOCA::Abstract::Iterator::StepStatus  ,
LOCA::Epetra::Group  
)
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.

virtual void LOCA::Epetra::Interface::Required::preProcessContinuationStep ( LOCA::Abstract::Iterator::StepStatus  ,
LOCA::Epetra::Group  
)
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.

virtual void LOCA::Epetra::Interface::Required::projectToDraw ( const NOX::Epetra::Vector x,
double *  px 
) const
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().

virtual void LOCA::Epetra::Interface::Required::setMultiPointParameter ( const int  )
inlinevirtual

Set multipoint parameter in the user's application.

Should be called prior to calling one of the compute functions.

virtual void LOCA::Epetra::Interface::Required::setParameters ( const ParameterVector p)
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.


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