Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e26ca2de
Commit
e26ca2de
authored
Mar 06, 2009
by
mattijs
Browse files
readUpdate corrected for new mesh data
parent
e1c28506
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyMeshIO.C
View file @
e26ca2de
...
...
@@ -268,7 +268,12 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
// Calculate the geometry for the patches (transformation tensors etc.)
boundary_
.
calcGeometry
();
// Derived info
bounds_
=
boundBox
(
points_
);
geometricD_
=
Vector
<
label
>::
zero
;
solutionD_
=
Vector
<
label
>::
zero
;
// Zones
pointZoneMesh
newPointZones
(
IOobject
...
...
@@ -418,6 +423,13 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
false
)
);
// Derived info
bounds_
=
boundBox
(
points_
);
// Rotation can cause direction vector to change
geometricD_
=
Vector
<
label
>::
zero
;
solutionD_
=
Vector
<
label
>::
zero
;
return
polyMesh
::
POINTS_MOVED
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment