mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: added constexpr, noexcept for bool, Switch
- rationalized some method naming. Eg, c_str() instead of asText()
This commit is contained in:
@ -267,7 +267,7 @@ void Foam::controlMeshRefinement::initialMeshPopulation
|
||||
|
||||
Info<< "Inserting points from " << controlFunction.name()
|
||||
<< " (" << controlFunction.type() << ")" << endl;
|
||||
Info<< " Force insertion is " << forceInsertion.asText() << endl;
|
||||
Info<< " Force insertion is " << forceInsertion.c_str() << endl;
|
||||
|
||||
pointField pts;
|
||||
scalarField sizes;
|
||||
@ -453,7 +453,7 @@ void Foam::controlMeshRefinement::initialMeshPopulation
|
||||
|
||||
Info<< "Inserting points from " << controlFunction.name()
|
||||
<< " (" << controlFunction.type() << ")" << endl;
|
||||
Info<< " Force insertion is " << forceInsertion.asText() << endl;
|
||||
Info<< " Force insertion is " << forceInsertion.c_str() << endl;
|
||||
|
||||
DynamicList<Foam::point> extraPts;
|
||||
DynamicList<scalar> extraSizes;
|
||||
|
||||
@ -538,13 +538,13 @@ Foam::featurePointConformer::featurePointConformer
|
||||
|
||||
Info<< incrIndent
|
||||
<< indent << "Circulating edges is: "
|
||||
<< foamyHexMeshControls_.circulateEdges().asText() << nl
|
||||
<< foamyHexMeshControls_.circulateEdges().c_str() << nl
|
||||
<< indent << "Guarding feature points is: "
|
||||
<< foamyHexMeshControls_.guardFeaturePoints().asText() << nl
|
||||
<< foamyHexMeshControls_.guardFeaturePoints().c_str() << nl
|
||||
<< indent << "Snapping to feature points is: "
|
||||
<< foamyHexMeshControls_.snapFeaturePoints().asText() << nl
|
||||
<< foamyHexMeshControls_.snapFeaturePoints().c_str() << nl
|
||||
<< indent << "Specialising feature points is: "
|
||||
<< foamyHexMeshControls_.specialiseFeaturePoints().asText()
|
||||
<< foamyHexMeshControls_.specialiseFeaturePoints().c_str()
|
||||
<< decrIndent
|
||||
<< endl;
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@ pointFile::pointFile
|
||||
readScalar(detailsDict().lookup("randomPerturbationCoeff"))
|
||||
)
|
||||
{
|
||||
Info<< " Inside/Outside check is " << insideOutsideCheck_.asText()
|
||||
Info<< " Inside/Outside check is " << insideOutsideCheck_.c_str()
|
||||
<< endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user