Skip to content
Snippets Groups Projects
Commit 565c68f4 authored by sergio's avatar sergio Committed by Kutalmış Berçin
Browse files

ENH: Adding intersection margen

parent b9507c21
1 merge request!551Update of view factor generation using 2AI and 2LI methods plus CGAL for ray tracing
......@@ -126,7 +126,7 @@ for (const int proci : Pstream::allProcs())
const Vector3f delta(ray(ray.tMax) - end[rayI]);
if (delta.Length() < 1e-4)
if (delta.Length() < intTol)
{
rayStartFace.append(startIndex[rayI]);
rayEndFace.append(endIndex[rayI]);
......
......@@ -451,6 +451,9 @@ int main(int argc, char *argv[])
const scalar alpha =
viewFactorDict.getOrDefault<scalar>("alpha", 0.21);
const scalar intTol =
viewFactorDict.getOrDefault<scalar>("intTol", 1e-2);
// Read agglomeration map
labelListIOList finalAgglom
(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment