Name: GD_C
Purpose: The base C language implementation of the class that contains global run related information. An object of this class (or a subclass) is passed to the simulator parplex.
Provided by: _p3
Source: gd.c
Examples: most test_*.py files, eg test_psp.py
Inherits:
Constructor: GD_C()
Provides:
NameTypeAttributesDescription
durationintRWThe run duration
tolerancefloatRWThe main purpose is the relative integration tolerance, but it is also used when other "small" numbers are required, eg initial step size
windowintRWwaveform relaxation window size
windowIDintROsequence number of the current waveform relaxation window
mpi_sizeintROnumber of processors in the MPI (parallel) run
mpi_rankintROrank of this process in an MPI (parallel) run
firstRoundintROtrue if this is the first round of the current window
message_handlerfunctionRWhandler for output messages: message_handler(msg_level, msg)
debug_handlerfunctionRWhandler for debug messages: debug_handler(msg)
trace_handlerfunctionRWcalled per cell at window end to handle trace output: GD.endWindow_handler(cell)
ap_handlerfunctionRWcalled per cell at window end to handle AP output: endWindow_handler(cell)
endWindow_handlerfunctionRWcalled once at the end of each window: endWindow_handler(GD)
startWindow_handlerfunctionRWcalled once at the start of each window: endWindow_handler(GD)
stepTrace_handlerfunctionRWcalled per cell at each failed and accepted step: stepTrace_handler(cell)
networklistRWa list of cells making up the network