mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Corrected ambiguous construction from tmp msgs (llvm/clang)
This commit is contained in:
@ -240,10 +240,15 @@ Foam::dynamicRefineFvMesh::refine
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// // Remove the stored tet base points
|
||||||
|
// tetBasePtIsPtr_.clear();
|
||||||
|
// // Remove the cell tree
|
||||||
|
// cellTreePtr_.clear();
|
||||||
|
|
||||||
// Update fields
|
// Update fields
|
||||||
updateMesh(map);
|
updateMesh(map);
|
||||||
|
|
||||||
|
|
||||||
// Move mesh
|
// Move mesh
|
||||||
/*
|
/*
|
||||||
pointField newPoints;
|
pointField newPoints;
|
||||||
|
|||||||
@ -628,7 +628,7 @@ void Foam::rotorDiskSource::addSup(fvMatrix<vector>& eqn, const label fieldI)
|
|||||||
|
|
||||||
const volVectorField& U = eqn.psi();
|
const volVectorField& U = eqn.psi();
|
||||||
|
|
||||||
const vectorField Uin = inflowVelocity(U);
|
const vectorField Uin(inflowVelocity(U));
|
||||||
|
|
||||||
trim_->correct(Uin, force);
|
trim_->correct(Uin, force);
|
||||||
|
|
||||||
|
|||||||
@ -431,7 +431,7 @@ void Foam::mappedPatchBase::calcMapping() const
|
|||||||
tmp<pointField> patchPoints(facePoints(patch_));
|
tmp<pointField> patchPoints(facePoints(patch_));
|
||||||
|
|
||||||
// Get offsetted points
|
// Get offsetted points
|
||||||
const pointField offsettedPoints = samplePoints(patchPoints());
|
const pointField offsettedPoints(samplePoints(patchPoints()));
|
||||||
|
|
||||||
|
|
||||||
// Do a sanity check
|
// Do a sanity check
|
||||||
|
|||||||
@ -153,14 +153,14 @@ Type Foam::fieldValues::faceSource::processSameTypeValues
|
|||||||
}
|
}
|
||||||
case opAreaAverage:
|
case opAreaAverage:
|
||||||
{
|
{
|
||||||
const scalarField magSf = mag(Sf);
|
const scalarField magSf(mag(Sf));
|
||||||
|
|
||||||
result = sum(values*magSf)/sum(magSf);
|
result = sum(values*magSf)/sum(magSf);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case opAreaIntegrate:
|
case opAreaIntegrate:
|
||||||
{
|
{
|
||||||
const scalarField magSf = mag(Sf);
|
const scalarField magSf(mag(Sf));
|
||||||
|
|
||||||
result = sum(values*magSf);
|
result = sum(values*magSf);
|
||||||
break;
|
break;
|
||||||
@ -177,7 +177,7 @@ Type Foam::fieldValues::faceSource::processSameTypeValues
|
|||||||
}
|
}
|
||||||
case opCoV:
|
case opCoV:
|
||||||
{
|
{
|
||||||
const scalarField magSf = mag(Sf);
|
const scalarField magSf(mag(Sf));
|
||||||
|
|
||||||
Type meanValue = sum(values*magSf)/sum(magSf);
|
Type meanValue = sum(values*magSf)/sum(magSf);
|
||||||
|
|
||||||
|
|||||||
@ -138,7 +138,7 @@ Foam::labelList Foam::springRenumber::renumber
|
|||||||
<< " average force:" << average(mag(sumForce)) << endl;
|
<< " average force:" << average(mag(sumForce)) << endl;
|
||||||
|
|
||||||
// Determine displacement.
|
// Determine displacement.
|
||||||
scalarField displacement = deltaT*sumForce;
|
scalarField displacement(deltaT*sumForce);
|
||||||
|
|
||||||
//Pout<< "Displacement :" << nl
|
//Pout<< "Displacement :" << nl
|
||||||
// << " min : " << min(displacement) << nl
|
// << " min : " << min(displacement) << nl
|
||||||
|
|||||||
@ -157,7 +157,7 @@ void Foam::ensightSetWriter<Type>::write
|
|||||||
<< "coordinates" << nl;
|
<< "coordinates" << nl;
|
||||||
for (direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
|
for (direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
|
||||||
{
|
{
|
||||||
const scalarField fld = valueSets[setI]->component(cmpt);
|
const scalarField fld(valueSets[setI]->component(cmpt));
|
||||||
forAll(fld, i)
|
forAll(fld, i)
|
||||||
{
|
{
|
||||||
if (mag(fld[i]) >= scalar(floatScalarVSMALL))
|
if (mag(fld[i]) >= scalar(floatScalarVSMALL))
|
||||||
@ -293,7 +293,7 @@ void Foam::ensightSetWriter<Type>::write
|
|||||||
cmpt++
|
cmpt++
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const scalarField fld = fieldVals[trackI].component(cmpt);
|
const scalarField fld(fieldVals[trackI].component(cmpt));
|
||||||
forAll(fld, i)
|
forAll(fld, i)
|
||||||
{
|
{
|
||||||
if (mag(fld[i]) >= scalar(floatScalarVSMALL))
|
if (mag(fld[i]) >= scalar(floatScalarVSMALL))
|
||||||
|
|||||||
Reference in New Issue
Block a user