Skip to content
Snippets Groups Projects
Commit 46bd2fe6 authored by Henry's avatar Henry
Browse files
parents 56bfb3cb 04b1eedf
Branches
Tags
No related merge requests found
......@@ -210,6 +210,14 @@ int main(int argc, char *argv[])
outFile << pt.x() << ' ' << pt.y() << ' ' << pt.z() << nl;
}
outFile
<< "VERTICES " << points.size() << ' ' << (2 * points.size()) << nl;
forAll(points, i)
{
outFile << 1 << ' ' << i << nl;
}
label nItems = 0;
forAll(polyLines, polyI)
{
......
......@@ -103,7 +103,7 @@ void Foam::regionModels::regionModel::initialise()
forAll(rbm, patchI)
{
const polyPatch& regionPatch = rbm[patchI];
if (isA<mappedWallPolyPatch>(regionPatch))
if (isA<mappedPatchBase>(regionPatch))
{
if (debug)
{
......@@ -136,7 +136,7 @@ void Foam::regionModels::regionModel::initialise()
primaryPatchIDs_.transfer(primaryPatchIDs);
intCoupledPatchIDs_.transfer(intCoupledPatchIDs);
if (nBoundaryFaces == 0)
if (returnReduce(nBoundaryFaces, sumOp<label>()) == 0)
{
WarningIn("regionModel::initialise()")
<< "Region model has no mapped boundary conditions - transfer "
......
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