gsystem
Loading...
Searching...
No Matches
gsystem_example.cc
Go to the documentation of this file.
1
25#include "gworld.h"
26
48int main(int argc, char* argv[]) {
49 auto gopts = std::make_shared<GOptions>(argc, argv, gsystem::defineOptions());
50 auto world = new GWorld(gopts);
51
52 delete world;
53 return EXIT_SUCCESS;
54}
Builds the “world” as a collection of systems, volumes, and post-load modifiers.
Definition gworld.h:37
GOptions defineOptions()
Define and return all option groups required by the gsystem module.
int main(int argc, char *argv[])