Skip to content
Snippets Groups Projects
Commit 511567be authored by mattijs's avatar mattijs
Browse files

STYLE: cyclicPolyPatch : 80 char limit

parent 28786582
No related branches found
No related tags found
No related merge requests found
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment