Skip to content
Snippets Groups Projects
Commit e7993295 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: template ambiguity for 64-bit labels (issue #175)

parent 2ed6b4da
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const ...@@ -80,7 +80,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const
// label i2 = ((i + 1) % nPoint) + nPoint; // label i2 = ((i + 1) % nPoint) + nPoint;
// os << "l " << i1 << " " << i2 << nl; // os << "l " << i1 << " " << i2 << nl;
//} //}
} }
{ {
const Time& time = db().time(); const Time& time = db().time();
...@@ -95,7 +95,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const ...@@ -95,7 +95,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const
const eddy& e = eddies_[eddyI]; const eddy& e = eddies_[eddyI];
pointOffset += e.writeSurfaceOBJ(pointOffset, patchNormal_, os); pointOffset += e.writeSurfaceOBJ(pointOffset, patchNormal_, os);
} }
} }
} }
...@@ -141,7 +141,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeLumleyCoeffs() const ...@@ -141,7 +141,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeLumleyCoeffs() const
scalar eta = sqrt(-ii/3.0); scalar eta = sqrt(-ii/3.0);
os << xi << token::TAB << eta << token::TAB os << xi << token::TAB << eta << token::TAB
<< ii << token::TAB << iii << endl; << ii << token::TAB << iii << endl;
} }
} }
// After interpolation // After interpolation
...@@ -1107,7 +1107,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::write(Ostream& os) const ...@@ -1107,7 +1107,7 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::write(Ostream& os) const
writeEntryIfDifferent(os, "d", 1.0, d_); writeEntryIfDifferent(os, "d", 1.0, d_);
writeEntryIfDifferent(os, "kappa", 0.41, kappa_); writeEntryIfDifferent(os, "kappa", 0.41, kappa_);
writeEntryIfDifferent(os, "perturb", 1e-5, perturb_); writeEntryIfDifferent(os, "perturb", 1e-5, perturb_);
writeEntryIfDifferent(os, "nCellPerEddy", 5, nCellPerEddy_); writeEntryIfDifferent<label>(os, "nCellPerEddy", 5, nCellPerEddy_);
writeEntryIfDifferent(os, "writeEddies", false, writeEddies_); writeEntryIfDifferent(os, "writeEddies", false, writeEddies_);
if (!interpolateR_) if (!interpolateR_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment