From 7b881c83173280aa00a08b16b7a2f4a45bb3ec97 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 1 Oct 2018 13:43:12 -0500 Subject: [PATCH] style updates --- src/cell.cpp | 3 ++- src/surface.cpp | 9 --------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/cell.cpp b/src/cell.cpp index 7364fd1e15..f851922e1b 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 b2dbcf8746..bf1c2e58ce 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])