17 #define IFEM_VERSION_STRING "2026.04-rc2"
25 #define SCOPED_LOG ScopedLogger no_conflict_logger(__PRETTY_FUNCTION__);
47 static int Init(
int arg_c,
char** arg_v,
48 const char* title =
nullptr,
bool silent =
false);
64 static std::shared_ptr<std::ostringstream>
memoryLog;
Class for encapsulation of general simulation options.
Callback for FIFO option handling.
Definition: ControlFIFO.h:28
This class enables simple application control over a FIFO.
Definition: ControlFIFO.h:45
Class holding global IFEM configuration.
Definition: IFEM.h:39
static void applyCommandLineOptions(SIMoptions &opt)
Applies command-line argument values to the general input options.
Definition: IFEM.C:204
static char ** argv
The command-line arguments.
Definition: IFEM.h:69
static void Close()
Closes the IFEM library.
Definition: IFEM.C:180
static SIMoptions cmdOptions
General input options.
Definition: IFEM.h:67
static int Init(int arg_c, char **arg_v, const char *title=nullptr, bool silent=false)
Initializes the IFEM library.
Definition: IFEM.C:41
static void registerCallback(ControlCallback &cb)
Registers a fifo instruction callback.
Definition: IFEM.C:189
static bool pollControllerFifo()
Polls the control fifo for instructions.
Definition: IFEM.C:195
static SIMoptions & getOptions()
Returns a reference to the general input options.
Definition: IFEM.h:55
static std::shared_ptr< std::ostringstream > memoryLog
Logging data stored in memory.
Definition: IFEM.h:64
static utl::LogStream cout
Combined standard out for parallel processes.
Definition: IFEM.h:62
static ControlFIFO * fifo
Control fifo helper.
Definition: IFEM.h:70
static int argc
The number of command-line arguments.
Definition: IFEM.h:68
Class for encapsulation of general simulation options.
Definition: SIMoptions.h:37
Logging stream class.
Definition: LogStream.h:26