Octree.cpp
// A bunch of small functions to return the mini cube boundaries given the new octant
A bunch of small functions to return the mini cube boundaries given the new octant
A bunch of small functions to return the mini cube boundaries given the new octant
inline double Octree::LowerX(double xL, double xH, CubeOctant octant)
{
    switch (octant)
    {
    case XLYLZL:
    case XLYHZL:
    case XLYLZH:
    case XLYHZH:
        return xL;
    default:
        return (xH - xL) * 0.5 + xL;
    }
}
inline double Octree :: LowerX ( double xL , double xH , CubeOctant octant ) { switch ( octant ) { case XLYLZL : case XLYHZL : case XLYLZH : case XLYHZH : return xL ; default : return ( xH - xL ) * 0.5 + xL ; } }
A bunch of small functions to return the mini cube boundaries given the new octant
A bunch of small functions to return the mini cube boundaries given the new octant