pointPatchFields: Corrected setInInternalField -> setInternalField
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
(
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user