Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
511567be
Commit
511567be
authored
14 years ago
by
mattijs
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: cyclicPolyPatch : 80 char limit
parent
28786582
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C
+2
-7
2 additions, 7 deletions
...esh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C
with
2 additions
and
7 deletions
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C
+
2
−
7
View file @
511567be
...
@@ -361,7 +361,8 @@ void Foam::oldCyclicPolyPatch::getCentresAndAnchors
...
@@ -361,7 +361,8 @@ void Foam::oldCyclicPolyPatch::getCentresAndAnchors
// if (debug)
// if (debug)
// {
// {
// Pout<< "oldCyclicPolyPatch::getCentresAndAnchors :"
// Pout<< "oldCyclicPolyPatch::getCentresAndAnchors :"
// << "Specified translation : " << separationVector_ << endl;
// << "Specified translation : " << separationVector_
// << endl;
// }
// }
//
//
// half0Ctrs += separationVector_;
// half0Ctrs += separationVector_;
...
@@ -946,7 +947,6 @@ bool Foam::oldCyclicPolyPatch::order
...
@@ -946,7 +947,6 @@ bool Foam::oldCyclicPolyPatch::order
<<
endl
;
<<
endl
;
// Recalculate untransformed face centres
// Recalculate untransformed face centres
//pointField rawHalf0Ctrs = calcFaceCentres(half0Faces, pp.points());
label
vertI
=
0
;
label
vertI
=
0
;
forAll
(
half1Ctrs
,
i
)
forAll
(
half1Ctrs
,
i
)
...
@@ -954,7 +954,6 @@ bool Foam::oldCyclicPolyPatch::order
...
@@ -954,7 +954,6 @@ bool Foam::oldCyclicPolyPatch::order
if
(
from1To0
[
i
]
!=
-
1
)
if
(
from1To0
[
i
]
!=
-
1
)
{
{
// Write edge between c1 and c0
// Write edge between c1 and c0
//const point& c0 = rawHalf0Ctrs[from1To0[i]];
const
point
&
c0
=
half0Ctrs
[
from1To0
[
i
]];
const
point
&
c0
=
half0Ctrs
[
from1To0
[
i
]];
const
point
&
c1
=
half1Ctrs
[
i
];
const
point
&
c1
=
half1Ctrs
[
i
];
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
...
@@ -1059,7 +1058,6 @@ bool Foam::oldCyclicPolyPatch::order
...
@@ -1059,7 +1058,6 @@ bool Foam::oldCyclicPolyPatch::order
<<
endl
;
<<
endl
;
// Recalculate untransformed face centres
// Recalculate untransformed face centres
//pointField rawHalf0Ctrs = calcFaceCentres(half0Faces, pp.points());
label
vertI
=
0
;
label
vertI
=
0
;
forAll
(
half1Ctrs
,
i
)
forAll
(
half1Ctrs
,
i
)
...
@@ -1067,7 +1065,6 @@ bool Foam::oldCyclicPolyPatch::order
...
@@ -1067,7 +1065,6 @@ bool Foam::oldCyclicPolyPatch::order
if
(
from1To0
[
i
]
!=
-
1
)
if
(
from1To0
[
i
]
!=
-
1
)
{
{
// Write edge between c1 and c0
// Write edge between c1 and c0
//const point& c0 = rawHalf0Ctrs[from1To0[i]];
const
point
&
c0
=
half0Ctrs
[
from1To0
[
i
]];
const
point
&
c0
=
half0Ctrs
[
from1To0
[
i
]];
const
point
&
c1
=
half1Ctrs
[
i
];
const
point
&
c1
=
half1Ctrs
[
i
];
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
...
@@ -1145,7 +1142,6 @@ bool Foam::oldCyclicPolyPatch::order
...
@@ -1145,7 +1142,6 @@ bool Foam::oldCyclicPolyPatch::order
<<
endl
;
<<
endl
;
// Recalculate untransformed face centres
// Recalculate untransformed face centres
//pointField rawHalf0Ctrs = calcFaceCentres(half0Faces, pp.points());
label
vertI
=
0
;
label
vertI
=
0
;
forAll
(
half1Ctrs
,
i
)
forAll
(
half1Ctrs
,
i
)
...
@@ -1153,7 +1149,6 @@ bool Foam::oldCyclicPolyPatch::order
...
@@ -1153,7 +1149,6 @@ bool Foam::oldCyclicPolyPatch::order
if
(
from1To0
[
i
]
!=
-
1
)
if
(
from1To0
[
i
]
!=
-
1
)
{
{
// Write edge between c1 and c0
// Write edge between c1 and c0
//const point& c0 = rawHalf0Ctrs[from1To0[i]];
const
point
&
c0
=
half0Ctrs
[
from1To0
[
i
]];
const
point
&
c0
=
half0Ctrs
[
from1To0
[
i
]];
const
point
&
c1
=
half1Ctrs
[
i
];
const
point
&
c1
=
half1Ctrs
[
i
];
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment