gsystem
Loading...
Searching...
No Matches
gsystem_example.cc
Go to the documentation of this file.
1
25
#include "
gworld.h
"
26
48
int
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
}
GWorld
Builds the “world” as a collection of systems, volumes, and post-load modifiers.
Definition
gworld.h:37
gworld.h
gsystem::defineOptions
GOptions defineOptions()
Define and return all option groups required by the gsystem module.
Definition
gsystem_options.cc:72
main
int main(int argc, char *argv[])
examples
gsystem_example.cc
Generated by
1.10.0