PatchFields: Removed simple copy constructors and clone functions
These do not necessarily set the internal field reference correctly and it is safer that the correct internal field is provided as an argument.
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-2020 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -66,16 +66,6 @@ Foam::zeroGradientFvPatchField<Type>::zeroGradientFvPatchField
|
||||
{}
|
||||
|
||||
|
||||
template<class Type>
|
||||
Foam::zeroGradientFvPatchField<Type>::zeroGradientFvPatchField
|
||||
(
|
||||
const zeroGradientFvPatchField& zgpf
|
||||
)
|
||||
:
|
||||
fvPatchField<Type>(zgpf)
|
||||
{}
|
||||
|
||||
|
||||
template<class Type>
|
||||
Foam::zeroGradientFvPatchField<Type>::zeroGradientFvPatchField
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user