LapackSolverInterface Class Reference

#include <IpLapackSolverInterface.hpp>

Inheritance diagram for LapackSolverInterface:

SparseSymLinearSolverInterface AlgorithmStrategyObject ReferencedObject

List of all members.


Detailed Description

Interface to the linear solver Lapack, derived from SparseSymLinearSolverInterface.

For details, see description of SparseSymLinearSolverInterface base class.

Public Member Functions

bool InitializeImpl (const OptionsList &options, const std::string &prefix)
 overloaded from AlgorithmStrategyObject
Constructor/Destructor
 LapackSolverInterface ()
 Constructor.
virtual ~LapackSolverInterface ()
 Destructor.
Methods for requesting solution of the linear system.
virtual ESymSolverStatus InitializeStructure (Index dim, Index nonzeros, const Index *ia, const Index *ja)
 Method for initializing internal stuctures.
virtual double * GetValuesArrayPtr ()
 Method returing an internal array into which the nonzero elements are to be stored.
virtual ESymSolverStatus MultiSolve (bool new_matrix, const Index *ia, const Index *ja, Index nrhs, double *rhs_vals, bool check_NegEVals, Index numberOfNegEVals)
 Solve operation for multiple right hand sides.
virtual Index NumberOfNegEVals () const
 Number of negative eigenvalues detected during last factorization.
virtual bool IncreaseQuality ()
 Request to increase quality of solution for next solve.
virtual bool ProvidesInertia () const
 Query whether inertia is computed by linear solver.
EMatrixFormat MatrixFormat () const
 Query of requested matrix type that the linear solver understands.

Static Public Member Functions

static void RegisterOptions (SmartPtr< RegisteredOptions > roptions)
 Methods for IpoptType.


Constructor & Destructor Documentation

Constructor.

References DBG_START_METH.

~LapackSolverInterface (  )  [virtual]

Destructor.

References DBG_START_METH.


Member Function Documentation

bool InitializeImpl ( const OptionsList options,
const std::string &  prefix 
) [virtual]

ESymSolverStatus InitializeStructure ( Index  dim,
Index  nonzeros,
const Index ia,
const Index ja 
) [virtual]

Method for initializing internal stuctures.

Initialize the local copy of the positions of the nonzero elements.

Implements SparseSymLinearSolverInterface.

References DBG_START_METH, fkinkryx::i, and Ipopt::SYMSOLVER_SUCCESS.

double * GetValuesArrayPtr (  )  [virtual]

Method returing an internal array into which the nonzero elements are to be stored.

Implements SparseSymLinearSolverInterface.

ESymSolverStatus MultiSolve ( bool  new_matrix,
const Index ia,
const Index ja,
Index  nrhs,
double *  rhs_vals,
bool  check_NegEVals,
Index  numberOfNegEVals 
) [virtual]

Index NumberOfNegEVals (  )  const [virtual]

Number of negative eigenvalues detected during last factorization.

Implements SparseSymLinearSolverInterface.

References DBG_ASSERT.

bool IncreaseQuality (  )  [virtual]

Request to increase quality of solution for next solve.

Implements SparseSymLinearSolverInterface.

virtual bool ProvidesInertia (  )  const [inline, virtual]

Query whether inertia is computed by linear solver.

Returns true, if linear solver provides inertia.

Implements SparseSymLinearSolverInterface.

Referenced by LapackSolverInterface::MultiSolve().

EMatrixFormat MatrixFormat (  )  const [inline, virtual]

Query of requested matrix type that the linear solver understands.

Implements SparseSymLinearSolverInterface.

References SparseSymLinearSolverInterface::Dense_Format.

void RegisterOptions ( SmartPtr< RegisteredOptions roptions  )  [static]

Methods for IpoptType.


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

Generated on Fri Sep 26 07:44:26 2008 for SimTKcore by  doxygen 1.5.6