From 959e4f17c9472190b38d5c0c6558c9e64cf617f5 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Sun, 8 Jan 2017 23:08:41 +0000 Subject: [PATCH] Corrected spelling mistake existance -> existence Patch provided by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2425 --- src/finiteVolume/fvMesh/fvMesh.C | 6 +++--- wmake/wclean | 4 ++-- wmake/wcleanLnIncludeAll | 4 ++-- wmake/wmakeCheckPwd | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/finiteVolume/fvMesh/fvMesh.C b/src/finiteVolume/fvMesh/fvMesh.C index 3342910ab1..a0261cf797 100644 --- a/src/finiteVolume/fvMesh/fvMesh.C +++ b/src/finiteVolume/fvMesh/fvMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -267,7 +267,7 @@ Foam::fvMesh::fvMesh(const IOobject& io) InfoInFunction << "Constructing fvMesh from IOobject" << endl; } - // Check the existance of the cell volumes and read if present + // Check the existence of the cell volumes and read if present // and set the storage of V00 if (isFile(time().timePath()/"V0")) { @@ -288,7 +288,7 @@ Foam::fvMesh::fvMesh(const IOobject& io) V00(); } - // Check the existance of the mesh fluxes, read if present and set the + // Check the existence of the mesh fluxes, read if present and set the // mesh to be moving if (isFile(time().timePath()/"meshPhi")) { diff --git a/wmake/wclean b/wmake/wclean index e2f6a3142c..a2161a88c4 100755 --- a/wmake/wclean +++ b/wmake/wclean @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -130,7 +130,7 @@ fi #------------------------------------------------------------------------------ # If target not specified search up the directory tree for the Make -# sub-directory, check the existance of the 'files' file and clean there if +# sub-directory, check the existence of the 'files' file and clean there if # present # ------------------------------------------------------------------------------ diff --git a/wmake/wcleanLnIncludeAll b/wmake/wcleanLnIncludeAll index 2a4a434485..b67247d3bc 100755 --- a/wmake/wcleanLnIncludeAll +++ b/wmake/wcleanLnIncludeAll @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -58,7 +58,7 @@ fi #------------------------------------------------------------------------------ # Search up the directory tree for the Make sub-directory, -# check the existance of the 'files' file and clean there if present +# check the existence of the 'files' file and clean there if present #------------------------------------------------------------------------------ # Need to add an option or special logic to control cdSource diff --git a/wmake/wmakeCheckPwd b/wmake/wmakeCheckPwd index f10b6d2339..726b0038f9 100755 --- a/wmake/wmakeCheckPwd +++ b/wmake/wmakeCheckPwd @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -89,7 +89,7 @@ dirName="$1" # Simple check against $PWD [ "$PWD" = "$dirName" ] && exit 0 -# Check existance of <dir> +# Check existence of <dir> [ -d "$dirName" ] || { [ "$quietOpt" = true ] || { echo "$Script error: Directory does not exist $dirName" -- GitLab