Code layout for developersΒΆ
The criptic source code is found in the Src directory, which contains the Definitions.H file that sets default compile-time parameters, the Makefile for building the code, and the main program, main.cpp. The remainder of the code is divided into subdirectories:
Src/Buildcontains object and dependency files created automatically during the build processSrc/Corecontains the core classesSrc/Gascontains the gas descriptor machinerySrc/IOcontains the code that manages parsing parameter files and managing checkpointsSrc/Lossescontains implementations of all the loss processesSrc/MPIcontains all the code related to MPI parallelismSrc/Makefilescontains machine-specific makefilesSrc/Probcontains all problem setup filesSrc/Prob/Testcontains the standard test suite problems
Src/Propagationcontains the cosmic ray propagation model machinerySrc/Utilscontains utilities used throughout the codeSrc/pcg-cppcontains the PGC random number generator source code
In addition to these source directories, and the documentation directories found in Docs, the criptic repository includes the directory Misc. This contains Mathematica notebooks used to tabulate the various numerical functions that criptic uses to calculate microphysical processes.