mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Corrected spelling mistake existance -> existence
Patch provided by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2425
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -267,7 +267,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
|
|||||||
InfoInFunction << "Constructing fvMesh from IOobject" << endl;
|
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
|
// and set the storage of V00
|
||||||
if (isFile(time().timePath()/"V0"))
|
if (isFile(time().timePath()/"V0"))
|
||||||
{
|
{
|
||||||
@ -288,7 +288,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
|
|||||||
V00();
|
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
|
// mesh to be moving
|
||||||
if (isFile(time().timePath()/"meshPhi"))
|
if (isFile(time().timePath()/"meshPhi"))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -130,7 +130,7 @@ fi
|
|||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# If target not specified search up the directory tree for the Make
|
# 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
|
# present
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -58,7 +58,7 @@ fi
|
|||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# Search up the directory tree for the Make sub-directory,
|
# 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
|
# Need to add an option or special logic to control cdSource
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -89,7 +89,7 @@ dirName="$1"
|
|||||||
# Simple check against $PWD
|
# Simple check against $PWD
|
||||||
[ "$PWD" = "$dirName" ] && exit 0
|
[ "$PWD" = "$dirName" ] && exit 0
|
||||||
|
|
||||||
# Check existance of <dir>
|
# Check existence of <dir>
|
||||||
[ -d "$dirName" ] || {
|
[ -d "$dirName" ] || {
|
||||||
[ "$quietOpt" = true ] || {
|
[ "$quietOpt" = true ] || {
|
||||||
echo "$Script error: Directory does not exist $dirName"
|
echo "$Script error: Directory does not exist $dirName"
|
||||||
|
|||||||
Reference in New Issue
Block a user