Diana  0.8.3
Classes | Typedefs | Enumerations | Functions
Diana Namespace Reference

Classes

class  array
 Basic class definition for the dense arrays. More...
class  DianaCollection
class  refiterator
 Iterator class that used with sparray. More...
class  sparray
 Basic class definition for the sparse arrays. More...
class  DianaDAESO
class  DianaModelManager
class  DianaContinuousModel
class  DianaNLAESO
class  DianaMeasuredData
class  IDianaOptimizationPoint
class  IDianaSensOptimizationPoint
class  DianaOptimizationPoint
class  DianaSensOptimizationPoint
class  DianaNLPTaskParametersList
class  DianaSensNLPTaskParametersList
class  DianaNLPTaskFactory
class  DianaRealParameterSpec
class  DianaStateSpec
class  DianaIntegerParameterSpec
class  DianaBooleanParameterSpec
class  DianaPointerParameterSpec
class  DianaOptionParameterSpec
class  DianaArrayParameterSpec
class  DianaArrayRealParameterSpec
class  DianaArrayStringParameterSpec
class  DianaNLPRealParameterSpec
class  DianaParameter
class  PetriPlace
class  PetriTransition
class  PetriNet
class  ReportDataEntry
class  MemoryReportingInterface
class  Plot2D
class  GraphicalReportingInterface
class  GNUPlotReportingInterface
class  DianaSensDAESO
class  DianaINTSignalHandler
class  DianaSolverFactory
class  DianaNumericSolver
class  DianaXmlDAESO
class  DiffitESO
class  IDianaContinuation
class  IDianaDAESO
class  IDianaMain
class  IDianaContinuousModel
class  IDianaNLAESO
class  IDianaNLPSolverParallelInterface
class  IDianaStateSpec
class  IDianaArrayParameterSpec
class  IDianaArrayRealParameterSpec
class  IDianaArrayStringParameterSpec
class  IDianaPetriNet
class  IDianaPetriPlace
class  IDianaPetriTransition
class  IDianaReporting
class  IDianaGraphicReporting
class  IDianaGraphicReporting2
class  IDianaSensDAESO
class  IDianaNumericSolver
class  IDianaNumericDAESolver
class  IDianaNumericNLPSolver
class  IDianaHybridSolver
class  IDianaNLPHybridSolver
class  DianaBorderedSolver
class  DianaDenseSolver
class  DianaHslSolver
class  DianaLSQRSolver
class  DianaNormalEquationsSolver
class  DianaSparseSolver
class  IDianaLinearAlgebraSolver
class  IDASolver
class  PARDASPKSolver
 Solver for parallel simulation. More...
class  DianaContinuation
class  SteadyStateContinuation
class  SingAnalyser
class  HopfPointContinuation

Typedefs

typedef array
< Common::Types::CapeDouble
DianaArray
typedef sparray DianaSparseArray
typedef
Numeric::Solvers::NLPTasks::ICapeNLPTask *(* 
fCreateOEDTask )(Numeric::Solvers::NLPTasks::ICapeNLPTask *pParFitTask, Numeric::Solvers::Solver::ICapeNumericNLPSolver *pOptimizer, const Common::Parameter::CapeArrayParameterSpec &colDesignVars)
typedef void(DianaDAESO::* CharFunction )()
typedef std::vector
< Common::Types::CapeArrayDouble
ReportDataEntryValues
typedef Diana::array
< Common::Parameter::ICapeParameter * > 
DianaArrayParameter
typedef std::vector
< IDianaNumericSolver * > 
DianaArrayNumericSolver
 IDianaNumericSolver array type.
typedef std::vector
< IDianaNumericNLPSolver * > 
DianaArrayNumericNLPSolver
 IDianaNumericSolver array type.

Enumerations

enum  DianaVariableType {
  dvNone = 0x00, dvState = 0x01, dvDerivative = 0x02, dvResidual = 0x04,
  dvRealParam = 0x08, dvIntegerParam = 0x10, dvHelpVariables = 0x11, dvUnknown = 0x12
}
enum  ConditionSteadyState { SteadyStateNone = 0, SteadyStateZRE = 0x0001, SteadyStateZCE = 0x0002 }
enum  ConditionSingularity {
  SingularityNone = 0, SingularityGx = 0x0001, SingularityGxx = 0x0002, SingularityGxxx = 0x0004,
  SingularityGp = 0x0008, SingularityGxp = 0x0010, SingularityLast = 0x0020
}
enum  ContiReturn {
  ContiOk, ContiOkTestFunction, ContiOkAchievedBoundary, ContiOkMaxStepsMade,
  ContiOkIsolaDetected, ContiError, ContiErrorInitialPointNaN, ContiErrorInitialPointNotInRange,
  ContiErrorInitialPointSingular, ContiErrorStepSizeToSmall, ContiErrorNextPointNaN
}
enum  SolverEvents {
  eventNone = 0, eventSetReportingInterface, eventRemoveReportingInterface, eventStart,
  eventStop, eventOneStep, eventError, eventNewChunk,
  eventOneEval
}
enum  NLPTaskEvents {
  eventNLPNone = 0, eventNLPSetReportingInterface, eventNLPRemoveReportingInterface, eventNLPStartObjCalc,
  eventNLPStopObjCalc, eventNLPStepObjCalc, eventNLPErrorObjCalc, eventNLPInit,
  eventNLPAssing
}
enum  ResidualType { NoneParameterisationResidual, LocalParameterisationResidual, PseudoParameterisationResidual }
enum  ParameterisationType { ParameterisationLocal, ParameterisationPseudoArclength, ParameterisationsNumber }
enum  PredictorType { PredictorTangent, PredictorChord, PredictorsNumber }

Functions

std::ostream & print (std::ostream &ostr, const DianaArray &ar, int nentries=-1)
 Prints array into output stream.
std::ostream & print_matlab (std::ostream &ostr, const DianaArray &ar)
 Prints array into output stream with Matlab syntax.
std::ostream & operator<< (std::ostream &os, const DianaArray &ar)
 Output operator for the DianaArray class.
template<typename _Ti >
refiterator< _Ti > operator+ (typename refiterator< _Ti >::difference_type __n, const refiterator< _Ti > &__i)
 Iterator addition operator with integer as first argument.
template<typename _Tiostr >
std::ostream & operator<< (std::ostream &os, const refiterator< _Tiostr > &iter)
 Iterator output operator.
CapeDouble div (CapeDouble e, CapeDouble o)
CapeDouble factorial (CapeLong f)
CapeDouble factorial (CapeDouble f)
Common::Types::CapeBoolean ensureXercesInitialized ()
IDianaMainGetDianaMain (const Common::Types::CapeArrayString &args=Common::Types::CapeArrayString())
char * complex2str (double real, double imag, char *strbuf)

Detailed Description

Main namespace of the Diana package. Diana namespace defines realization of the CAPE-OPEN interfaces.

Author:
Michael Krasnyk (miha@mpi-magdeburg.mpg.de)

Typedef Documentation

Diana type redefinition of the array class.

Diana type redefinition of the sparse array class.

Type of the entry function from library with ODE approach.


Enumeration Type Documentation

Enumerator:
SteadyStateZCE 

real eigenvalue crossed zero

ContiReturn is continuation return codes


Function Documentation

char * complex2str ( double  real,
double  imag,
char *  strbuf 
)

Function unifies complex output for the continuation subclasses.

Parameters:
realreal part of the complex number.
imagimaginary part of the complex number.
strbufrequired characters buffer (e.g. 1024 characters)
Returns:
result string pointer
CapeDouble Diana::div ( CapeDouble  e,
CapeDouble  o 
)

Whole part of division, appears maybe in Promot-generated code

Returns:
$floor(e/o)$

static function that initializes Xerces exactly once on loading the library code. It can be called often, but acts only once.

CapeDouble Diana::factorial ( CapeLong  f)

Factorial function, appears maybe in Promot-generated code

Returns:
$f!$
CapeDouble Diana::factorial ( CapeDouble  f)
See also:
factorial(CapeLong), this is just to muffle warnings about the double argument.

Get the singleton main, create it if necessary. The args can contain command line arguments for global intitialization. They are currently unused.

Referenced by DianaContinuation::DianaContinuation().

std::ostream& Diana::operator<< ( std::ostream &  os,
const refiterator< _Tiostr > &  iter 
)

Iterator output operator.

This operator can be used only if the output operator of the dereferenced type _Tiostr is declared, otherwise compiler will produce an error.

std::ostream& Diana::print ( std::ostream &  ostr,
const DianaArray &  ar,
int  nentries = -1 
)

Prints array into output stream.

Parameters:
ostrOutput stream.
nentriesNumber of printed elements of the array. The whole array will be printed if nentries less than zero.
Returns:
Output stream.
std::ostream& Diana::print_matlab ( std::ostream &  ostr,
const DianaArray &  ar 
)

Prints array into output stream with Matlab syntax.

Parameters:
ostrOutput stream.
Returns:
Output stream.