Diana  0.8.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
SteadyStateContinuation Class Reference

#include <SteadyStateContinuation.hpp>

Inheritance diagram for SteadyStateContinuation:
DianaContinuation IDianaContinuation DianaNumericSolver IDianaNumericSolver IDianaNumericSolver ICapeNumericSolver ICapeNumericSolver ICapeIdentification ICapeUtilities ICapeIdentification ICapeUtilities

List of all members.

Public Member Functions

 SteadyStateContinuation (Numeric::Solvers::Model::ICapeNumericModel *_pModel)
Common::Types::CapeString GetVariableName (Common::Types::CapeLong index) throw (Common::Error::ECapeUnknown)

Protected Member Functions

int getModelEquations ()
int getModelVariables ()
void packModelBoundaries (Common::Types::CapeArrayDouble &arrMinY, Common::Types::CapeArrayDouble &arrMaxY)
void packModelVector (Common::Types::CapeArrayDouble &modelVector)
void unpackModelVector (const Common::Types::CapeArrayDouble &modelVector)
void packModelResidual (Common::Types::CapeArrayDouble &modelResidual)
void packModelJacobian (Diana::DianaSparseArray &Jaco)
CapeBoolean calcTestCondition (CapeBoolean bFirstCall=false)
CapeBoolean calcEigenvalues ()
CapeBoolean calcEigenvaluesLapack ()
CapeBoolean calcEigenvaluesArpack ()
std::vector< std::complex
< Common::Types::CapeDouble > > 
GetEigenvalues () throw (Common::Error::ECapeUnknown)

Protected Attributes

Common::Types::CapeBoolean bStabilityCheck
Common::Types::CapeBoolean bStability
Common::Types::CapeLong nConditionTest
Common::Types::CapeLong nConditionCurrent
const Common::Types::CapeLong nEigMonitorMax
Common::Types::CapeLong nEigMonitor
Common::Types::CapeLong nEigConverged
Common::Parameter::ICapeParameterprmEigSolver

Private Attributes

Common::Types::CapeArrayDouble arrReEigenValues
Common::Types::CapeArrayDouble arrImEigenValues
Common::Types::CapeLong nPrevReal
Common::Types::CapeLong nPrevImag
std::vector< fortrand > lapA
std::vector< fortrand > lapB
std::vector< fortrand > lapAlphaR
std::vector< fortrand > lapAlphaI
std::vector< fortrand > lapBeta
std::vector< fortrand > lapVl
std::vector< fortrand > lapVr
std::vector< fortrand > lapWork
std::vector< fortrand > arpResid
std::vector< fortrand > arpV
std::vector< fortrand > arpWorkd
std::vector< fortrand > arpWorkl
std::vector< fortrand > arpTmpX
std::vector< fortranl > arpSelect
std::vector< fortrand > arpWorkev
Diana::DianaSparseArray dsaArpAsM
Diana::DianaSparseSolver dssArpM
Diana::DianaSparseSolver dssArpAsM

Detailed Description

Continuation class definition

Author:
Michael Krasnyk

Constructor & Destructor Documentation


Member Function Documentation

CapeBoolean calcTestCondition ( CapeBoolean  bFirstCall = false) [protected, virtual]

Evaluates specified test conditions during continuation.

Returns:
true if the condition occurs.

Dummy function, returns false

Reimplemented from DianaContinuation.

References ICapeNumericESO::GetNumVars(), DianaContinuation::nVerboseLevel, DianaContinuation::pESO, and Diana::SteadyStateZCE.

std::vector< std::complex< Common::Types::CapeDouble > > GetEigenvalues ( ) throw (Common::Error::ECapeUnknown) [protected, virtual]

Returns eigenvalues of the generalized eigenvalues problem (PhD thesis, section 2.3) or Floquet multipliers (PhD thesis, section 3.2 )

Reimplemented from DianaContinuation.

int getModelEquations ( ) [protected, virtual]

Returns size of the problem residual vector.

Implements DianaContinuation.

References ICapeNumericESO::GetNumEqns(), and DianaContinuation::pESO.

Referenced by SteadyStateContinuation::packModelResidual().

int getModelVariables ( ) [protected, virtual]
CapeString GetVariableName ( Common::Types::CapeLong  index) throw (Common::Error::ECapeUnknown) [virtual]

Returns name of the variable by index.

Reimplemented from DianaContinuation.

References ICapeIdentification::GetComponentName(), DianaContinuation::GetVariableName(), and ICapeCollection::ItemByIndex().

void packModelBoundaries ( Common::Types::CapeArrayDouble arrMinY,
Common::Types::CapeArrayDouble arrMaxY 
) [protected, virtual]
void packModelJacobian ( Diana::DianaSparseArray Jaco) [protected, virtual]
void packModelResidual ( Common::Types::CapeArrayDouble modelResidual) [protected, virtual]
void packModelVector ( Common::Types::CapeArrayDouble modelVector) [protected, virtual]
void unpackModelVector ( const Common::Types::CapeArrayDouble modelVector) [protected, virtual]

Copy data from the the pVector to subclass data structures (pVector -> ESO).

Implements DianaContinuation.

References Common::Error::ECodeNone, SteadyStateContinuation::getModelVariables(), DianaContinuation::nVars, DianaContinuation::pESO, and ICapeNumericESO::SetAllVariables().


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