Code simplification: GeometricField<Type, fvPatchField, volMesh> -> VolField<Type>
Using the VolField<Type> partial specialisation of GeometricField<Type, fvPatchField, volMesh> simplifies the code and improves readability.
This commit is contained in:
@ -101,7 +101,7 @@ bool setCellFieldType
|
||||
}
|
||||
}
|
||||
|
||||
typename GeometricField<Type, fvPatchField, volMesh>::
|
||||
typename VolField<Type>::
|
||||
Boundary& fieldBf = field.boundaryFieldRef();
|
||||
|
||||
forAll(field.boundaryField(), patchi)
|
||||
|
||||
Reference in New Issue
Block a user