This file is indexed.

/usr/include/freefoam/dieselSpray/boundaryTreatment.H is in libfreefoam-dev 0.1.0+dfsg-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
if (isA<wallPolyPatch>(pbMesh[patch(face())]))
{
    keepParcel = sDB.wall().wallTreatment(*this, face());

    if (sDB.twoD())
    {
        scalar vs = U() & sDB.axisOfSymmetry();
        vector Us = U() - (vs * sDB.axisOfSymmetry());
        scalar magUs = mag(Us);
        scalar v1 = Us & n();
        scalar magV1 = mag(v1);
        U() = (magUs/magV1)*v1*n() + vs*sDB.axisOfSymmetry();
    }
}
else if (isA<wedgePolyPatch>(pbMesh[patch(face())]))
{
    // check if parcel is trying to move out of the domain
    label patchi = patch(face());
    label patchFacei = patchFace(patchi, face());
    const polyPatch& patch = mesh.boundaryMesh()[patchi];
    vector nf = patch.faceAreas()[patchFacei];

    scalar Un = U() & nf;
    if (Un > 0)
    {
        scalar Un2 = U() & n(); 
        U() -= 2.0*Un2*n();
    }
}
else if (isA<symmetryPolyPatch>(pbMesh[patch(face())]))
{
    // check if parcel is trying to move out of the domain
    label patchi = patch(face());
    label patchFacei = patchFace(patchi, face());
    const polyPatch& patch = mesh.boundaryMesh()[patchi];
    vector nf = patch.faceAreas()[patchFacei];

    scalar Un = U() & nf;
    if (Un > 0)
    {
        if (sDB.twoD())
        {
            U() -= 2.0*(U() & n())*n();
        }
        else
        {
            nf /= mag(nf);
            U() -= 2.0*(U() & nf)*nf;
        }
    }
}
else if (isType<polyPatch>(pbMesh[patch(face())]))
{
    // Parcel has hit an inlet or outlet or some such so throw it away
    keepParcel = false;
}

// ************************ vim: set sw=4 sts=4 et: ************************ //