mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
style updates
This commit is contained in:
parent
3b7352dc7d
commit
7b881c8317
2 changed files with 2 additions and 10 deletions
|
|
@ -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_);
|
||||
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue