SIMLIB/C++
3.07
|
Implementation of class CalendarList
interface is static - using global functions in SQS namespace.
More...
Namespaces | |
SQS | |
Special namespace for calendar implementation. | |
Classes | |
class | _Abs2D |
class | _Abs3D |
class | _Add |
block sum of two inputs More... | |
class | _Add2D |
class | _Add3D |
class | _Div |
divider block More... | |
class | _Div2D |
class | _Div3D |
class | _FileWrap |
class | _Mul |
multiplier block More... | |
class | _Mul2D1D |
class | _Mul3D |
class | _Mul3D1D |
class | _Norm2D |
class | _Norm3D |
class | _ScalarProduct2D |
class | _ScalarProduct3D |
class | _Sub |
block to subtract two inputs More... | |
class | _Sub2D |
class | _Sub3D |
class | _Time |
block wrapper for simulation time More... | |
class | _UMinus |
unary minus block More... | |
class | _UMinus2D |
class | _UMinus3D |
class | _XYpart |
class | _XYZpart |
class | aBlock |
abstract base class for all blocksblocks/SimObject have not copy semantics (TODO: add move semantics) More... | |
class | ABM4 |
class | aCondition |
abstract base class for all state-condition blocks State event in combined model is executed at the time when the condition changes its boolean value More... | |
class | aContiBlock |
abstract base for continuous blocks with single output suitable for expression-tree building and evaluation More... | |
class | aContiBlock1 |
base for continuous blocks with single input and algebraic loop check More... | |
class | aContiBlock2 |
base for continuous blocks with two inputs More... | |
class | aContiBlock2D |
Abstract 2D block with single 2D output. More... | |
class | aContiBlock2D1 |
continuous block with single input and alg. More... | |
class | aContiBlock2D2 |
continuous block vith 2 inputs and alg. More... | |
class | aContiBlock2D3 |
continuous block with 3 inputs and alg. More... | |
class | aContiBlock3 |
base for continuous blocks vith three inputs and algebraic loop check More... | |
class | aContiBlock3D |
Abstract 3D block with single 3D output. More... | |
class | aContiBlock3D1 |
continuous 3D block with single input More... | |
class | aContiBlock3D2 |
continuous block vith 2 inputs and alg. More... | |
class | aContiBlock3D3 |
continuous block with 3 inputs and alg. More... | |
class | Adaptor2D |
Convert 2 scalar inputs to single 2D vector output. More... | |
class | Adaptor3D |
Converts 3 scalar inputs to single 3D vector output. More... | |
class | AlgLoop |
abstract base for algebraic loop solvers More... | |
class | AlgLoopDetector |
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... | |
class | Barrier |
synchronization tool for processes More... | |
class | Bisect |
solve using bisection method More... | |
class | Blash |
nonlinear block - backlash More... | |
class | Calendar |
common interface for all calendar (PES) implementations More... | |
class | CalendarList |
class CalendarList — list implementation of calendar More... | |
class | CalendarListImplementation |
class CalendarListImplementation — sorted list More... | |
class | CalendarQueue |
CQ implementation of calendar. More... | |
class | Condition |
change detector - Boolean version (int) More... | |
class | ConditionDown |
detector of TRUE–>FALSE More... | |
class | ConditionUp |
detector of FALSE–>TRUE More... | |
class | Constant |
block: constant (value can not be changed) More... | |
class | Constant2D |
2D vector value that can't be changed More... | |
class | Constant3D |
3D vector value that can't be changed More... | |
class | Delay |
continuous signal delay block More... | |
class | Entity |
abstract base class for active entities (Process, Event) instances of derived classes provide Behavior() method implementation, execution can be scheduled in calendar More... | |
class | EULER |
class | Event |
abstract base class for events Event behavior is simple function (can not be interrupted) More... | |
struct | EventNotice |
activation record More... | |
class | EventNoticeAllocator |
allocate activation records fast More... | |
struct | EventNoticeLinkBase |
calendar item - PRIVATE for any implementation we use double-linked circular list More... | |
struct | Expression |
reference to block expression This block can be used as handle for block expression trees More... | |
struct | Expression2D |
Reference to 2D vector block-expression. More... | |
struct | Expression3D |
3D vector block-expression handle More... | |
class | Facility |
(SOL-like) facility Facility with exclusive access and service priority More... | |
class | Frict |
nonlinear block: friction More... | |
class | Function1 |
block parametrized by function with single argument More... | |
class | Function2 |
block parametrized by function with two arguments More... | |
class | FW |
class | Histogram |
histogram statistics More... | |
class | Hyst |
nonlinear block - hysteresis More... | |
class | Input |
continuous block connection (transparent reference) wrapper for pointer to objects of aContiBlock derived classes (small object, without virtual methods) It is used for referencing of continuous blocks in block-expressions. More... | |
class | Input2D |
Continuous block connection (transparent reference) More... | |
class | Input3D |
Continuous block connection (transparent reference) More... | |
class | Insv |
nonlinear block: dead zone More... | |
class | IntegrationMethod |
IntegrationMethod - Abstract base class for integration methods. More... | |
class | Integrator |
block for numerical integration input is derivative, output is state More... | |
class | Integrator2D |
2D vector integrator More... | |
class | Integrator3D |
3D vector integrator More... | |
class | IntegratorContainer |
IntegratorContainer - internal container of integrators (singleton) More... | |
class | Iterations |
solve using iterations More... | |
class | Lim |
nonlinear block: limitation More... | |
class | Link |
base class for all double-linked list items item can be at single place only (identified by where() method) used for Queue implementation More... | |
class | List |
list of Link* items, uses data from Link More... | |
class | MultiStepMethod |
base for multi-step integration method More... | |
class | NameDict |
class | Newton |
solve using modified Newton's method More... | |
struct | P_Context_t |
internal structure for storing of process context More... | |
class | Param |
class | Parameter |
block: parameter (can not be changed during simulation run) More... | |
class | Parameter2D |
Special variable (can't be changed at simulation time) More... | |
class | Parameter3D |
Special variable (can't be changed at simulation time) More... | |
class | ParameterVector |
class | Process |
Abstract base class for all simulation processesProcess behavior is specified by Behavior method and can be interrupted during execution by e.g. More... | |
class | Qntzr |
nonlinear block: quantizer More... | |
class | Queue |
priority queue More... | |
class | RegulaFalsi |
solve using regula falsi method More... | |
class | Relay |
Relay this implementation detects exact time of switch. More... | |
class | RKE |
class | RKF3 |
class | RKF5 |
class | RKF8 |
class | Rline |
nonlinear block: function defined by given table of values More... | |
class | Sampler |
objects of this class call global function periodically (typicaly used for output of continuous model) More... | |
class | Semaphore |
basic synchronization tool for processes simplified implementation More... | |
class | SIMLIB_Delay |
continuous delay block More... | |
class | SIMLIB_DelayBuffer |
memory for delayed pairs (Time,value) More... | |
class | SIMLIB_module |
Class for internal registration of modules. More... | |
struct | SIMLIB_statistics_t |
internal statistics structure contains basic statistics of simulator execution More... | |
class | SIMLIB_ZDelayTimer |
class | SimObject |
Base class for almost all SIMLIB classes. More... | |
class | SingleStepMethod |
base for single-step integration methods More... | |
class | Stat |
class for statistical information gathering More... | |
class | Status |
State variables (memory) base for blocks with internal state (Relay, ...) More... | |
class | StatusContainer |
StatusContainer - internal container of status variables (singleton) More... | |
class | StatusMethod |
Abstract base class for integration methods with status auxiliary memories. More... | |
class | Store |
(SOL-like) store store capacity can be changed dynamically More... | |
class | TStat |
time dependent statistic More... | |
class | Value2D |
2D vector value More... | |
class | Value3D |
3D vector value More... | |
class | Variable |
block: variable (value can be changed) More... | |
class | Variable2D |
2D vector variable More... | |
class | Variable3D |
3D vector variable More... | |
class | WaitUntilList |
class | ZDelay |
class | ZDelayTimer |
Typedefs | |
typedef void(* | SIMLIB_atexit_function_t) () |
typedef void(* | VoidFunctionPtr) () |
typedef double(* | opt_function_t) (const ParameterVector &p) |
typedef long | myint32 |
typedef signed char | EntityPriority_t |
Priority of the process/event. More... | |
typedef unsigned char | ServicePriority_t |
Service priority (see Facility::Seize) More... | |
typedef Hyst | Hysteresis |
typedef Blash | Backlash |
typedef Lim | Limitation |
typedef Insv | DeadZone |
typedef Qntzr | Quantizer |
typedef Frict | Friction |
Functions | |
void | SIMLIB_atexit (SIMLIB_atexit_function_t p) |
static void | SIMLIB_atexit_call () |
void | SetCalendar (const char *name) |
choose calendar implementation default is list More... | |
void | SIMLIB_DoConditions () |
void | SIMLIB_Dynamic () |
performs evaluation of integrators and status blocks More... | |
Input | operator+ (Input a, Input b) |
block operator + More... | |
Input | operator- (Input a, Input b) |
block operator - More... | |
Input | operator* (Input a, Input b) |
block operator * More... | |
Input | operator/ (Input a, Input b) |
block operator / More... | |
Input | Sqr (Input x) |
square function More... | |
Input | operator- (Input a) |
unary - block operator More... | |
void | DebugON () |
start debugging output More... | |
void | DebugOFF () |
stop debugging output More... | |
unsigned long | Debug (unsigned long mode) |
void | SIMLIB_error (const enum _ErrEnum N) |
print error message and abort program More... | |
void | SIMLIB_error (const char *fmt,...) |
print error message and abort program More... | |
void | SIMLIB_error (const char *filename, const int linenum) |
print error message and abort program More... | |
void | SIMLIB_warning (const enum _ErrEnum N) |
print warning message and continue More... | |
void | SIMLIB_warning (const char *fmt,...) |
print warning message and continue More... | |
const char * | _ErrMsg (enum _ErrEnum N) |
static double | sign (double x) |
Input | Abs (Input x) |
Input | Sin (Input x) |
Input | Cos (Input x) |
Input | Tan (Input x) |
Input | ASin (Input x) |
Input | ACos (Input x) |
Input | ATan (Input x) |
Input | ATan2 (Input y, Input x) |
Input | Exp (Input x) |
Input | Log10 (Input x) |
Input | Ln (Input x) |
Input | Pow (Input x, Input y) |
Input | Sign (Input x) |
Input | Sqrt (Input x) |
Input | Min (Input x, Input y) |
Input | Max (Input x, Input y) |
static unsigned * | Alloc (unsigned n) |
void | SIMLIB_DoActions () |
void | SIMLIB_ContinueInit () |
void | SIMLIB_WUClear () |
double | min (double a, double b) |
double | max (double a, double b) |
std::string | SIMLIB_create_tmp_name (const char *fmt,...) |
printf-like function to create temporary name (the length of temporary names is limited) used only for printing More... | |
void | ContractStep () |
contract step of integration More... | |
void | ContractStep (double time) |
contract step of integration to end step time More... | |
void | SetStep (double dtmin, double dtmax) |
Set integration step interval. More... | |
void | SetAccuracy (double abserr, double relerr) |
set max. More... | |
void | SetAccuracy (double relerr) |
set max. More... | |
void | SetName (SimObject &o, const std::string &name) |
assign name to object More... | |
void | SetName (SimObject *o, const std::string &name) |
assign name to object More... | |
void | RemoveName (SimObject &o) |
remove name More... | |
void | RemoveName (SimObject *o) |
remove name More... | |
std::string | GetName (SimObject &o) |
get name of object More... | |
std::string | GetName (SimObject *o) |
get name of object More... | |
void | SetErrNo (int num) |
static double | hooke_step (double *delta, opt_function_t f, ParameterVector &p, double min0) |
double | Optimize_hooke (opt_function_t f, ParameterVector ¶meter, double rho, double epsilon, int itermax) |
bool | operator== (const ParameterVector &p1, const ParameterVector &p2) |
bool | accept_bad (double eps) |
void | move_to_next_point (ParameterVector &p, double eps) |
double | Optimize_simann (double(*f)(const ParameterVector &p), ParameterVector &p, int MAXT) |
double | Optimize_simann (opt_function_t f, ParameterVector &p, int MAXT) |
double | Optimize_gradient (opt_function_t f, ParameterVector &p, double MAXITER) |
void | SetOutput (const char *name) |
redirects Output(), Print() to file More... | |
int | _Print (const char *fmt,...) |
output of messages to stdout, too More... | |
int | Print (const char *fmt,...) |
for Output methods, can be redirected More... | |
int | Print (const double x) |
output single value More... | |
int | Print (const double x, const double y) |
output 2 values More... | |
int | Print (const double x, const double y, const double z) |
output 3 values More... | |
void | Error (const char *fmt,...) |
print message and terminate program More... | |
static void | THREAD_INTERRUPT_f () __attribute__((noinline)) |
Special function called from Process::Behavior() directly or indirectly. More... | |
static void | FREE_CONTEXT () __attribute__((noinline)) |
non-inline function for deallocating saved process context More... | |
void | RandomSeed (long seed) |
initialize random number seed More... | |
double | Random () |
base uniform generator (range 0-0.999999...) the default implementation is simple LCG 32bit More... | |
void | SetBaseRandomGenerator (double(*new_gen)()) |
set another random generator default Random() implementation can be replaced More... | |
double | SIMLIB_RandomBase () |
static double | _gam (double AK) |
double | Uniform (double l, double h) |
Uniform distribution generator. More... | |
double | Normal (double mi, double sigma) |
Gauss distribution generator. More... | |
double | Weibul (double lambda, double alfa) |
Weibul distribution generator. More... | |
double | Erlang (double alfa, int beta) |
Erlang distribution generator. More... | |
int | NegBin (double q, int k) |
double | Gamma (double alfa, double beta) |
Gamma distribution generator. More... | |
double | Exponential (double mv) |
Exponential distribution generator. More... | |
int | NegBinM (double p, int m) |
double | Beta (double th, double fi, double min, double max) |
Beta distribution generator. More... | |
double | Triag (double mod, double min, double max) |
double | Logar (double mi, double delta) |
double | Rayle (double delta) |
int | Poisson (double lambda) |
Poisson distribution generator. More... | |
int | Geom (double q) |
int | HyperGeom (double p, int n, int m) |
DEFINE_HOOK (Delay) | |
DEFINE_HOOK (DelayInit) | |
void | SampleDelays () |
DEFINE_HOOK (ZDelayTimerInit) | |
DEFINE_HOOK (Break) | |
void | InstallBreak (void(*f)()) |
InstallBreak — set function for checking if user breaks simulation. More... | |
DEFINE_HOOK (SamplerAct) | |
DEFINE_HOOK (SamplerInit) | |
DEFINE_HOOK (WUclear) | |
DEFINE_HOOK (WUget_next) | |
void | Stop () |
stop current simulation run More... | |
void | Abort () |
end simulation program More... | |
void | SIMLIB_Init (double T0, double T1, unsigned version) |
void | Run () |
run simulation experiment More... | |
const char * | SIMLIB_version_string () |
Get version of SIMLIB. More... | |
void | Init (double t0, double t1=SIMLIB_MAXTIME) |
Initialize simulator and model time. More... | |
void | SetStep (double dt) |
set fixed integration step More... | |
void | Activate (Entity *e) |
activate entity e More... | |
void | Passivate (Entity *e) |
passivate entity e More... | |
void | SetMethod (const char *name) |
select the integration method More... | |
const char * | GetMethod (void) |
get the name of the method which is used More... | |
void | SetStarter (const char *name, const char *slave_name) |
set the method which will be used to start given multistep method More... | |
void | SetStarter (const char *slave_name) |
set the method which will be used to start currently used multistep method More... | |
const char * | GetStarter (const char *name) |
get the name of the method which is used to start given multistep method More... | |
const char * | GetStarter (void) |
get the name of the method which is used to start currently used multistep method More... | |
double | abs (const Value2D &a) |
Value2D | operator+ (const Value2D &a, const Value2D &b) |
Value2D | operator- (const Value2D &a, const Value2D &b) |
Value2D | operator- (const Value2D &a) |
Value2D | operator* (const Value2D &a, const double b) |
Value2D | operator* (const double a, const Value2D &b) |
double | scalar_product (const Value2D &a, const Value2D &b) |
Value2D | operator/ (const Value2D &a, const double b) |
Input2D | operator+ (Input2D a, Input2D b) |
Input2D | operator- (Input2D a, Input2D b) |
Input2D | operator* (Input2D a, Input b) |
Input2D | operator* (Input a, Input2D b) |
Input2D | operator/ (Input2D a, Input b) |
Input2D | operator- (Input2D a) |
Input | Abs (Input2D x) |
absolute value of vector (1D block) More... | |
Input2D | UnitVector (Input2D v) |
make unit vector from input (Abs(output_vec)==1) More... | |
Input | ScalarProduct (Input2D x, Input2D y) |
dot product: xvec . yvec More... | |
Input | Xpart (Input2D a) |
get x part of (x,y) vector value More... | |
Input | Ypart (Input2D a) |
get y part of (x,y) vector value More... | |
void | Print (Value2D a) |
double | abs (const Value3D &a) |
Value3D | operator+ (const Value3D &a, const Value3D &b) |
Value3D | operator- (const Value3D &a, const Value3D &b) |
Value3D | operator- (const Value3D &a) |
Value3D | operator* (const Value3D &a, const Value3D &b) |
Value3D | operator* (const Value3D &a, const double b) |
Value3D | operator* (const double a, const Value3D &b) |
double | scalar_product (const Value3D &a, const Value3D &b) |
Value3D | operator/ (const Value3D &a, const double b) |
Input3D | operator+ (Input3D a, Input3D b) |
Input3D | operator- (Input3D a, Input3D b) |
Input3D | operator* (Input3D a, Input3D b) |
Input3D | operator* (Input3D a, Input b) |
Input3D | operator* (Input a, Input3D b) |
Input3D | operator/ (Input3D a, Input b) |
Input3D | operator- (Input3D a) |
Input | Abs (Input3D x) |
absolute value of vector (1D block) More... | |
Input3D | UnitVector (Input3D x) |
make unit vector from input (Abs(output_vec)==1) More... | |
Input | ScalarProduct (Input3D x, Input3D y) |
dot product: xvec . yvec More... | |
Input | Xpart (Input3D a) |
get x part of (x,y,z) vector value More... | |
Input | Ypart (Input3D a) |
get y part of (x,y,z) vector value More... | |
Input | Zpart (Input3D a) |
get z part of (x,y,z) vector value More... | |
void | Print (Value3D a) |
void | WU_print () |
Variables | |
SIMLIB_IMPLEMENTATION | |
static const int | MAX_ATEXIT = 10 |
static int | counter = 0 |
static SIMLIB_atexit_function_t | atexit_array [MAX_ATEXIT] = { 0, } |
class simlib3::EventNoticeAllocator | allocator |
const unsigned | LIST_MAX = 512 |
const unsigned | MINBUCKETS = LIST_MAX>4?LIST_MAX:4 |
const unsigned | LIST_MIN = LIST_MAX/2 |
const double | COEF_PAR = 1.5 |
const double | MUL_PAR = 1.0 |
bool | SIMLIB_ConditionFlag = false |
static class _Time | _T |
block – simulation time More... | |
aContiBlock & | T = _T |
simulation time block reference More... | |
unsigned long | SIMLIB_debug_flag = 0UL |
static unsigned long | SIMLIB_Entity_Count = 0L |
current number of entities in model More... | |
static const char | _Errors [] |
const unsigned | MAXHISTOCOUNT = 10000 |
static SIMLIB_module | SIMLIB_module_id |
Create single global registration object in each SIMLIB module. More... | |
const SIMLIB_Phase_t & | Phase = SIMLIB_Phase |
This variable contains the current phase of experiment (used for internal checking) More... | |
double | SIMLIB_Time |
bool | SIMLIB_DynamicFlag = false |
in dynamic section More... | |
bool | SIMLIB_ResetStatus = false |
flag set if there is a need for integration method restart More... | |
SIMLIB_Phase_t | SIMLIB_Phase = START |
Entity * | SIMLIB_Current = NULL |
int | SIMLIB_ERRNO =0 |
bool | SIMLIB_ContractStepFlag = false |
requests shorter step More... | |
double | SIMLIB_ContractStep = SIMLIB_MAXTIME |
requested step size More... | |
double | SIMLIB_StepStartTime |
last step time More... | |
double | SIMLIB_DeltaTime |
Time-SIMLIB_StepStartTime. More... | |
double | SIMLIB_OptStep |
optimal step More... | |
double | SIMLIB_MinStep =1e-10 |
minimal step More... | |
double | SIMLIB_MaxStep =1 |
max. step More... | |
double | SIMLIB_StepSize |
actual step More... | |
double | SIMLIB_AbsoluteError =0 |
absolute error More... | |
double | SIMLIB_RelativeError =0.001 |
relative error More... | |
double | SIMLIB_StartTime |
double | SIMLIB_NextTime |
double | SIMLIB_EndTime |
const double & | MinStep =SIMLIB_MinStep |
minimal integration step More... | |
const double & | MaxStep =SIMLIB_MaxStep |
maximal integration step More... | |
const double & | StepSize =SIMLIB_StepSize |
actual integration step More... | |
const double & | OptStep =SIMLIB_OptStep |
optimal integration step More... | |
const double & | AbsoluteError =SIMLIB_AbsoluteError |
max. abs. error of integration More... | |
const double & | RelativeError =SIMLIB_RelativeError |
max. rel. error More... | |
Constant | SIMLIB_Integrator_0input (0) |
dummy input with zero value More... | |
const int | abm_ord =4 |
ABM4 | abm4 ("abm4", "rkf5") |
Adams-Bashforth-Moulton, 4th order. More... | |
EULER | euler ("euler") |
Euler method. More... | |
FW | fw ("fw") |
Fowler-Warten (Warning: needs testing, do not use) More... | |
RKE | rke ("rke") |
Runge-Kutta-England, 4th order? More... | |
RKF3 | rkf3 ("rkf3") |
Runge-Kutta-Fehlberg, 3rd order. More... | |
RKF5 | rkf5 ("rkf5") |
Runge-Kutta-Fehlberg, 5th order. More... | |
RKF8 | rkf8 ("rkf8") |
Runge-Kutta-Fehlberg, 8th order. More... | |
static bool | SimObject_allocated = false |
static NameDict | name_dict |
class simlib3::_FileWrap | OutFile |
static jmp_buf | P_DispatcherStatusBuffer |
setjmp() state before dispatch More... | |
static char *volatile | P_StackBase = 0 |
global start of stack area More... | |
static char *volatile | P_StackBase2 = 0 |
for checking start of stack More... | |
static P_Context_t *volatile | P_Context = 0 |
temporary global process state More... | |
static volatile size_t | P_StackSize = 0 |
temporary global stack size More... | |
const myint32 | INICONST = 1537L |
const myint32 | MULCONST = 1220703125L |
const myint32 | MAXLONGINT = 0x7FFFFFFFUL |
const myint32 | SIGNBIT = 0x80000000UL |
static myint32 | SIMLIB_RandomSeed = INICONST |
static double(* | SIMLIB_RandomBasePtr )() = SIMLIB_RandomBase |
const double & | StartTime = SIMLIB_StartTime |
time of simulation start More... | |
const double & | Time = SIMLIB_Time |
model time (is NOT the block) More... | |
const double & | NextTime = SIMLIB_NextTime |
next-event time More... | |
const double & | EndTime = SIMLIB_EndTime |
time of simulation end More... | |
Entity *const & | Current = SIMLIB_Current |
pointer to active (now running) entity More... | |
unsigned long | SIMLIB_experiment_no = 0 |
static SIMLIB_statistics_t | SIMLIB_run_statistics |
const SIMLIB_statistics_t & | SIMLIB_statistics = SIMLIB_run_statistics |
interface to internal run-time statistics structure More... | |
static bool | StopFlag = false |
const unsigned | SIMLIB_version = __SIMLIB__ |
library version More... | |
const double | SIMLIB_MINTIME = 0.0 |
minimal time value More... | |
const double | SIMLIB_MAXTIME = 1.0e30 |
maximum time (1e30 works for float, too) More... | |
static Constant2D | Zero2D (0, 0) |
static Constant3D | Zero3D (0, 0, 0) |
static bool | flag = false |
Implementation of class CalendarList
interface is static - using global functions in SQS namespace.
Main SIMLIB (version 3+) namespace.
uses double-linked list and dynamic calendar queue [brown1988]
Usage: using namespace simlib3;
typedef Blash simlib3::Backlash |
typedef Insv simlib3::DeadZone |
typedef signed char simlib3::EntityPriority_t |
typedef Frict simlib3::Friction |
typedef Hyst simlib3::Hysteresis |
typedef Lim simlib3::Limitation |
typedef long simlib3::myint32 |
Definition at line 39 of file random1.cc.
typedef double(* simlib3::opt_function_t) (const ParameterVector &p) |
Definition at line 83 of file optimize.h.
typedef Qntzr simlib3::Quantizer |
typedef unsigned char simlib3::ServicePriority_t |
Service priority (see Facility::Seize)
typedef void(* simlib3::SIMLIB_atexit_function_t) () |
Definition at line 150 of file internal.h.
typedef void(* simlib3::VoidFunctionPtr) () |
Definition at line 177 of file internal.h.
anonymous enum |
enum simlib3::_ErrEnum |
enum simlib3::_ErrEnum |
Definition at line 10 of file internal.h.
values indicate current phase of experiment
Enumerator | |
---|---|
START | |
INITIALIZATION | |
SIMULATION | |
TERMINATION | |
ERROREXIT |
Definition at line 76 of file internal.h.
const char * simlib3::_ErrMsg | ( | enum _ErrEnum | N | ) |
Definition at line 97 of file errors.cc.
References _Errors.
Referenced by SIMLIB_error(), and SIMLIB_warning().
|
static |
int simlib3::_Print | ( | const char * | fmt, |
... | |||
) |
output of messages to stdout, too
fmt | format string (the same as for printf() ) |
Definition at line 68 of file print.cc.
References simlib3::_FileWrap::OutFile.
Referenced by Error(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), SetStep(), SIMLIB_error(), SIMLIB_warning(), and WU_print().
void simlib3::Abort | ( | ) |
double simlib3::abs | ( | const Value3D & | a | ) |
Definition at line 38 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
double simlib3::abs | ( | const Value2D & | a | ) |
Definition at line 38 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
Referenced by simlib3::_Abs2D::Value(), simlib3::_Norm2D::Value(), simlib3::_Abs3D::Value(), and simlib3::_Norm3D::Value().
Definition at line 94 of file fun.cc.
Referenced by simlib3::Integrator3D::Init(), and simlib3::Integrator2D::SetInput().
absolute value of vector (1D block)
Definition at line 387 of file simlib2D.cc.
absolute value of vector (1D block)
Definition at line 406 of file simlib3D.cc.
bool simlib3::accept_bad | ( | double | eps | ) |
|
inline |
activate entity e
Definition at line 431 of file simlib.h.
References simlib3::Entity::Activate().
Referenced by simlib3::Entity::Activate(), and main().
|
static |
Definition at line 35 of file histo.cc.
Referenced by simlib3::Histogram::Histogram(), and simlib3::Histogram::Init().
Definition at line 103 of file fun.cc.
References simlib3::Function2::Function2().
double simlib3::Beta | ( | double | th, |
double | fi, | ||
double | min, | ||
double | max | ||
) |
Beta distribution generator.
th | |
fi | |
min | |
max |
Definition at line 181 of file random2.cc.
Referenced by SetStep().
void simlib3::ContractStep | ( | ) |
contract step of integration
request for shorter step of num. integ.
Definition at line 64 of file intg.cc.
Referenced by simlib3::Relay::Eval(), SetStep(), and simlib3::Condition::Test().
void simlib3::ContractStep | ( | double | time | ) |
contract step of integration to end step time
request for step end (at most) at given time
time | expected end of step time |
Definition at line 72 of file intg.cc.
References SIMLIB_MinStep, and SIMLIB_StepStartTime.
unsigned long simlib3::Debug | ( | unsigned long | mode | ) |
Definition at line 48 of file debug.cc.
References NoDebugErr, SIMLIB_debug_flag, and SIMLIB_warning().
Referenced by DebugOFF(), and DebugON().
void simlib3::DebugOFF | ( | ) |
void simlib3::DebugON | ( | ) |
simlib3::DEFINE_HOOK | ( | Delay | ) |
Referenced by InstallBreak(), SampleDelays(), and SIMLIB_WUClear().
simlib3::DEFINE_HOOK | ( | DelayInit | ) |
simlib3::DEFINE_HOOK | ( | ZDelayTimerInit | ) |
simlib3::DEFINE_HOOK | ( | Break | ) |
simlib3::DEFINE_HOOK | ( | SamplerAct | ) |
simlib3::DEFINE_HOOK | ( | SamplerInit | ) |
simlib3::DEFINE_HOOK | ( | WUclear | ) |
simlib3::DEFINE_HOOK | ( | WUget_next | ) |
double simlib3::Erlang | ( | double | alfa, |
int | beta | ||
) |
Erlang distribution generator.
alfa | |
beta |
Definition at line 109 of file random2.cc.
References ErlangError, Random(), and SIMLIB_error().
Referenced by SetStep().
void simlib3::Error | ( | const char * | fmt, |
... | |||
) |
print message and terminate program
Definition at line 123 of file print.cc.
References _Print(), simlib3::_FileWrap::OutFile, SIMLIB_error(), and UserError.
Referenced by simlib3::Barrier::ChangeHeight(), simlib3::Barrier::Init(), and SetStep().
double simlib3::Exponential | ( | double | mv | ) |
Exponential distribution generator.
mv | mean value |
Definition at line 152 of file random2.cc.
References Random().
Referenced by SetStep().
|
static |
non-inline function for deallocating saved process context
Definition at line 241 of file process.cc.
Referenced by THREAD_INTERRUPT_f().
double simlib3::Gamma | ( | double | alfa, |
double | beta | ||
) |
Gamma distribution generator.
alfa | |
beta |
Definition at line 141 of file random2.cc.
References _gam().
Referenced by SetStep().
int simlib3::Geom | ( | double | q | ) |
Definition at line 257 of file random2.cc.
References GeomError, Random(), and SIMLIB_error().
Referenced by SetStep().
std::string simlib3::GetName | ( | SimObject & | o | ) |
get name of object
Definition at line 66 of file name.cc.
References simlib3::SimObject::Name().
Referenced by simlib3::Newton::Newton().
std::string simlib3::GetName | ( | SimObject * | o | ) |
|
static |
Definition at line 29 of file opt-hooke.cc.
References simlib3::ParameterVector::size().
Referenced by Optimize_hooke().
int simlib3::HyperGeom | ( | double | p, |
int | n, | ||
int | m | ||
) |
Definition at line 270 of file random2.cc.
References HyperGeomError1, HyperGeomError2, Random(), and SIMLIB_error().
Referenced by SetStep().
|
inline |
Initialize simulator and model time.
t0 | simulation start time |
t1 | simulation end time |
Definition at line 181 of file simlib.h.
References __SIMLIB__, SetCalendar(), SetStep(), and SIMLIB_Init().
Referenced by main().
double simlib3::Logar | ( | double | mi, |
double | delta | ||
) |
Definition at line 115 of file fun.cc.
References simlib3::Function2::Function2(), and max().
Referenced by simlib3::Sampler::GetStep().
|
inline |
Definition at line 286 of file internal.h.
Referenced by simlib3::Hyst::Eval(), simlib3::Blash::Eval(), simlib3::Sampler::GetStep(), simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), Max(), simlib3::Stat::Max(), simlib3::TStat::Max(), simlib3::Stat::Output(), simlib3::TStat::Output(), and SetStep().
Definition at line 114 of file fun.cc.
References simlib3::Function2::Function2(), and min().
Referenced by simlib3::Sampler::GetStep().
|
inline |
Definition at line 285 of file internal.h.
Referenced by Beta(), simlib3::Hyst::Eval(), simlib3::Blash::Eval(), simlib3::Sampler::GetStep(), simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), Min(), simlib3::Stat::Min(), simlib3::TStat::Min(), simlib3::Stat::Output(), simlib3::TStat::Output(), SetStep(), and Triag().
void simlib3::move_to_next_point | ( | ParameterVector & | p, |
double | eps | ||
) |
Definition at line 39 of file opt-simann.cc.
References Random(), and simlib3::ParameterVector::size().
Referenced by Optimize_simann().
int simlib3::NegBin | ( | double | q, |
int | k | ||
) |
Definition at line 121 of file random2.cc.
References NegBinError, Random(), and SIMLIB_error().
Referenced by SetStep().
int simlib3::NegBinM | ( | double | p, |
int | m | ||
) |
Definition at line 164 of file random2.cc.
References NegBinMError1, NegBinMError2, Random(), and SIMLIB_error().
Referenced by SetStep().
double simlib3::Normal | ( | double | mi, |
double | sigma | ||
) |
Definition at line 58 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 66 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 68 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
Definition at line 71 of file simlib3D.cc.
Definition at line 73 of file simlib2D.cc.
block operator *
Definition at line 228 of file continuous.cc.
Definition at line 312 of file simlib2D.cc.
Definition at line 313 of file simlib2D.cc.
Definition at line 330 of file simlib3D.cc.
Definition at line 331 of file simlib3D.cc.
Definition at line 332 of file simlib3D.cc.
Definition at line 43 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 43 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
block operator +
Definition at line 224 of file continuous.cc.
Definition at line 310 of file simlib2D.cc.
Definition at line 328 of file simlib3D.cc.
Definition at line 48 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 48 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
Definition at line 53 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 53 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
block operator -
Definition at line 226 of file continuous.cc.
unary - block operator
Definition at line 262 of file continuous.cc.
Definition at line 311 of file simlib2D.cc.
Definition at line 329 of file simlib3D.cc.
Definition at line 334 of file simlib2D.cc.
Definition at line 353 of file simlib3D.cc.
Definition at line 81 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 83 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
block operator /
Definition at line 230 of file continuous.cc.
Definition at line 314 of file simlib2D.cc.
Definition at line 333 of file simlib3D.cc.
bool simlib3::operator== | ( | const ParameterVector & | p1, |
const ParameterVector & | p2 | ||
) |
Definition at line 86 of file opt-param.cc.
References simlib3::ParameterVector::n, and simlib3::ParameterVector::size().
Referenced by simlib3::ParameterVector::operator[]().
double simlib3::Optimize_gradient | ( | opt_function_t | f, |
ParameterVector & | p, | ||
double | MAXITER | ||
) |
double simlib3::Optimize_hooke | ( | opt_function_t | f, |
ParameterVector & | parameter, | ||
double | rho, | ||
double | epsilon, | ||
int | itermax | ||
) |
Definition at line 57 of file opt-hooke.cc.
References hooke_step(), Print(), simlib3::ParameterVector::PrintValues(), and simlib3::ParameterVector::size().
double simlib3::Optimize_simann | ( | double(*)(const ParameterVector &p) | f, |
ParameterVector & | p, | ||
int | MAXT | ||
) |
Definition at line 52 of file opt-simann.cc.
References accept_bad(), move_to_next_point(), and Print().
double simlib3::Optimize_simann | ( | opt_function_t | f, |
ParameterVector & | p, | ||
int | MAXT | ||
) |
|
inline |
passivate entity e
Definition at line 432 of file simlib.h.
References simlib3::Entity::Passivate().
Referenced by simlib3::Process::_WaitUntil(), simlib3::Entity::Activate(), and simlib3::Semaphore::P().
int simlib3::Poisson | ( | double | lambda | ) |
Poisson distribution generator.
lambda |
Definition at line 229 of file random2.cc.
References Normal(), PoissonError, Random(), and SIMLIB_error().
Referenced by SetStep().
Definition at line 108 of file fun.cc.
References simlib3::Function2::Function2().
int simlib3::Print | ( | const char * | fmt, |
... | |||
) |
for Output methods, can be redirected
Definition at line 92 of file print.cc.
References simlib3::_FileWrap::OutFile.
Referenced by simlib3::CalendarListImplementation::debug_print(), simlib3::CalendarList::debug_print(), simlib3::CalendarQueue::debug_print(), main(), Optimize_hooke(), Optimize_simann(), simlib3::SimObject::Output(), simlib3::Process::Output(), simlib3::Event::Output(), simlib3::Sampler::Output(), simlib3::Stat::Output(), simlib3::TStat::Output(), simlib3::List::Output(), simlib3::Queue::Output(), simlib3::Histogram::Output(), simlib3::Facility::Output(), simlib3::Store::Output(), simlib3::Semaphore::Output(), simlib3::Barrier::Output(), simlib3::SIMLIB_statistics_t::Output(), Print(), Sample(), SetStep(), and simlib3::CalendarQueue::visualize().
int simlib3::Print | ( | const double | x | ) |
int simlib3::Print | ( | const double | x, |
const double | y | ||
) |
int simlib3::Print | ( | const double | x, |
const double | y, | ||
const double | z | ||
) |
|
inline |
Definition at line 237 of file simlib2D.h.
References simlib3::Value2D::Print().
|
inline |
Definition at line 245 of file simlib3D.h.
References simlib3::Value3D::Print().
double simlib3::Random | ( | ) |
base uniform generator (range 0-0.999999...) the default implementation is simple LCG 32bit
Definition at line 95 of file random1.cc.
References SIMLIB_RandomBasePtr.
Referenced by _gam(), accept_bad(), Erlang(), Exponential(), Geom(), HyperGeom(), move_to_next_point(), NegBin(), NegBinM(), Normal(), Poisson(), Rayle(), SetStep(), Triag(), Uniform(), and Weibul().
void simlib3::RandomSeed | ( | long | seed | ) |
initialize random number seed
seed | initial value of generator state |
Definition at line 64 of file random1.cc.
Referenced by SetStep().
double simlib3::Rayle | ( | double | delta | ) |
void simlib3::RemoveName | ( | SimObject & | o | ) |
remove name
Definition at line 54 of file name.cc.
References simlib3::SimObject::SetName().
Referenced by simlib3::Newton::Newton().
void simlib3::RemoveName | ( | SimObject * | o | ) |
void simlib3::Run | ( | ) |
run simulation experiment
Definition at line 228 of file run.cc.
References _SetTime, CALL_HOOK, simlib3::SQS::Clear(), Dprintf, simlib3::SQS::Empty(), simlib3::SIMLIB_statistics_t::EndTime, simlib3::SIMLIB_statistics_t::EventCount, simlib3::SQS::GetFirst(), simlib3::SIMLIB_statistics_t::Init(), INITIALIZATION, simlib3::IntegrationMethod::IntegrationDone(), simlib3::IntegratorContainer::isAny(), simlib3::StatusContainer::isAny(), simlib3::SIMLIB_statistics_t::MaxStep, simlib3::SIMLIB_statistics_t::MinStep, RunUseError, SIMLIB_ContinueInit(), SIMLIB_DoActions(), SIMLIB_DoConditions(), SIMLIB_error(), SIMLIB_internal_error, SIMLIB_ResetStatus, SIMULATION, simlib3::SIMLIB_statistics_t::StartTime, simlib3::SIMLIB_statistics_t::StepCount, simlib3::IntegrationMethod::StepSim(), StepSize, TERMINATION, and Time.
void simlib3::SampleDelays | ( | ) |
Definition at line 92 of file run.cc.
References CALL_HOOK, and DEFINE_HOOK().
Referenced by SIMLIB_DoConditions().
Definition at line 76 of file simlib3D.cc.
References simlib3::Value3D::_x, simlib3::Value3D::_y, and simlib3::Value3D::_z.
Definition at line 78 of file simlib2D.cc.
References simlib3::Value2D::_x, and simlib3::Value2D::_y.
Referenced by simlib3::_ScalarProduct2D::Value(), and simlib3::_ScalarProduct3D::Value().
dot product: xvec . yvec
Definition at line 389 of file simlib2D.cc.
Referenced by simlib3::Integrator3D::Init(), and simlib3::Integrator2D::SetInput().
dot product: xvec . yvec
Definition at line 408 of file simlib3D.cc.
void simlib3::SetAccuracy | ( | double | abserr, |
double | relerr | ||
) |
set max.
error estimate for numerical integration method used for adaptive stepsize control
abserr | absolute tolerance |
relerr | tolerance relative to integrator value |
Definition at line 106 of file intg.cc.
References Dprintf, SetAccuracyError, and SIMLIB_error().
Referenced by main(), SetAccuracy(), and SetStep().
void simlib3::SetAccuracy | ( | double | relerr | ) |
set max.
relative error estimate for numerical integration method
relerr | tolerance relative to integrator value |
Definition at line 116 of file intg.cc.
References SetAccuracy().
void simlib3::SetBaseRandomGenerator | ( | double(*)() | new_gen | ) |
set another random generator default Random() implementation can be replaced
new_gen | pointer to user-defined function |
Definition at line 103 of file random1.cc.
References SIMLIB_RandomBase(), and SIMLIB_RandomBasePtr.
Referenced by SetStep().
void simlib3::SetCalendar | ( | const char * | name | ) |
choose calendar implementation default is list
Set calendar implementation.
name | String identification of calendar: "list", "cq" |
Definition at line 1250 of file calendar.cc.
References simlib3::CalendarList::create(), simlib3::CalendarQueue::create(), simlib3::Calendar::delete_instance(), INITIALIZATION, SIMLIB_error(), SIMLIB_Phase, and SIMULATION.
Referenced by Init().
void simlib3::SetErrNo | ( | int | num | ) |
Definition at line 327 of file numint.cc.
References SIMLIB_ERRNO.
Referenced by simlib3::IntegrationMethod::GetMethod().
void simlib3::SetName | ( | SimObject & | o, |
const std::string & | name | ||
) |
assign name to object
Definition at line 42 of file name.cc.
References simlib3::SimObject::SetName().
void simlib3::SetName | ( | SimObject * | o, |
const std::string & | name | ||
) |
assign name to object
Definition at line 48 of file name.cc.
References simlib3::SimObject::SetName().
void simlib3::SetOutput | ( | const char * | name | ) |
redirects Output(), Print() to file
name | name of output file |
Definition at line 50 of file print.cc.
References simlib3::_FileWrap::OutFile.
Referenced by SetStep().
void simlib3::SetStep | ( | double | dtmin, |
double | dtmax | ||
) |
Set integration step interval.
dtmin | min. step size |
dtmax | max. step size (can be slightly increased) |
Definition at line 92 of file intg.cc.
References Dprintf, SetStepError, and SIMLIB_error().
|
inline |
set fixed integration step
dt | (almost) fixed step size |
Definition at line 196 of file simlib.h.
References _Print(), Abort(), Beta(), ContractStep(), Erlang(), Error(), Exponential(), Gamma(), Geom(), HyperGeom(), Logar(), max(), min(), NegBin(), NegBinM(), Normal(), Poisson(), Print(), Random(), RandomSeed(), Rayle(), Run(), SetAccuracy(), SetBaseRandomGenerator(), SetOutput(), SetStep(), Stop(), Triag(), Uniform(), and Weibul().
|
static |
void simlib3::SIMLIB_atexit | ( | SIMLIB_atexit_function_t | p | ) |
Definition at line 26 of file atexit.cc.
References DBG_ATEXIT, DEBUG, MAX_ATEXIT, and SIMLIB_internal_error.
Referenced by simlib3::WaitUntilList::create(), simlib3::CalendarList::create(), and simlib3::CalendarQueue::create().
|
static |
Definition at line 39 of file atexit.cc.
References DBG_ATEXIT, DEBUG, and MAX_ATEXIT.
Referenced by simlib3::SIMLIB_module::~SIMLIB_module().
void simlib3::SIMLIB_ContinueInit | ( | ) |
Definition at line 125 of file intg.cc.
References simlib3::IntegratorContainer::InitAll(), simlib3::StatusContainer::InitAll(), simlib3::aCondition::InitAll(), simlib3::IntegratorContainer::isAny(), simlib3::StatusContainer::isAny(), simlib3::aCondition::isAny(), simlib3::aCondition::SetAll(), SIMLIB_Dynamic(), SIMLIB_MaxStep, SIMLIB_Time, and simlib3::aCondition::TestAll().
Referenced by Run(), and SIMLIB_Init().
std::string simlib3::SIMLIB_create_tmp_name | ( | const char * | fmt, |
... | |||
) |
printf-like function to create temporary name (the length of temporary names is limited)
used only for printing
Definition at line 80 of file name.cc.
Referenced by simlib3::Queue::clear(), simlib3::Hyst::Eval(), simlib3::Blash::Eval(), simlib3::Relay::Eval(), simlib3::Process::Name(), simlib3::Event::Name(), simlib3::AlgLoop::Set(), SIMLIB_DoConditions(), simlib3::Entity::Terminate(), simlib3::_Add::Value(), simlib3::_Sub::Value(), simlib3::_Mul::Value(), simlib3::_Div::Value(), simlib3::_UMinus::Value(), simlib3::Integrator::Value(), simlib3::Status::Value(), simlib3::Function1::Value(), simlib3::Function2::Value(), simlib3::Lim::Value(), simlib3::Insv::Value(), simlib3::Qntzr::Value(), simlib3::Frict::Value(), simlib3::Rline::Value(), and simlib3::AlgLoopDetector::~AlgLoopDetector().
void simlib3::SIMLIB_DoActions | ( | ) |
Definition at line 135 of file run.cc.
References simlib3::Entity::_Run(), and CALL_HOOK.
Referenced by simlib3::Entity::Cancel(), and Run().
void simlib3::SIMLIB_DoConditions | ( | ) |
Definition at line 139 of file cond.cc.
References simlib3::aCondition::AllActions(), simlib3::SimObject::HasName(), simlib3::SimObject::Name(), SampleDelays(), simlib3::aCondition::SetAll(), SIMLIB_create_tmp_name(), and SIMLIB_ResetStatus.
Referenced by Run().
void simlib3::SIMLIB_Dynamic | ( | ) |
performs evaluation of integrators and status blocks
Definition at line 35 of file continuous.cc.
References simlib3::StatusContainer::ClearAllValueOK(), simlib3::IntegratorContainer::EvaluateAll(), and simlib3::StatusContainer::EvaluateAll().
Referenced by simlib3::IntegrationMethod::FunCall(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), simlib3::IntegrationMethod::Prepare(), and SIMLIB_ContinueInit().
void simlib3::SIMLIB_error | ( | const enum _ErrEnum | N | ) |
print error message and abort program
print specific error messages
Definition at line 38 of file error.cc.
References _ABORT_TXT, _ERR_TXT, _ErrMsg(), _Print(), ERROREXIT, SIMLIB_DynamicFlag, SIMLIB_Phase, and Time.
Referenced by simlib3::aContiBlock2D::_Eval(), simlib3::aContiBlock3D::_Eval(), simlib3::aContiBlock::_Eval(), simlib3::Process::_Run(), simlib3::aContiBlock1::aContiBlock1(), simlib3::aContiBlock2::aContiBlock2(), simlib3::aContiBlock2D1::aContiBlock2D1(), simlib3::aContiBlock2D2::aContiBlock2D2(), simlib3::aContiBlock2D3::aContiBlock2D3(), simlib3::aContiBlock3::aContiBlock3(), simlib3::aContiBlock3D1::aContiBlock3D1(), simlib3::aContiBlock3D2::aContiBlock3D2(), simlib3::aContiBlock3D3::aContiBlock3D3(), simlib3::AlgLoop::AlgLoop(), simlib3::Integrator::CtrInit(), simlib3::Status::CtrInit(), simlib3::Calendar::delete_instance(), simlib3::Store::Enter(), Erlang(), Error(), simlib3::CalendarQueue::estimate_bucket_width(), simlib3::Frict::Frict(), Geom(), simlib3::SIMLIB_DelayBuffer::get(), simlib3::CalendarList::Get(), simlib3::CalendarQueue::Get(), simlib3::List::Get(), simlib3::CalendarList::GetFirst(), simlib3::CalendarQueue::GetFirst(), simlib3::Histogram::Histogram(), HyperGeom(), simlib3::Histogram::Init(), simlib3::Insv::Insv(), simlib3::IntegrationMethod::IntegrationMethod(), simlib3::Store::Leave(), simlib3::Lim::Lim(), simlib3::AlgLoopDetector::lock(), simlib3::Stat::MeanValue(), simlib3::TStat::MeanValue(), NegBin(), NegBinM(), simlib3::Parameter2D::operator=(), simlib3::Parameter3D::operator=(), simlib3::Link::Out(), simlib3::Entity::Passivate(), Poisson(), simlib3::List::PostIns(), simlib3::List::PredIns(), simlib3::IntegrationMethod::Prepare(), simlib3::Qntzr::Qntzr(), simlib3::Facility::Release(), simlib3::Rline::Rline(), Run(), simlib3::SQS::ScheduleAt(), simlib3::CalendarList::ScheduleAt(), simlib3::CalendarQueue::ScheduleAt(), simlib3::IntegrationMethod::SearchMethod(), simlib3::CalendarQueue::SearchMinTime(), simlib3::Facility::Seize(), simlib3::AlgLoop::Set(), SetAccuracy(), SetCalendar(), simlib3::Store::SetCapacity(), simlib3::IntegrationMethod::SetMethod(), simlib3::MultiStepMethod::SetStarter(), SetStep(), SIMLIB_Init(), simlib3::MultiStepMethod::SlavePtr(), simlib3::Stat::StdDev(), Stop(), THREAD_INTERRUPT_f(), Uniform(), simlib3::Semaphore::V(), simlib3::Iterations::Value(), simlib3::Bisect::Value(), simlib3::RegulaFalsi::Value(), simlib3::Newton::Value(), Weibul(), simlib3::Integrator::~Integrator(), simlib3::Link::~Link(), and simlib3::Status::~Status().
void simlib3::SIMLIB_error | ( | const char * | fmt, |
... | |||
) |
void simlib3::SIMLIB_error | ( | const char * | filename, |
const int | linenum | ||
) |
print error message and abort program
print internal error messages
Definition at line 61 of file error.cc.
References _ABORT_TXT, _ErrMsg(), _INT_ERR_TXT, _Print(), ERROREXIT, InternalError, SIMLIB_DynamicFlag, SIMLIB_Phase, and Time.
void simlib3::SIMLIB_Init | ( | double | T0, |
double | T1, | ||
unsigned | version | ||
) |
Definition at line 177 of file run.cc.
References _SetTime, CALL_HOOK, simlib3::SQS::Clear(), Dprintf, InconsistentHeader, InitError, INITIALIZATION, InitInRunError, SIMLIB_ContinueInit(), SIMLIB_error(), SIMLIB_experiment_no, SIMLIB_MAXTIME, SIMLIB_MINTIME, SIMLIB_version, SIMLIB_WUClear(), SIMULATION, and TwiceInitError.
Referenced by Init().
double simlib3::SIMLIB_RandomBase | ( | ) |
Definition at line 75 of file random1.cc.
References MAXLONGINT, MULCONST, and SIMLIB_RandomSeed.
Referenced by SetBaseRandomGenerator().
const char * simlib3::SIMLIB_version_string | ( | ) |
Get version of SIMLIB.
Definition at line 13 of file version.cc.
References SIMLIB_VERSION.
void simlib3::SIMLIB_warning | ( | const enum _ErrEnum | N | ) |
print warning message and continue
print warnings
Definition at line 74 of file error.cc.
References _ErrMsg(), _Print(), _WARNING_TXT, and Time.
Referenced by Debug(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::Process::Into(), simlib3::TStat::operator()(), simlib3::Facility::SetQueue(), simlib3::Store::SetQueue(), simlib3::CalendarQueue::switchtocq(), simlib3::Iterations::Value(), simlib3::Bisect::Value(), simlib3::RegulaFalsi::Value(), and simlib3::Newton::Value().
void simlib3::SIMLIB_warning | ( | const char * | fmt, |
... | |||
) |
void simlib3::SIMLIB_WUClear | ( | ) |
Definition at line 123 of file run.cc.
References CALL_HOOK, and DEFINE_HOOK().
Referenced by SIMLIB_Init().
square function
Definition at line 233 of file continuous.cc.
void simlib3::Stop | ( | ) |
stop current simulation run
Definition at line 147 of file run.cc.
References Dprintf, SFunctionUseError, SIMLIB_error(), and SIMULATION.
Referenced by SetStep().
|
static |
Special function called from Process::Behavior() directly or indirectly.
This function: 1) computes stack content size, 2) allocates memory for stack contents, 3) saves stack contents to allocated memory, 4) saves CPU context using setjmp(), and 5) interrupts execution of current function using longjmp() to process dispatcher code, == (now run dispatcher and other code) 6) continues execution after longjmp from dispatcher. 7) frees memory allocated at 2)
Warning: This function is critical to process switching code and should not be inlined! It is never called directly by SIMLIB user.
Definition at line 603 of file process.cc.
References ALLOC_CONTEXT, CANARY2, FREE_CONTEXT(), SIMLIB_error(), simlib3::P_Context_t::stack, simlib3::P_Context_t::status, and THREAD_DEBUG.
double simlib3::Triag | ( | double | mod, |
double | min, | ||
double | max | ||
) |
double simlib3::Uniform | ( | double | l, |
double | h | ||
) |
Uniform distribution generator.
l | low limit |
h | high limit |
Definition at line 71 of file random2.cc.
References BadUniformParam, Random(), and SIMLIB_error().
Referenced by SetStep().
make unit vector from input (Abs(output_vec)==1)
Definition at line 388 of file simlib2D.cc.
Referenced by simlib3::Integrator3D::Init(), and simlib3::Integrator2D::SetInput().
make unit vector from input (Abs(output_vec)==1)
Definition at line 407 of file simlib3D.cc.
double simlib3::Weibul | ( | double | lambda, |
double | alfa | ||
) |
Weibul distribution generator.
lambda | |
alfa |
Definition at line 94 of file random2.cc.
References Random(), SIMLIB_error(), and WeibullError.
Referenced by SetStep().
void simlib3::WU_print | ( | ) |
Definition at line 75 of file waitunti.cc.
References _Print(), simlib3::WaitUntilList::begin(), simlib3::WaitUntilList::current, simlib3::WaitUntilList::end(), and simlib3::WaitUntilList::instance.
get x part of (x,y) vector value
Definition at line 420 of file simlib2D.cc.
References simlib3::_XYpart::x.
Referenced by simlib3::Integrator3D::Init(), and simlib3::Integrator2D::SetInput().
get x part of (x,y,z) vector value
Definition at line 440 of file simlib3D.cc.
References simlib3::_XYZpart::x.
get y part of (x,y) vector value
Definition at line 421 of file simlib2D.cc.
References simlib3::_XYpart::y.
Referenced by simlib3::Integrator3D::Init(), and simlib3::Integrator2D::SetInput().
get y part of (x,y,z) vector value
Definition at line 441 of file simlib3D.cc.
References simlib3::_XYZpart::y.
get z part of (x,y,z) vector value
Definition at line 442 of file simlib3D.cc.
References simlib3::_XYZpart::z.
Referenced by simlib3::Integrator3D::Init().
|
static |
|
static |
block – simulation time
Definition at line 274 of file continuous.cc.
Adams-Bashforth-Moulton, 4th order.
Referenced by simlib3::StatusMethod::GoToState().
const int simlib3::abm_ord =4 |
Definition at line 20 of file ni_abm4.h.
Referenced by simlib3::ABM4::Integrate().
const double & simlib3::AbsoluteError =SIMLIB_AbsoluteError |
class simlib3::EventNoticeAllocator simlib3::allocator |
|
static |
const double simlib3::COEF_PAR = 1.5 |
Definition at line 540 of file calendar.cc.
Referenced by simlib3::CalendarQueue::Resize(), and simlib3::CalendarQueue::switchtocq().
|
static |
Definition at line 22 of file atexit.cc.
Referenced by simlib3::SIMLIB_module::Init().
Entity *const & simlib3::Current = SIMLIB_Current |
pointer to active (now running) entity
Definition at line 54 of file run.cc.
Referenced by simlib3::Store::Enter(), simlib3::Barrier::Enter(), simlib3::Semaphore::P(), simlib3::Facility::Seize(), and simlib3::Barrier::Wait().
const double & simlib3::EndTime = SIMLIB_EndTime |
time of simulation end
Definition at line 50 of file run.cc.
Referenced by simlib3::SIMLIB_statistics_t::Output().
EULER simlib3::euler("euler") |
Euler method.
Referenced by simlib3::StatusMethod::GoToState().
|
static |
Definition at line 89 of file waitunti.cc.
Referenced by simlib3::Facility::Release(), and simlib3::Status::SetValid().
FW simlib3::fw("fw") |
Fowler-Warten (Warning: needs testing, do not use)
Referenced by simlib3::StatusMethod::GoToState().
const myint32 simlib3::INICONST = 1537L |
Definition at line 48 of file random1.cc.
const unsigned simlib3::LIST_MAX = 512 |
Definition at line 535 of file calendar.cc.
const unsigned simlib3::LIST_MIN = LIST_MAX/2 |
Definition at line 537 of file calendar.cc.
|
static |
Definition at line 21 of file atexit.cc.
Referenced by SIMLIB_atexit(), and SIMLIB_atexit_call().
const myint32 simlib3::MAXLONGINT = 0x7FFFFFFFUL |
Definition at line 52 of file random1.cc.
Referenced by SIMLIB_RandomBase().
const double & simlib3::MaxStep =SIMLIB_MaxStep |
maximal integration step
maximal step size
Definition at line 47 of file intg.cc.
Referenced by simlib3::SIMLIB_statistics_t::Output().
const unsigned simlib3::MINBUCKETS = LIST_MAX>4?LIST_MAX:4 |
Definition at line 536 of file calendar.cc.
Referenced by simlib3::CalendarQueue::Resize().
const double & simlib3::MinStep =SIMLIB_MinStep |
minimal integration step
minimal step size
Definition at line 46 of file intg.cc.
Referenced by simlib3::SIMLIB_statistics_t::Output().
const double simlib3::MUL_PAR = 1.0 |
Definition at line 543 of file calendar.cc.
const myint32 simlib3::MULCONST = 1220703125L |
Definition at line 49 of file random1.cc.
Referenced by SIMLIB_RandomBase().
const double & simlib3::NextTime = SIMLIB_NextTime |
next-event time
Definition at line 49 of file run.cc.
Referenced by simlib3::SQS::Clear(), simlib3::SQS::Get(), simlib3::SQS::GetFirst(), simlib3::IntegrationMethod::Prepare(), simlib3::SQS::ScheduleAt(), and simlib3::IntegrationMethod::Summarize().
const double & simlib3::OptStep =SIMLIB_OptStep |
optimal integration step
optimal step size
Definition at line 49 of file intg.cc.
Referenced by simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), and simlib3::ABM4::Integrate().
class simlib3::_FileWrap simlib3::OutFile |
|
static |
temporary global process state
Definition at line 132 of file process.cc.
Referenced by simlib3::Process::_Run().
|
static |
setjmp() state before dispatch
Definition at line 128 of file process.cc.
|
static |
global start of stack area
Definition at line 129 of file process.cc.
Referenced by simlib3::Process::_Run().
|
static |
for checking start of stack
Definition at line 130 of file process.cc.
|
static |
temporary global stack size
Definition at line 133 of file process.cc.
Referenced by simlib3::Process::_Run().
const SIMLIB_Phase_t & simlib3::Phase = SIMLIB_Phase |
const double & simlib3::RelativeError =SIMLIB_RelativeError |
RKE simlib3::rke("rke") |
Runge-Kutta-England, 4th order?
Referenced by simlib3::StatusMethod::GoToState().
RKF3 simlib3::rkf3("rkf3") |
Runge-Kutta-Fehlberg, 3rd order.
Referenced by simlib3::StatusMethod::GoToState().
RKF5 simlib3::rkf5("rkf5") |
Runge-Kutta-Fehlberg, 5th order.
Referenced by simlib3::StatusMethod::GoToState().
RKF8 simlib3::rkf8("rkf8") |
Runge-Kutta-Fehlberg, 8th order.
Referenced by simlib3::StatusMethod::GoToState().
const myint32 simlib3::SIGNBIT = 0x80000000UL |
Definition at line 53 of file random1.cc.
double simlib3::SIMLIB_AbsoluteError =0 |
absolute error
Definition at line 42 of file intg.cc.
Referenced by simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), and simlib3::ABM4::Integrate().
bool simlib3::SIMLIB_ConditionFlag = false |
Definition at line 30 of file cond.cc.
Referenced by simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::IsConditionFlag(), and simlib3::IntegrationMethod::Prepare().
double simlib3::SIMLIB_ContractStep = SIMLIB_MAXTIME |
requested step size
Definition at line 59 of file intg.cc.
Referenced by simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), and simlib3::IntegrationMethod::StateCond().
bool simlib3::SIMLIB_ContractStepFlag = false |
requests shorter step
Definition at line 58 of file intg.cc.
Referenced by simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), and simlib3::IntegrationMethod::StateCond().
Entity * simlib3::SIMLIB_Current = NULL |
Definition at line 53 of file run.cc.
Referenced by simlib3::Process::_WaitUntil(), simlib3::WaitUntilList::InsertCurrent(), simlib3::Entity::Terminate(), simlib3::Event::Terminate(), and simlib3::WaitUntilList::WU_hook().
unsigned long simlib3::SIMLIB_debug_flag = 0UL |
double simlib3::SIMLIB_DeltaTime |
Time-SIMLIB_StepStartTime.
Definition at line 35 of file intg.cc.
Referenced by simlib3::IntegrationMethod::FunCall(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), simlib3::IntegrationMethod::Prepare(), and simlib3::IntegrationMethod::Summarize().
bool simlib3::SIMLIB_DynamicFlag = false |
in dynamic section
Definition at line 56 of file intg.cc.
Referenced by simlib3::IntegrationMethod::SetMethod(), simlib3::MultiStepMethod::SetStarter(), SIMLIB_error(), simlib3::IntegrationMethod::StepSim(), and simlib3::Condition::Test().
|
static |
int simlib3::SIMLIB_ERRNO =0 |
Definition at line 32 of file intg.cc.
Referenced by simlib3::IntegrationMethod::GetErrNo(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), and SetErrNo().
unsigned long simlib3::SIMLIB_experiment_no = 0 |
Definition at line 61 of file run.cc.
Referenced by SIMLIB_Init().
simlib3::SIMLIB_IMPLEMENTATION |
Definition at line 34 of file algloop.cc.
Constant simlib3::SIMLIB_Integrator_0input(0) |
dummy input with zero value
Referenced by simlib3::Integrator::CtrInit().
double simlib3::SIMLIB_MaxStep =1 |
max. step
Definition at line 39 of file intg.cc.
Referenced by simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), and SIMLIB_ContinueInit().
const double simlib3::SIMLIB_MAXTIME = 1.0e30 |
maximum time (1e30 works for float, too)
Definition at line 148 of file simlib.h.
Referenced by simlib3::Entity::ActivationTime(), simlib3::CalendarList::CalendarList(), simlib3::CalendarQueue::CalendarQueue(), simlib3::CalendarList::clear(), simlib3::CalendarQueue::clear(), simlib3::CalendarQueue::estimate_bucket_width(), simlib3::CalendarList::Get(), simlib3::CalendarQueue::Get(), simlib3::CalendarList::GetFirst(), simlib3::CalendarQueue::GetFirst(), simlib3::CalendarQueue::SearchMinTime(), and SIMLIB_Init().
double simlib3::SIMLIB_MinStep =1e-10 |
minimal step
Definition at line 38 of file intg.cc.
Referenced by ContractStep(), simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), and simlib3::IntegrationMethod::StateCond().
const double simlib3::SIMLIB_MINTIME = 0.0 |
|
static |
Create single global registration object in each SIMLIB module.
Should be first initialized object in the module
Definition at line 73 of file internal.h.
double simlib3::SIMLIB_OptStep |
optimal step
Definition at line 37 of file intg.cc.
Referenced by simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Prepare(), and simlib3::IntegrationMethod::SetOptStep().
SIMLIB_Phase_t simlib3::SIMLIB_Phase = START |
Definition at line 57 of file run.cc.
Referenced by simlib3::Parameter2D::operator=(), simlib3::Parameter3D::operator=(), SetCalendar(), and SIMLIB_error().
|
static |
Definition at line 88 of file random1.cc.
Referenced by Random(), and SetBaseRandomGenerator().
Definition at line 59 of file random1.cc.
Referenced by SIMLIB_RandomBase().
double simlib3::SIMLIB_RelativeError =0.001 |
relative error
Definition at line 43 of file intg.cc.
Referenced by simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), and simlib3::ABM4::Integrate().
bool simlib3::SIMLIB_ResetStatus = false |
flag set if there is a need for integration method restart
Definition at line 86 of file intg.cc.
Referenced by simlib3::IntegrationMethod::Prepare(), Run(), and SIMLIB_DoConditions().
|
static |
const SIMLIB_statistics_t & simlib3::SIMLIB_statistics = SIMLIB_run_statistics |
interface to internal run-time statistics structure
double simlib3::SIMLIB_StepSize |
actual step
Definition at line 40 of file intg.cc.
Referenced by simlib3::IntegrationMethod::FunCall(), simlib3::IntegrationMethod::InitStep(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), simlib3::IntegrationMethod::Prepare(), simlib3::IntegrationMethod::SetStepSize(), and simlib3::IntegrationMethod::StateCond().
double simlib3::SIMLIB_StepStartTime |
last step time
Definition at line 34 of file intg.cc.
Referenced by ContractStep(), simlib3::IntegrationMethod::FunCall(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::RKF8::Integrate(), simlib3::EULER::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), simlib3::IntegrationMethod::Prepare(), simlib3::StatusMethod::RestoreState(), and simlib3::IntegrationMethod::Summarize().
double simlib3::SIMLIB_Time |
Definition at line 209 of file internal.h.
Referenced by SIMLIB_ContinueInit().
const unsigned simlib3::SIMLIB_version = __SIMLIB__ |
const double & simlib3::StartTime = SIMLIB_StartTime |
time of simulation start
Definition at line 47 of file run.cc.
Referenced by simlib3::SIMLIB_statistics_t::Output().
const double & simlib3::StepSize =SIMLIB_StepSize |
aContiBlock & simlib3::T = _T |
simulation time block reference
model time (continuous block)
Definition at line 276 of file continuous.cc.
Referenced by Sample().
const double & simlib3::Time = SIMLIB_Time |
model time (is NOT the block)
Definition at line 48 of file run.cc.
Referenced by TestProcess::Behavior(), simlib3::ZDelayTimer::Behavior(), simlib3::Sampler::Behavior(), simlib3::TStat::Clear(), simlib3::IntegrationMethod::FunCall(), simlib3::Queue::Get(), simlib3::Delay::Init(), simlib3::RKF3::Integrate(), simlib3::RKF5::Integrate(), simlib3::EULER::Integrate(), simlib3::RKF8::Integrate(), simlib3::RKE::Integrate(), simlib3::FW::Integrate(), simlib3::ABM4::Integrate(), simlib3::IntegrationMethod::Iterate(), main(), simlib3::TStat::MeanValue(), simlib3::TStat::operator()(), simlib3::TStat::Output(), simlib3::Queue::Output(), simlib3::Facility::Output(), simlib3::Store::Output(), simlib3::Queue::PredIns(), simlib3::IntegrationMethod::Prepare(), simlib3::Facility::Release(), simlib3::StatusMethod::RestoreState(), Run(), simlib3::Delay::Sample(), simlib3::Sampler::Sample(), simlib3::CalendarList::ScheduleAt(), simlib3::CalendarQueue::ScheduleAt(), simlib3::Facility::Seize(), simlib3::Delay::Set(), SIMLIB_error(), SIMLIB_warning(), simlib3::IntegrationMethod::StepSim(), simlib3::Sampler::Stop(), simlib3::IntegrationMethod::Summarize(), simlib3::Delay::Value(), simlib3::_Time::Value(), simlib3::Process::Wait(), and simlib3::Barrier::Wait().
|
static |
Referenced by simlib3::Integrator2D::Integrator2D().
|
static |
Referenced by simlib3::Integrator3D::Integrator3D().