mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://opencfd:8007/home/dm4/OpenFOAM/repositories/OpenFOAM-dev
This commit is contained in:
@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user