1 #ifndef PYNE_SKQ36P4BFNE3VI6VHVADCDT4VQ 2 #define PYNE_SKQ36P4BFNE3VI6VHVADCDT4VQ 5 #include <moab/Types.hpp> 9 using moab::EntityHandle;
22 typedef double vec3[3];
24 float dag_version(
void);
26 unsigned dag_rev_version(
void);
28 int dag_ent_handle_size(
void);
30 const int* geom_id_list(
int dimension,
int* number_of_items);
32 EntityHandle handle_from_id(
int dimension,
int id);
33 int id_from_handle(EntityHandle eh);
35 ErrorCode dag_load(
const char* filename);
37 void* dag_alloc_ray_history(
void);
39 void dag_dealloc_ray_history(
void* history);
41 ErrorCode dag_ray_fire(EntityHandle vol, vec3 ray_start, vec3 ray_dir,
42 EntityHandle* next_surf,
double* next_surf_dist,
43 void* history,
double distance_limit);
45 ErrorCode dag_ray_follow(EntityHandle firstvol, vec3 ray_start, vec3 ray_dir,
46 double distance_limit,
int* num_intersections,
47 EntityHandle** surfs,
double** distances,
48 EntityHandle** volumes,
void* data_buffers);
50 void dag_dealloc_ray_buffer(
void* data_buffers);
52 ErrorCode dag_pt_in_vol(EntityHandle vol, vec3 pt,
int* result, vec3 dir,
55 ErrorCode dag_next_vol(EntityHandle surface, EntityHandle volume,
56 EntityHandle* next_vol);
58 int vol_is_graveyard(EntityHandle vol);
61 int vol_is_implicit_complement(EntityHandle vol);
63 ErrorCode get_volume_metadata(EntityHandle vol,
int* material,
double* density,
double* importance);
65 ErrorCode get_volume_boundary(EntityHandle vol, vec3 minPt, vec3 maxPt);
A container representing enrichment cascades.
Definition: _atomic_data.h:7