#include <LOCA_LAPACK_Interface.H>
Public Member Functions | |
Interface () | |
Constructor. | |
virtual | ~Interface () |
Destructor. | |
virtual void | setParams (const ParameterVector &p)=0 |
Set the problem parameters. | |
virtual void | printSolution (const NOX::LAPACK::Vector &x_, const double conParam) |
Call user's own print routine for vector-parameter pair. | |
virtual bool | computeShiftedMatrix (double alpha, double beta, const NOX::LAPACK::Vector &x, NOX::LAPACK::Matrix< double > &A) |
Compute shifted matrix alpha*J + beta*M where J is the Jacobian matrix and M is the mass matrix. Returns true if computation was successful. | |
virtual void | projectToDraw (const NOX::LAPACK::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. |
This interface is derived from the NOX::LAPACK::Interface and and additionally provides a method for setting problem parameters.
Definition at line 65 of file LOCA_LAPACK_Interface.H.
LOCA::LAPACK::Interface::Interface | ( | ) | [inline] |
Constructor.
Reimplemented from NOX::LAPACK::Interface.
Definition at line 70 of file LOCA_LAPACK_Interface.H.
virtual LOCA::LAPACK::Interface::~Interface | ( | ) | [inline, virtual] |
Destructor.
Reimplemented from NOX::LAPACK::Interface.
Definition at line 73 of file LOCA_LAPACK_Interface.H.
virtual void LOCA::LAPACK::Interface::setParams | ( | const ParameterVector & | p | ) | [pure virtual] |
Set the problem parameters.
Referenced by LOCA::LAPACK::Group::computeF(), and LOCA::LAPACK::Group::computeJacobian().
virtual void LOCA::LAPACK::Interface::printSolution | ( | const NOX::LAPACK::Vector & | x_, | |
const double | conParam | |||
) | [inline, virtual] |
Call user's own print routine for vector-parameter pair.
Definition at line 79 of file LOCA_LAPACK_Interface.H.
Referenced by LOCA::LAPACK::Group::printSolution().
virtual bool LOCA::LAPACK::Interface::computeShiftedMatrix | ( | double | alpha, | |
double | beta, | |||
const NOX::LAPACK::Vector & | x, | |||
NOX::LAPACK::Matrix< double > & | A | |||
) | [inline, virtual] |
Compute shifted matrix alpha*J + beta*M where J is the Jacobian matrix and M is the mass matrix. Returns true if computation was successful.
The default implementation assumes the mass matrix is the identity matrix.
Definition at line 91 of file LOCA_LAPACK_Interface.H.
References NOX::LAPACK::Interface::computeJacobian(), NOX::LAPACK::Matrix< T >::numCols(), NOX::LAPACK::Matrix< T >::numRows(), and NOX::LAPACK::Matrix< T >::scale().
Referenced by LOCA::LAPACK::Group::computeComplex(), and LOCA::LAPACK::Group::computeShiftedMatrix().
virtual void LOCA::LAPACK::Interface::projectToDraw | ( | const NOX::LAPACK::Vector & | x, | |
double * | px | |||
) | const [inline, virtual] |
Projects solution to a few scalars for multiparameter continuation.
Default implementation is the max norm
Definition at line 113 of file LOCA_LAPACK_Interface.H.
References NOX::Abstract::Vector::MaxNorm, and NOX::LAPACK::Vector::norm().
Referenced by LOCA::LAPACK::Group::projectToDraw().
virtual int LOCA::LAPACK::Interface::projectToDrawDimension | ( | ) | const [inline, virtual] |
Returns the dimension of the project to draw array.
Definition at line 119 of file LOCA_LAPACK_Interface.H.
Referenced by LOCA::LAPACK::Group::projectToDrawDimension().