Function opensn::PopulateRaySegmentLengths

Function Documentation

void opensn::PopulateRaySegmentLengths(const std::shared_ptr<MeshContinuum> grid, const Cell &cell, const Vector3 &line_point0, const Vector3 &line_point1, const Vector3 &omega, std::vector<double> &segment_lengths)

Populates segment lengths along a ray. Sorted along the direction.