mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Closing brace in wrong place, non internalOrBoundaryPoint Dvs asked for
alignment which was uninitialised.
This commit is contained in:
@ -59,16 +59,11 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
while (runTime.run())
|
while (runTime.run())
|
||||||
{
|
{
|
||||||
Info<< nl << "Time = " << runTime.timeName()
|
Info<< nl << "Time = " << runTime.timeName() << endl;
|
||||||
<< endl;
|
|
||||||
|
|
||||||
mesh.move();
|
mesh.move();
|
||||||
|
|
||||||
runTime++;
|
runTime++;
|
||||||
|
|
||||||
Info<< nl << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
|
|
||||||
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
|
|
||||||
<< endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Info<< nl << "End\n" << endl;
|
Info<< nl << "End\n" << endl;
|
||||||
|
|||||||
@ -2100,7 +2100,6 @@ void Foam::conformalVoronoiMesh::move()
|
|||||||
} while (++cc != ccStart);
|
} while (++cc != ccStart);
|
||||||
|
|
||||||
verticesOnFace.shrink();
|
verticesOnFace.shrink();
|
||||||
}
|
|
||||||
|
|
||||||
Cell_handle c = eit->first;
|
Cell_handle c = eit->first;
|
||||||
Vertex_handle vA = c->vertex(eit->second);
|
Vertex_handle vA = c->vertex(eit->second);
|
||||||
@ -2109,8 +2108,10 @@ void Foam::conformalVoronoiMesh::move()
|
|||||||
point dVA = topoint(vA->point());
|
point dVA = topoint(vA->point());
|
||||||
point dVB = topoint(vB->point());
|
point dVB = topoint(vB->point());
|
||||||
|
|
||||||
Field<vector> alignmentDirsA = vA->alignment() & cartesianDirections;
|
Field<vector> alignmentDirsA =
|
||||||
Field<vector> alignmentDirsB = vB->alignment() & cartesianDirections;
|
vA->alignment() & cartesianDirections;
|
||||||
|
Field<vector> alignmentDirsB =
|
||||||
|
vB->alignment() & cartesianDirections;
|
||||||
|
|
||||||
Field<vector> alignmentDirs(3);
|
Field<vector> alignmentDirs(3);
|
||||||
|
|
||||||
@ -2171,6 +2172,7 @@ void Foam::conformalVoronoiMesh::move()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user