diff --git a/src/conversion/ccm/Allwmake b/src/conversion/ccm/Allwmake index a3e067e1dc..da52586add 100755 --- a/src/conversion/ccm/Allwmake +++ b/src/conversion/ccm/Allwmake @@ -15,8 +15,13 @@ if [ "$WM_LABEL_SIZE" = 64 ] then # The libccmio uses int32_t. # The OpenFOAM adapter thus requires additional work for 64-bit labels. - echo "Skipping optional component libccm" + echo "Skipping optional 'libccm' adapter component" echo " does not support 64-bit labels" +elif [ "$WM_PRECISION_OPTION" = SP ] +then + # The OpenFOAM adapter was originally only designed for 'double' + echo "Skipping optional 'libccm' adapter component" + echo " was not originally designed for 'single precision' values" elif [ -e $CCMIO_ARCH_PATH/include/libccmio/ccmio.h \ -a -e $CCMIO_ARCH_PATH/lib/libccmio.a ] then diff --git a/src/fileFormats/starcd/STARCDCore.C b/src/fileFormats/starcd/STARCDCore.C index 612b9c3091..7ea833b488 100644 --- a/src/fileFormats/starcd/STARCDCore.C +++ b/src/fileFormats/starcd/STARCDCore.C @@ -230,7 +230,7 @@ void Foam::fileFormats::STARCDCore::writePoints ( Ostream& os, const pointField& points, - const double scaleFactor + const scalar scaleFactor ) { writeHeader(os, HEADER_VRT); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C index e2bf45527f..5a42c9e0d8 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C @@ -1104,9 +1104,9 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::write(Ostream& os) const fvPatchField::write(os); writeEntry("value", os); os.writeKeyword("delta") << delta_ << token::END_STATEMENT << nl; - writeEntryIfDifferent(os, "d", 1.0, d_); - writeEntryIfDifferent(os, "kappa", 0.41, kappa_); - writeEntryIfDifferent(os, "perturb", 1e-5, perturb_); + writeEntryIfDifferent(os, "d", 1.0, d_); + writeEntryIfDifferent(os, "kappa", 0.41, kappa_); + writeEntryIfDifferent(os, "perturb", 1e-5, perturb_); writeEntryIfDifferent