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

#include <DianaSolver.hpp>

Inheritance diagram for DianaNumericSolver:
IDianaNumericSolver ICapeNumericSolver ICapeIdentification ICapeUtilities DianaContinuation IDASolver PARDASPKSolver HopfPointContinuation SingAnalyser SteadyStateContinuation

List of all members.

Public Member Functions

 ~DianaNumericSolver ()
void SetReportingInterface (Diana::IDianaReporting *_pReportingInterface) throw (Common::Error::ECapeUnknown)
void RemoveReportingInterface (Diana::IDianaReporting *_pReportingInterface) throw (Common::Error::ECapeUnknown)

Protected Member Functions

void notifyEventHandlers (SolverEvents event) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeFailedInitialisation)
bool areEventHandlers ()

Private Attributes

std::vector
< Diana::IDianaReporting * > 
arrReportingInterfaces
 array of the reporting interfaces

Detailed Description

Class with extensions of Cape Solver interface, especially for reporting.


Constructor & Destructor Documentation

Destructor sends eventRemoveReportingInterface event to all registered reporting interfaces.


Member Function Documentation

Notifies all registered reporting interfaces about new step.

void SetReportingInterface ( Diana::IDianaReporting _pReportingInterface) throw (Common::Error::ECapeUnknown) [virtual]

Sets the reference to an object in charge of managing some reporting at each step of the process.

Remark
The reporting interface will be called by the Solver:

  • Immediately on entry to AdvanceToNextEvent.
  • When the independent variable reaches a value specified by it (see interface).
  • Before and after all discontinuities handled internally be the Solver.
  • Immediately before return from AdvanceToNextEvent.

Implements IDianaNumericSolver.


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