Lines Matching refs:moffset

250 …const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offset);…  in LandauFormJacobian_Internal()  local
263 coef[f * Nb + b] = xdata[idx + moffset]; in LandauFormJacobian_Internal()
270 coef[f * Nb + b] += scale * xdata[id + moffset]; in LandauFormJacobian_Internal()
324 …const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offset… in LandauFormJacobian_Internal() local
527 for (q = 0; q < nr; q++) rows[q] = rows0[q] + moffset; in LandauFormJacobian_Internal()
528 for (d = 0; d < nc; d++) cols[d] = cols0[d] + moffset; in LandauFormJacobian_Internal()
555 …const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offs… in LandauFormJacobian_Internal() local
566 for (PetscInt j = 0; j < nzl; j++) colbuf[j] = moffset + cols[j]; in LandauFormJacobian_Internal()
567 row = moffset + i; in LandauFormJacobian_Internal()
1652 … const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offset); in CreateStaticData() local
1676 oor[idx] = rows[q] + moffset; in CreateStaticData()
1677 ooc[idx] = cols[d] + moffset; in CreateStaticData()
1936 …const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offs… in LandauCreateJacobianMatrix() local
1948 for (PetscInt j = 0; j < nzl; j++) colbuf[j] = cols[j] + moffset; in LandauCreateJacobianMatrix()
1949 row = i + moffset; in LandauCreateJacobianMatrix()
2130 …const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offs… in DMPlexLandauCreateVelocitySpace() local
2133 …for (PetscInt i = 0, idx = moffset; i < n; i++, idx++) PetscCall(VecSetValue(*X, idx, values[i], I… in DMPlexLandauCreateVelocitySpace()
2236 … const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offset); in DMPlexLandauAccess() local
2245 …for (PetscInt i = 0; i < n; i++) PetscCall(VecSetValue(X, moffset + offsets[i], values[i], ADD_VAL… in DMPlexLandauAccess()
2624 …const PetscInt moffset = LAND_MOFFSET(b_id, grid, ctx->batch_sz, ctx->num_grids, ctx->mat_offs… in DMPlexLandauCreateMassMatrix() local
2636 for (PetscInt j = 0; j < nzl; j++) colbuf[j] = cols[j] + moffset; in DMPlexLandauCreateMassMatrix()
2637 row = i + moffset; in DMPlexLandauCreateMassMatrix()