7 treeBoundBox(coarseMesh.points()).extend(
rndGen, 1
e-3)
16 distributedTriSurfaceMesh::distributionTypeNames_
18 distributedTriSurfaceMesh::FROZEN
21 dict.add(
"mergeDistance", SMALL);
60 const auto& surf =
static_cast<const triSurface&
>(
surfacesMesh);
66 for (
const auto&
f : surf)
74 Point(a.x(), a.y(), a.z()),
distributedTriSurfaceMesh surfacesMesh(IOobject("wallSurface.stl", runTime.constant(), "triSurface", runTime, IOobject::NO_READ, IOobject::NO_WRITE), localSurface, dict)
const triSurface localSurface
List< treeBoundBox > meshBb(1, treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3))
Ostream & endl(Ostream &os)
Add newline and flush stream.
std::vector< Triangle > triangles
vectorField pointField
pointField is a vectorField.
const dimensionedScalar e
Elementary charge.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Tree tree(triangles.begin(), triangles.end())
labelList triSurfaceToAgglom(5 *nFineFaces)
vector point
Point is a vector.
const dimensionedScalar c
Speed of light in a vacuum.
const polyBoundaryMesh & patches
List< label > labelList
A List of labels.