Searched refs:e_offset (Results 1 – 2 of 2) sorted by relevance
146 const PetscInt e_offset = e + offset; in FormFunction1D() local149 if (e_offset >= 0 && e_offset < N + 1) { // Does not fully wrap in the periodic case in FormFunction1D()157 col.i = e_offset; in FormFunction1D()167 if (e_offset >= 0 && e_offset < N) { // Does not fully wrap in the periodic case in FormFunction1D()175 col.i = e_offset; in FormFunction1D()186 if (e_offset >= 0 && e_offset < N + 1) { // Does not fully wrap in the periodic case in FormFunction1D()194 col.i = e_offset; in FormFunction1D()204 if (e_offset >= 0 && e_offset < N) { // Does not fully wrap in the periodic case in FormFunction1D()212 col.i = e_offset; in FormFunction1D()260 const PetscInt e_offset = e + offset; in FormJacobian1D() local[all …]
596 const PetscInt e_offset = e + offset; in DMCreateMatrix_Stag_1D_AIJ_Assemble() local603 if (boundary_type_x == DM_BOUNDARY_PERIODIC || (e_offset < N + 1 && e_offset >= 0)) { in DMCreateMatrix_Stag_1D_AIJ_Assemble()604 for (PetscInt i = 0; i < epe; ++i) col[i].i = e_offset; in DMCreateMatrix_Stag_1D_AIJ_Assemble()