Skip to content

Commit

Permalink
bddc - drop old style markers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Dec 19, 2023
1 parent fb75940 commit fcfb10e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/petsc/src/libceedsetup.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,15 +316,11 @@ PetscErrorCode SetupLibceedBDDC(DM dm_Pi, CeedData data_fine, CeedDataBDDC data_
// -- Subdomain restriction
CeedElemRestrictionGetNumElements(elem_restr_Pi, &num_elem);
CeedInt strides_r[3] = {num_comp_u, 1, num_comp_u * elem_size};
CeedElemRestrictionCreateStrided(ceed, num_elem, elem_size, num_comp_u,
num_comp_u * num_elem * elem_size, // **NOPAD**
strides_r, &elem_restr_r);
CeedElemRestrictionCreateStrided(ceed, num_elem, elem_size, num_comp_u, num_comp_u * num_elem * elem_size, strides_r, &elem_restr_r);

// -- Broken subdomain restriction
CeedInt strides_Pi_r[3] = {num_comp_u, 1, num_comp_u * 8};
CeedElemRestrictionCreateStrided(ceed, num_elem, 8, num_comp_u,
num_comp_u * num_elem * 8, // **NOPAD**
strides_Pi_r, &elem_restr_Pi_r);
CeedElemRestrictionCreateStrided(ceed, num_elem, 8, num_comp_u, num_comp_u * num_elem * 8, strides_Pi_r, &elem_restr_Pi_r);

// Create the persistent vectors that will be needed
CeedVectorCreate(ceed, xl_vertex_size, &x_Pi_ceed);
Expand Down

0 comments on commit fcfb10e

Please sign in to comment.