packages/SPn/mesh/Mesh.i.hh
//---------------------------------------------------------------------------//
/*!
 * \brief Returns the inverse width of cell in a given direction
 *
 * \return inverse cell width in cm^{-1}
 */
\brief Returns the inverse width of cell in a given direction
\return inverse cell width in cm^{-1}
\ brief Returns the inverse width of cell in a given direction \ return inverse cell width in cm^ { - 1 }
double Mesh::inv_width(size_type ijk,
                       int       dim) const
{
    REQUIRE(dim < 3);
    REQUIRE(static_cast<int>(ijk) < num_cells_dim(dim));
    ENSURE(d_width[dim][ijk] > 0.0);
    return d_inv_width[dim][ijk];
}
double Mesh :: inv_width ( size_type ijk , int dim ) const { REQUIRE ( dim < 3 ) ; REQUIRE ( static_cast < int > ( ijk ) < num_cells_dim ( dim ) ) ; ENSURE ( d_width [ dim ] [ ijk ] > 0.0 ) ; return d_inv_width [ dim ] [ ijk ] ; }
\brief Returns the inverse width of cell in a given direction
 \return inverse cell width in cm^{-1}
\ brief Returns the inverse width of cell in a given direction \ return inverse cell width in cm^ { - 1 }