Searched refs:stencil_active (Results 1 – 1 of 1) sorted by relevance
32 PetscInt *stencil_active; in DMStagCreateISFromStencils() local50 PetscCall(PetscCalloc1(DMSTAG_NUMBER_LOCATIONS * nc_max, &stencil_active)); in DMStagCreateISFromStencils()57 if (stencil_active[slot] == 0) { in DMStagCreateISFromStencils()58 stencil_active[slot] = 1; in DMStagCreateISFromStencils()68 if (stencil_active[nc_max * i + c] != 0) { in DMStagCreateISFromStencils()76 PetscCall(PetscFree(stencil_active)); in DMStagCreateISFromStencils()