From 2d25eacea853bb52dbf0df42f230e58105ddbf27 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Wed, 18 May 2022 13:46:49 +0100 Subject: [PATCH] pointPatchFields: Corrected setInInternalField -> setInternalField --- .../basic/basicSymmetry/basicSymmetryPointPatchField.C | 4 ++-- .../pointPatchFields/basic/value/valuePointPatchField.C | 6 +++--- .../constraint/cyclicSlip/cyclicSlipPointPatchField.C | 4 ++-- .../symmetryPlane/symmetryPlanePointPatchField.C | 4 ++-- .../constraint/wedge/wedgePointPatchField.C | 4 ++-- .../fixedNormalSlip/fixedNormalSlipPointPatchField.C | 4 ++-- .../pointPatchFields/pointPatchField/pointPatchField.C | 8 ++++---- .../pointPatchFields/pointPatchField/pointPatchField.H | 4 ++-- .../volPointInterpolation/pointConstraints.H | 2 +- .../surfaceSlipDisplacementPointPatchVectorField.C | 6 +++--- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.C index 7c4847ae6c..adb7bef77b 100644 --- a/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/basic/basicSymmetry/basicSymmetryPointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -98,7 +98,7 @@ void Foam::basicSymmetryPointPatchField::evaluate // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, tvalues()); + this->setInternalField(iF, tvalues()); } diff --git a/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.C index 64deffddcf..c64bf179df 100644 --- a/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -157,7 +157,7 @@ void Foam::valuePointPatchField::updateCoeffs() // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, *this); + this->setInternalField(iF, *this); pointPatchField::updateCoeffs(); } @@ -169,7 +169,7 @@ void Foam::valuePointPatchField::evaluate(const Pstream::commsTypes) // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, *this); + this->setInternalField(iF, *this); pointPatchField::evaluate(); } diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclicSlip/cyclicSlipPointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclicSlip/cyclicSlipPointPatchField.C index 834034275d..d2e4c47de9 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclicSlip/cyclicSlipPointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclicSlip/cyclicSlipPointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -95,7 +95,7 @@ void Foam::cyclicSlipPointPatchField::evaluate(const Pstream::commsTypes) // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, tvalues()); + this->setInternalField(iF, tvalues()); } diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/symmetryPlane/symmetryPlanePointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/constraint/symmetryPlane/symmetryPlanePointPatchField.C index 9c4c190006..52625984bc 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/symmetryPlane/symmetryPlanePointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/symmetryPlane/symmetryPlanePointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -119,7 +119,7 @@ void Foam::symmetryPlanePointPatchField::evaluate // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, tvalues()); + this->setInternalField(iF, tvalues()); } diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/wedge/wedgePointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/constraint/wedge/wedgePointPatchField.C index c4cacc07d8..36ee469bb2 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/wedge/wedgePointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/wedge/wedgePointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -111,7 +111,7 @@ void Foam::wedgePointPatchField::evaluate(const Pstream::commsTypes) // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, tvalues()); + this->setInternalField(iF, tvalues()); } diff --git a/src/OpenFOAM/fields/pointPatchFields/derived/fixedNormalSlip/fixedNormalSlipPointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/derived/fixedNormalSlip/fixedNormalSlipPointPatchField.C index 3574420d4c..5106fd6cd3 100644 --- a/src/OpenFOAM/fields/pointPatchFields/derived/fixedNormalSlip/fixedNormalSlipPointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/derived/fixedNormalSlip/fixedNormalSlipPointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -92,7 +92,7 @@ void Foam::fixedNormalSlipPointPatchField::evaluate // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - this->setInInternalField(iF, tvalues()); + this->setInternalField(iF, tvalues()); } diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C index 8d59f419a4..70b91be683 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -226,7 +226,7 @@ void Foam::pointPatchField::addToInternalField template template -void Foam::pointPatchField::setInInternalField +void Foam::pointPatchField::setInternalField ( Field& iF, const Field& pF, @@ -261,13 +261,13 @@ void Foam::pointPatchField::setInInternalField template template -void Foam::pointPatchField::setInInternalField +void Foam::pointPatchField::setInternalField ( Field& iF, const Field& pF ) const { - setInInternalField(iF, pF, patch().meshPoints()); + setInternalField(iF, pF, patch().meshPoints()); } diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H index f88628ebe1..2e8f7b9ef4 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H @@ -368,7 +368,7 @@ public: //- Given the internal field and a patch field, // set the patch field in the internal field template - void setInInternalField + void setInternalField ( Field& iF, const Field& pF, @@ -378,7 +378,7 @@ public: //- Given the internal field and a patch field, // set the patch field in the internal field template - void setInInternalField + void setInternalField ( Field& iF, const Field& pF diff --git a/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H b/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H index d692b768fc..546f346c14 100644 --- a/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H +++ b/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H @@ -151,7 +151,7 @@ public: //- Helper: set patchField values from internal values (on // valuePointPatchFields). Opposite of - // pointPatchField::setInInternalField + // pointPatchField::setInternalField template static void setPatchFields ( diff --git a/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C b/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C index e721257e06..f84affe96b 100644 --- a/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C +++ b/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -410,8 +410,8 @@ void surfaceSlipDisplacementPointPatchVectorField::evaluate // Get internal field to insert values into Field& iF = const_cast&>(this->primitiveField()); - // setInInternalField(iF, motionU); - setInInternalField(iF, displacement); + // setInternalField(iF, motionU); + setInternalField(iF, displacement); pointPatchVectorField::evaluate(commsType); }