diff --git a/src/cell.cpp b/src/cell.cpp index 7364fd1e1..f851922e1 100644 --- a/src/cell.cpp +++ b/src/cell.cpp @@ -772,7 +772,8 @@ extern "C" { #ifdef DAGMC - int32_t next_cell(DAGCell* cur_cell, DAGSurface* surf_xed ) { + int32_t next_cell(DAGCell* cur_cell, DAGSurface* surf_xed ) + { moab::EntityHandle surf = surf_xed->dagmc_ptr_->entity_by_id(2,surf_xed->id_); moab::EntityHandle vol = cur_cell->dagmc_ptr_->entity_by_id(3,cur_cell->id_); diff --git a/src/surface.cpp b/src/surface.cpp index b2dbcf874..bf1c2e58c 100644 --- a/src/surface.cpp +++ b/src/surface.cpp @@ -1285,15 +1285,6 @@ extern "C" { int surface_i_periodic(PeriodicSurface* surf) {return surf->i_periodic_;} - void surface_normal(Surface* surf, double xyz[3], double uvw[3]) - { - Position r {xyz}; - Direction u = surf->normal(r); - uvw[0] = u.x; - uvw[1] = u.y; - uvw[2] = u.z; - } - bool surface_periodic(PeriodicSurface* surf, PeriodicSurface* other, double xyz[3], double uvw[3])