38 #ifndef _MMC_HOSTCODE_H 39 #define _MMC_HOSTCODE_H This structure defines the problem settings (domain, filenames, session)
Definition: mmc_utils.h:184
int mmc_cleanup(mcconfig *cfg, tetmesh *mesh, raytracer *tracer)
Clear simulation related data structures.
Definition: mmc_host.c:120
Definition of the core ray-tracing functions.
int mmc_reset(mcconfig *cfg, tetmesh *mesh, raytracer *tracer)
Rest simulation related data structures.
Definition: mmc_host.c:105
Basic FEM mesh data structrure.
Definition: mmc_mesh.h:90
Definition of program options and problem domain configurations.
int mmc_prep(mcconfig *cfg, tetmesh *mesh, raytracer *tracer)
Peprocessing simulation settings and data for simulation.
Definition: mmc_host.c:135
int mmc_init_from_json(mcconfig *cfg, tetmesh *mesh, raytracer *tracer, char *jcfg, char *jmesh)
Initialize simulation configuration structure cfg using a JSON input file.
Definition: mmc_host.c:87
Definition of basic mesh data structures and inline vector operations.
int mmc_init_from_cmd(mcconfig *cfg, tetmesh *mesh, raytracer *tracer, int argc, char **argv)
Initialize simulation configuration structure cfg using command line options.
Definition: mmc_host.c:66
Ray-tracer data structrure for pre-computed data.
Definition: mmc_mesh.h:128
int mmc_run_mp(mcconfig *cfg, tetmesh *mesh, raytracer *tracer)
Main function to launch CPU based MMC photon simulation.
Definition: mmc_host.c:153