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:
@ -154,10 +154,10 @@ public:
|
||||
|
||||
//- Decompose surface field
|
||||
template<class Type>
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
|
||||
tmp<SurfaceField<Type>>
|
||||
decomposeField
|
||||
(
|
||||
const GeometricField<Type, fvsPatchField, surfaceMesh>& field
|
||||
const SurfaceField<Type>& field
|
||||
) const;
|
||||
|
||||
//- Decompose a list of fields
|
||||
|
||||
Reference in New Issue
Block a user