SIMLIB/C++  3.07
Public Member Functions | Private Member Functions | Private Attributes | List of all members
simlib3::AlgLoopDetector Class Reference

class for algebraic loop detection AlgLoopDetector object should be used in Value() method only it checks for recursion in continuous block expression evaluation
User should remove algebraic loop manualy using special block (see AlgLoop solvers) More...

#include <internal.h>

Collaboration diagram for simlib3::AlgLoopDetector:
Collaboration graph
[legend]

Public Member Functions

 AlgLoopDetector (aContiBlock *x)
 
 ~AlgLoopDetector ()
 

Private Member Functions

void lock ()
 begin checking for recursion in Value() calling More...
 
void unlock ()
 end checking for recursion More...
 

Private Attributes

aContiBlockblock
 

Detailed Description

class for algebraic loop detection AlgLoopDetector object should be used in Value() method only it checks for recursion in continuous block expression evaluation
User should remove algebraic loop manualy using special block (see AlgLoop solvers)

Definition at line 307 of file internal.h.

Constructor & Destructor Documentation

◆ AlgLoopDetector()

simlib3::AlgLoopDetector::AlgLoopDetector ( aContiBlock x)
inline

Definition at line 319 of file internal.h.

◆ ~AlgLoopDetector()

simlib3::AlgLoopDetector::~AlgLoopDetector ( )
inline

Definition at line 320 of file internal.h.

References simlib3::SIMLIB_create_tmp_name().

Member Function Documentation

◆ lock()

void simlib3::AlgLoopDetector::lock ( )
inlineprivate

begin checking for recursion in Value() calling

Definition at line 310 of file internal.h.

References simlib3::SimObject::_EVAL_FLAG, simlib3::AlgLoopDetected, simlib3::SIMLIB_error(), and simlib3::SimObject::TestAndSetFlag().

◆ unlock()

void simlib3::AlgLoopDetector::unlock ( )
inlineprivate

end checking for recursion

Definition at line 315 of file internal.h.

References simlib3::SimObject::_EVAL_FLAG, and simlib3::SimObject::TestAndSetFlag().

Member Data Documentation

◆ block

aContiBlock* simlib3::AlgLoopDetector::block
private

Definition at line 308 of file internal.h.


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