Formatting
This commit is contained in:
parent
0dd14c8b93
commit
e2923294c8
1 changed files with 10 additions and 9 deletions
|
@ -296,7 +296,10 @@ void Foam::surfaceInterpolation::makeCorrectionVectors() const
|
|||
vector unitArea = Sf[facei]/magSf[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
|
||||
|
@ -334,8 +337,6 @@ void Foam::surfaceInterpolation::makeCorrectionVectors() const
|
|||
<< endl;
|
||||
}
|
||||
|
||||
//MaxNonOrthog = 0.0;
|
||||
|
||||
if (MaxNonOrthog < 5)
|
||||
{
|
||||
orthogonal_ = true;
|
||||
|
|
Reference in a new issue