enum domain::FieldLocation location
The field location (sol or aux)
Definition: field.hpp:22
const PetscDataType dataType
The type of field.
Definition: field.hpp:25
const PetscInt numberComponents
The number of the components.
Definition: field.hpp:16
const std::string name
The unique name of the particle field.
Definition: field.hpp:13
const PetscInt offset
The offset in the local array, 0 for aux, computed for sol.
Definition: field.hpp:28
PetscInt dataSize
The size of the component for this data.
Definition: field.hpp:31
IndexType operator[](IndexType particle) const
Inline function to compute offset.
Definition: field.hpp:35
const std::vector< std::string > components
The name of the components.
Definition: field.hpp:19