Skip to content

Commit

Permalink
functionObjects: fieldAverage: Corrected initialisation behaviour
Browse files Browse the repository at this point in the history
The fieldAverage can now average fields that do not exist at
construction time, and it also supports restart on cases in which
the mesh topology is changing.
  • Loading branch information
Will Bainbridge committed Dec 1, 2022
1 parent ed7e703 commit 3e8b97f
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 305 deletions.
3 changes: 3 additions & 0 deletions src/finiteVolume/fields/volFields/volFieldsFwd.H
Expand Up @@ -54,6 +54,9 @@ class GeometricField;
template<class Type>
using VolField = GeometricField<Type, fvPatchField, volMesh>;

template<class Type>
using VolInternalField = typename VolField<Type>::Internal;

typedef GeometricField<label, fvPatchField, volMesh> volLabelField;
typedef GeometricField<scalar, fvPatchField, volMesh> volScalarField;
typedef GeometricField<vector, fvPatchField, volMesh> volVectorField;
Expand Down

0 comments on commit 3e8b97f

Please sign in to comment.