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

@ -455,7 +455,7 @@ void ensightField
{
// Interpolates cell values to faces - needed only when exporting
// faceZones...
GeometricField<Type, fvsPatchField, surfaceMesh> sf
SurfaceField<Type> sf
(
linearInterpolate(vf)
);