Home
last modified time | relevance | path

Searched refs:ipidx (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/utils/dmplexlandau/kokkos/
H A Dlandau.kokkos.cxx611 [=](const int &ipidx, landau_inner_red::TensorValueType &ggg) { in LandauKokkosJacobian() argument
612 const PetscReal wi = d_w[ipidx], x = d_x[ipidx], y = d_y[ipidx]; in LandauKokkosJacobian()
619 …PetscReal U[3][3], z = d_z[ipidx], mask = (PetscAbs(vj[0]-x) < 100*PETSC_SQRT_MACHINE_EPSILON && P… in LandauKokkosJacobian()
623 while (ipidx >= d_ip_offset[grid_r + 1]) grid_r++; // yuck search for grid in LandauKokkosJacobian()
625 ipidx_g = ipidx - d_ip_offset[grid_r]; in LandauKokkosJacobian()
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c349 …for (PetscInt grid_r = 0, f_off = 0, ipidx = 0; grid_r < ctx->num_grids; grid_r++, f_off = ctx->sp… in LandauFormJacobian_Internal() local
352 for (PetscInt qi = 0; qi < Nq; qi++, ipidx++) { in LandauFormJacobian_Internal()
353 const PetscReal wi = ww[ipidx], x = xx[ipidx], y = yy[ipidx]; in LandauFormJacobian_Internal()
359 …PetscReal U[3][3], z = zz[ipidx], mask = (PetscAbs(vj[0] - x) < 100 * PETSC_SQRT_MACHINE_EPSILON &… in LandauFormJacobian_Internal()