diff --git a/vtkm/cont/Field.h b/vtkm/cont/Field.h index 52ad548c5..0249d3faa 100644 --- a/vtkm/cont/Field.h +++ b/vtkm/cont/Field.h @@ -534,6 +534,20 @@ public: VTKM_ASSERT_CONT(this->Association == ASSOC_LOGICAL_DIM); } + VTKM_CONT_EXPORT + Field() + : Name(), + Order(), + Association(), + AssocCellSetName(), + AssocLogicalDim(), + Data(), + Bounds(), + ModifiedFlag(true) + { + //Generate an empty field + } + VTKM_CONT_EXPORT const std::string &GetName() const {