1 #ifndef PYNE_SKQ36P4BFNE3VI6VHVADCDT4VQ 2 #define PYNE_SKQ36P4BFNE3VI6VHVADCDT4VQ 5 #include <moab/Types.hpp> 10 using moab::EntityHandle;
15 static DagMC* DAG =
new DagMC();
26 typedef double vec3[3];
28 float dag_version(
void);
30 unsigned dag_rev_version(
void);
32 int dag_ent_handle_size(
void);
34 const int* geom_id_list(
int dimension,
int* number_of_items);
36 EntityHandle handle_from_id(
int dimension,
int id);
37 int id_from_handle(EntityHandle eh);
39 ErrorCode dag_load(
const char* filename);
41 void* dag_alloc_ray_history(
void);
43 void dag_dealloc_ray_history(
void* history);
45 ErrorCode dag_ray_fire(EntityHandle vol, vec3 ray_start, vec3 ray_dir,
46 EntityHandle* next_surf,
double* next_surf_dist,
47 void* history,
double distance_limit);
49 ErrorCode dag_ray_follow(EntityHandle firstvol, vec3 ray_start, vec3 ray_dir,
50 double distance_limit,
int* num_intersections,
51 EntityHandle** surfs,
double** distances,
52 EntityHandle** volumes,
void* data_buffers);
54 void dag_dealloc_ray_buffer(
void* data_buffers);
56 ErrorCode dag_pt_in_vol(EntityHandle vol, vec3 pt,
int* result, vec3 dir,
59 ErrorCode dag_next_vol(EntityHandle surface, EntityHandle volume,
60 EntityHandle* next_vol);
62 int vol_is_graveyard(EntityHandle vol);
65 int vol_is_implicit_complement(EntityHandle vol);
67 ErrorCode get_volume_metadata(EntityHandle vol,
int* material,
double* density,
double* importance);
69 ErrorCode get_volume_boundary(EntityHandle vol, vec3 minPt, vec3 maxPt);
A container representing enrichment cascades.
Definition: _atomic_data.h:16