mmc_cu_host.h
Go to the documentation of this file.
1 /***************************************************************************/
32 /***************************************************************************/
38 #ifndef _MMCX_HOSTCODE_H
39 #define _MMCX_HOSTCODE_H
40 
41 #include "mmc_utils.h"
42 #include "mmc_mesh.h"
43 
44 #define RAND_SEED_WORD_LEN 4 //48 bit packed with 64bit length
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
50 #define ABS(a) ((a)<0?-(a):(a))
51 
52 #define MCX_DEBUG_RNG 2
53 #define MCX_DEBUG_MOVE 1
54 #define MCX_DEBUG_PROGRESS 2048
55 
56 typedef unsigned char uchar;
57 
58 void mmc_run_cu(mcconfig* cfg, tetmesh* mesh, raytracer* tracer);
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif
65 
This structure defines the problem settings (domain, filenames, session)
Definition: mmc_utils.h:184
Basic FEM mesh data structrure.
Definition: mmc_mesh.h:90
Definition of program options and problem domain configurations.
Definition of basic mesh data structures and inline vector operations.
Ray-tracer data structrure for pre-computed data.
Definition: mmc_mesh.h:128