Function opensn::OmegaToPhiThetaSafe

Function Documentation

std::pair<double, double> opensn::OmegaToPhiThetaSafe(const Vector3 &omega)

Return the azimuthal and polar angles for the given direction vector as a pair [azimuthal-angle, polar-angle].