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
d4dcd5bd
Commit
d4dcd5bd
authored
Feb 13, 2009
by
mattijs
Browse files
delayed transformation calculation
parent
54749c0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
View file @
d4dcd5bd
...
...
@@ -102,7 +102,9 @@ void Foam::cyclicPolyPatch::calcTransforms()
),
points
);
pointField
half0Ctrs
(
calcFaceCentres
(
half0
,
half0
.
points
()));
scalarField
half0Tols
(
calcFaceTol
(
half0
,
half0
.
points
(),
half0Ctrs
));
primitivePatch
half1
...
...
@@ -740,9 +742,7 @@ Foam::cyclicPolyPatch::cyclicPolyPatch
rotationAxis_
(
vector
::
zero
),
rotationCentre_
(
point
::
zero
),
separationVector_
(
vector
::
zero
)
{
calcTransforms
();
}
{}
Foam
::
cyclicPolyPatch
::
cyclicPolyPatch
...
...
@@ -786,8 +786,6 @@ Foam::cyclicPolyPatch::cyclicPolyPatch
}
}
}
calcTransforms
();
}
...
...
@@ -805,9 +803,7 @@ Foam::cyclicPolyPatch::cyclicPolyPatch
rotationAxis_
(
pp
.
rotationAxis_
),
rotationCentre_
(
pp
.
rotationCentre_
),
separationVector_
(
pp
.
separationVector_
)
{
calcTransforms
();
}
{}
Foam
::
cyclicPolyPatch
::
cyclicPolyPatch
...
...
@@ -827,9 +823,7 @@ Foam::cyclicPolyPatch::cyclicPolyPatch
rotationAxis_
(
pp
.
rotationAxis_
),
rotationCentre_
(
pp
.
rotationCentre_
),
separationVector_
(
pp
.
separationVector_
)
{
calcTransforms
();
}
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
...
...
@@ -852,6 +846,7 @@ void Foam::cyclicPolyPatch::initGeometry()
void
Foam
::
cyclicPolyPatch
::
calcGeometry
()
{
polyPatch
::
calcGeometry
();
calcTransforms
();
}
void
Foam
::
cyclicPolyPatch
::
initMovePoints
(
const
pointField
&
p
)
...
...
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