mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: template ambiguity for 64-bit labels (issue #175)
This commit is contained in:
@ -80,7 +80,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const
|
||||
// label i2 = ((i + 1) % nPoint) + nPoint;
|
||||
// os << "l " << i1 << " " << i2 << nl;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
const Time& time = db().time();
|
||||
@ -95,7 +95,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const
|
||||
const eddy& e = eddies_[eddyI];
|
||||
pointOffset += e.writeSurfaceOBJ(pointOffset, patchNormal_, os);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeLumleyCoeffs() const
|
||||
scalar eta = sqrt(-ii/3.0);
|
||||
os << xi << token::TAB << eta << token::TAB
|
||||
<< ii << token::TAB << iii << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// After interpolation
|
||||
@ -1107,7 +1107,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::write(Ostream& os) const
|
||||
writeEntryIfDifferent(os, "d", 1.0, d_);
|
||||
writeEntryIfDifferent(os, "kappa", 0.41, kappa_);
|
||||
writeEntryIfDifferent(os, "perturb", 1e-5, perturb_);
|
||||
writeEntryIfDifferent(os, "nCellPerEddy", 5, nCellPerEddy_);
|
||||
writeEntryIfDifferent<label>(os, "nCellPerEddy", 5, nCellPerEddy_);
|
||||
writeEntryIfDifferent(os, "writeEddies", false, writeEddies_);
|
||||
|
||||
if (!interpolateR_)
|
||||
|
||||
Reference in New Issue
Block a user