@@ -189,7 +189,7 @@ PetscErrorCode DMFieldToDSField(DM dm, DMLabel domain_label, PetscInt dm_field,
189
189
PetscFunctionBeginUser ;
190
190
191
191
// Translate dm_field to ds_field
192
- PetscCall (DMGetRegionDS (dm , domain_label , & field_is , & ds ));
192
+ PetscCall (DMGetRegionDS (dm , domain_label , & field_is , & ds , NULL ));
193
193
PetscCall (ISGetIndices (field_is , & fields ));
194
194
PetscCall (ISGetSize (field_is , & num_fields ));
195
195
for (PetscInt i = 0 ; i < num_fields ; i ++ ) {
@@ -316,7 +316,7 @@ PetscErrorCode CreateBasisFromPlex(Ceed ceed, DM dm, DMLabel domain_label, CeedI
316
316
PetscFunctionBeginUser ;
317
317
318
318
// Get element information
319
- PetscCall (DMGetRegionDS (dm , domain_label , NULL , & ds ));
319
+ PetscCall (DMGetRegionDS (dm , domain_label , NULL , & ds , NULL ));
320
320
PetscCall (DMFieldToDSField (dm , domain_label , dm_field , & ds_field ));
321
321
PetscCall (PetscDSGetDiscretization (ds , ds_field , (PetscObject * )& fe ));
322
322
PetscCall (PetscFEGetHeightSubspace (fe , height , & fe ));
0 commit comments