Formatting

This commit is contained in:
Hrvoje Jasak 2011-03-13 23:20:57 +00:00
parent 0dd14c8b93
commit e2923294c8

View file

@ -296,7 +296,10 @@ void Foam::surfaceInterpolation::makeCorrectionVectors() const
vector unitArea = Sf[facei]/magSf[facei]; vector unitArea = Sf[facei]/magSf[facei];
vector delta = C[neighbour[facei]] - C[owner[facei]]; vector delta = C[neighbour[facei]] - C[owner[facei]];
corrVecs[facei] = unitArea - delta*DeltaCoeffs[facei]; // If non-orthogonality is over 90 deg, kill correction vector
// HJ, 27/Feb/2011
corrVecs[facei] = pos(unitArea & delta)*
(unitArea - delta*DeltaCoeffs[facei]);
} }
// Boundary correction vectors set to zero for boundary patches // Boundary correction vectors set to zero for boundary patches
@ -334,8 +337,6 @@ void Foam::surfaceInterpolation::makeCorrectionVectors() const
<< endl; << endl;
} }
//MaxNonOrthog = 0.0;
if (MaxNonOrthog < 5) if (MaxNonOrthog < 5)
{ {
orthogonal_ = true; orthogonal_ = true;