lib/src/Workshop/NewGeometryShop.cpp
//next four functions take RealVect and IntVect to IndexTM and viseVersa
next four functions take RealVect and IntVect to IndexTM and viseVersa
next four functions take RealVect and IntVect to IndexTM and viseVersa
IndexTM<Real,SpaceDim>NewGeometryShop::convertRealVect2IndexTM(const RealVect& a_realVect)const
{
  IndexTM<Real,SpaceDim> retval;
  for (int idir = 0; idir < SpaceDim; ++idir)
    {
      retval[idir] = a_realVect[idir];
    }
  return retval;
}
IndexTM < Real , SpaceDim > NewGeometryShop :: convertRealVect2IndexTM ( const RealVect & a_realVect ) const { IndexTM < Real , SpaceDim > retval ; for ( int idir = 0 ; idir < SpaceDim ; ++ idir ) { retval [ idir ] = a_realVect [ idir ] ; } return retval ; }
next four functions take RealVect and IntVect to IndexTM and viseVersa
next four functions take RealVect and IntVect to IndexTM and viseVersa