packages/MC/geometry/Mesh_Geometry.cc
//---------------------------------------------------------------------------//
// PRIVATE FUNCTIONS
//---------------------------------------------------------------------------//
/*!
 * \brief Reset tracking given current position, direction
 */
PRIVATE FUNCTIONS
\brief Reset tracking given current position, direction
PRIVATE FUNCTIONS \ brief Reset tracking given current position direction
void Mesh_Geometry::update_state(Geo_State_t& state) const
{
    using def::I; using def::J; using def::K;
    d_mesh.find_upper(state.d_r, state.ijk);
#ifdef CHECK_ON
    state.next_ijk[I] = -2;
    state.next_ijk[J] = -2;
    state.next_ijk[K] = -2;
    state.next_dist   = -1.;
#endif
}
void Mesh_Geometry :: update_state ( Geo_State_t & state ) const { using def :: I ; using def :: J ; using def :: K ; d_mesh . find_upper ( state . d_r , state . ijk ) ; #ifdef CHECK_ON state . next_ijk [ I ] = -2 ; state . next_ijk [ J ] = -2 ; state . next_ijk [ K ] = -2 ; state . next_dist = -1. ; #endif }
PRIVATE FUNCTIONS
 \brief Reset tracking given current position, direction
PRIVATE FUNCTIONS \ brief Reset tracking given current position direction
// Find the logical indices of the cell along each axis // Clear the other internals for debugging