Function opensn::OmegaToPhiThetaSafe

Function Documentation

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

Determines the azimuthal- and polar-angle associated with the given direction vector. Returns a pair = [azimuthal-angle,polar-angle].