NGen.cpp defines the main function, along with many other tasks, such as:
- The simulation loop
- Layer construction
- Routing
- Timing and reporting
- Output manager construction
- Feature Construction
- Formulation creation and reading
- Partition handling
- Hydrofabric loading
- File validation
- python interpreter creation
- MPI setup and teardown
NGen.cpp and its main function should, ideally just be providing an entry point from the CLI. This setup limits the growth and flexibility of NGen as it requires the use of main to launch and run the operations that allow NGen to work in the correct order with the correct wrapping logic.
NGen.cppdefines the main function, along with many other tasks, such as:NGen.cppand itsmainfunction should, ideally just be providing an entry point from the CLI. This setup limits the growth and flexibility of NGen as it requires the use ofmainto launch and run the operations that allow NGen to work in the correct order with the correct wrapping logic.