pointPatchFields: Corrected setInInternalField -> setInternalField

This commit is contained in:
Henry Weller
2022-05-18 13:46:49 +01:00
parent 90dffb91af
commit 2d25eacea8
10 changed files with 23 additions and 23 deletions

View File

@ -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<Type>::evaluate
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, tvalues());
this->setInternalField(iF, tvalues());
}

View File

@ -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<Type>::updateCoeffs()
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, *this);
this->setInternalField(iF, *this);
pointPatchField<Type>::updateCoeffs();
}
@ -169,7 +169,7 @@ void Foam::valuePointPatchField<Type>::evaluate(const Pstream::commsTypes)
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, *this);
this->setInternalField(iF, *this);
pointPatchField<Type>::evaluate();
}

View File

@ -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<Type>::evaluate(const Pstream::commsTypes)
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, tvalues());
this->setInternalField(iF, tvalues());
}

View File

@ -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<Type>::evaluate
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, tvalues());
this->setInternalField(iF, tvalues());
}

View File

@ -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<Type>::evaluate(const Pstream::commsTypes)
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, tvalues());
this->setInternalField(iF, tvalues());
}

View File

@ -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<Type>::evaluate
// Get internal field to insert values into
Field<Type>& iF = const_cast<Field<Type>&>(this->primitiveField());
this->setInInternalField(iF, tvalues());
this->setInternalField(iF, tvalues());
}

View File

@ -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<Type>::addToInternalField
template<class Type>
template<class Type1>
void Foam::pointPatchField<Type>::setInInternalField
void Foam::pointPatchField<Type>::setInternalField
(
Field<Type1>& iF,
const Field<Type1>& pF,
@ -261,13 +261,13 @@ void Foam::pointPatchField<Type>::setInInternalField
template<class Type>
template<class Type1>
void Foam::pointPatchField<Type>::setInInternalField
void Foam::pointPatchField<Type>::setInternalField
(
Field<Type1>& iF,
const Field<Type1>& pF
) const
{
setInInternalField(iF, pF, patch().meshPoints());
setInternalField(iF, pF, patch().meshPoints());
}

View File

@ -368,7 +368,7 @@ public:
//- Given the internal field and a patch field,
// set the patch field in the internal field
template<class Type1>
void setInInternalField
void setInternalField
(
Field<Type1>& iF,
const Field<Type1>& pF,
@ -378,7 +378,7 @@ public:
//- Given the internal field and a patch field,
// set the patch field in the internal field
template<class Type1>
void setInInternalField
void setInternalField
(
Field<Type1>& iF,
const Field<Type1>& pF

View File

@ -151,7 +151,7 @@ public:
//- Helper: set patchField values from internal values (on
// valuePointPatchFields). Opposite of
// pointPatchField::setInInternalField
// pointPatchField::setInternalField
template<class Type>
static void setPatchFields
(

View File

@ -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<vector>& iF = const_cast<Field<vector>&>(this->primitiveField());
// setInInternalField(iF, motionU);
setInInternalField(iF, displacement);
// setInternalField(iF, motionU);
setInternalField(iF, displacement);
pointPatchVectorField::evaluate(commsType);
}