lib/src/Workshop/NewGeometryShop.cpp
//takes RealVect physical coordinates to coordinates relative to m_currIv
takes RealVect physical coordinates to coordinates relative to m_currIv
takes RealVect physical coordinates to coordinates relative to m_currIv
RealVect NewGeometryShop::convert2RelativeCoord(const RealVect& a_rVect)const
{
  RealVect retval;
  for (int idir = 0; idir < SpaceDim; ++idir)
    {
      retval[idir] = a_rVect[idir] /  m_vectDx[idir];
    }
  return retval;
}
RealVect NewGeometryShop :: convert2RelativeCoord ( const RealVect & a_rVect ) const { RealVect retval ; for ( int idir = 0 ; idir < SpaceDim ; ++ idir ) { retval [ idir ] = a_rVect [ idir ] / m_vectDx [ idir ] ; } return retval ; }
takes RealVect physical coordinates to coordinates relative to m_currIv
takes RealVect physical coordinates to coordinates relative to m_currIv
//rvect[idir] = dx*(iv[idir] + 0.5 + relCoord[idir]) + origin[idir] // retval[idir] = a_rVect[idir] - m_origin[idir]; //retval[idir] -= (m_currIv[idir] + 0.5);