NDDEM
Macros | Functions | Variables
DEMND.cpp File Reference
#include "DEMND.h"
#include <signal.h>
#include <regex>
#include "Preprocessor_macros.h"

Macros

#define MAXDIM   4
 
#define MACRO(r, state)    case BOOST_PP_TUPLE_ELEM(2, 0, state): templatedmain<BOOST_PP_TUPLE_ELEM(2, 0, state)>(argv);break;
 

Functions

void sig_handler (int p)
 Function handling signal reception for clean closing on SIGINT for example. More...
 
template<int d>
int templatedmain (char *argv[])
 Main simulation run. All the simulation is handled by this function. More...
 
int main (int argc, char *argv[])
 Calls the appropriate templatedmain() function. Templated function are used to allow compiler optimisation for speed. Only a handful of dimension are compiled on the base code to limit compilation time and memory. If you need dimensions that are not cmpiled by default, have a look at the code it's pretty straightforward to activate the needed dimension. If the compilation failed with low meomry, in particular on older system, head to the code and comment the dimensions which are unused. More...
 

Variables

vector< std::pair< ExportType, ExportData > > * toclean
 
XMLWriterxmlout