Code simplification: GeometricField<Type, fvsPatchField, surfaceMesh> -> SurfaceField<Type>

Using the SurfaceField<Type> partial specialisation of
GeometricField<Type, fvsPatchField, surfaceMesh>
simplifies the code and improves readability.
This commit is contained in:
Henry Weller
2022-12-02 19:02:15 +00:00
parent e84300d124
commit fe368d5332
138 changed files with 476 additions and 478 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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -132,7 +132,7 @@ public:
template<class Type>
tmp<Field<Type>> getFaceField
(
const GeometricField<Type, fvsPatchField, surfaceMesh>&,
const SurfaceField<Type>&,
const labelList& faceLabels
) const;