NOX Development
Public Member Functions
LOCA::Thyra::SaveDataStrategy Class Reference

Abstract interface class strategies to save continuation data. More...

#include <LOCA_Thyra_SaveDataStrategy.H>

List of all members.

Public Member Functions

 SaveDataStrategy ()
 Constructor.
virtual ~SaveDataStrategy ()
 Destructor.
virtual void saveSolution (const NOX::Abstract::Vector &x, double p)
 Save solution.
virtual void preProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus)
 Perform any preprocessing before a continuation step starts.
virtual void postProcessContinuationStep (LOCA::Abstract::Iterator::StepStatus stepStatus)
 Perform any postprocessing after a continuation step finishes.
virtual void projectToDraw (const NOX::Abstract::Vector &x, double *px) const
 Projects solution to a few scalars for multiparameter continuation.
virtual int projectToDrawDimension () const
 Returns the dimension of the project to draw array.

Detailed Description

Abstract interface class strategies to save continuation data.


Member Function Documentation

virtual void LOCA::Thyra::SaveDataStrategy::postProcessContinuationStep ( LOCA::Abstract::Iterator::StepStatus  stepStatus) [inline, virtual]

Perform any postprocessing after a continuation step finishes.

The stepStatus argument indicates whether the step was successful. The default implementation to empty.

virtual void LOCA::Thyra::SaveDataStrategy::preProcessContinuationStep ( LOCA::Abstract::Iterator::StepStatus  stepStatus) [inline, virtual]

Perform any preprocessing before a continuation step starts.

The stepStatus argument indicates whether the previous step was successful. The default implementation to empty.

virtual void LOCA::Thyra::SaveDataStrategy::projectToDraw ( const NOX::Abstract::Vector x,
double *  px 
) const [inline, virtual]

Projects solution to a few scalars for multiparameter continuation.

This method is called every time a solution is saved by the multiparameter continuation code MF for later visualization and should project the solution vector down to a few scalars. The array px will be preallocated to the proper length given by projectToDrawDimension().

virtual void LOCA::Thyra::SaveDataStrategy::saveSolution ( const NOX::Abstract::Vector x,
double  p 
) [inline, virtual]

Save solution.

Parameters:
x[in] Solution vector
p[in] Parameter value
Returns:
ReturnType code indicating success or failure

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends