Searched refs:elem_offset (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ts/utils/dmplexlandau/kokkos/ |
| H A D | landau.kokkos.cxx | 142 …PetscInt ip_offset[LANDAU_MAX_GRIDS + 1], ipf_offset[LANDAU_MAX_GRIDS + 1], elem_offset[LA… in LandauKokkosStaticDataSet() local 152 ip_offset[0] = ipf_offset[0] = elem_offset[0] = 0; in LandauKokkosStaticDataSet() 157 elem_offset[grid + 1] = elem_offset[grid] + a_numCells[grid]; in LandauKokkosStaticDataSet() 236 …kos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>> h_elem_offset(elem_offset, num_grids + 1); in LandauKokkosStaticDataSet() 238 …SData_d->elem_offset … in LandauKokkosStaticDataSet() 321 auto eoff = static_cast<Kokkos::View<PetscInt *, Kokkos::LayoutLeft> *>(SData_d->elem_offset); in LandauKokkosStaticDataClear() 429 …em_offset_k = static_cast<Kokkos::View<PetscInt *, Kokkos::LayoutLeft> *>(SData_d->elem_offset); in LandauKokkosJacobian()
|
| /petsc/include/ |
| H A D | petsclandau.h | 84 void *elem_offset; // for each grid, but same for all batched vertices member
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 210 …PetscInt ip_offset[LANDAU_MAX_GRIDS + 1], ipf_offset[LANDAU_MAX_GRIDS + 1], elem_offset[LA… in LandauFormJacobian_Internal() local 224 ip_offset[0] = ipf_offset[0] = elem_offset[0] = 0; in LandauFormJacobian_Internal() 227 elem_offset[grid + 1] = elem_offset[grid] + numCells[grid]; in LandauFormJacobian_Internal() 243 …for (PetscInt tid = 0; tid < ctx->batch_sz * elem_offset[num_grids]; tid++) { … in LandauFormJacobian_Internal() 244 …const PetscInt b_Nelem = elem_offset[num_grids], b_elem_idx = tid % b_Nelem, b_id = tid / b_Nelem;… in LandauFormJacobian_Internal() 247 while (b_elem_idx >= elem_offset[grid + 1]) grid++; // yuck search for grid in LandauFormJacobian_Internal() 249 …x->species_offset[grid + 1] - ctx->species_offset[grid], loc_elem = b_elem_idx - elem_offset[grid]; in LandauFormJacobian_Internal() 313 … for (PetscInt tid = 0; tid < ctx->batch_sz * elem_offset[num_grids]; tid++) { // for each element in LandauFormJacobian_Internal() 314 const PetscInt b_Nelem = elem_offset[num_grids]; in LandauFormJacobian_Internal() 321 while (glb_elem_idx >= elem_offset[grid + 1]) grid++; in LandauFormJacobian_Internal() [all …]
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 2022 cgsize_t isize[3], elem_offset = 0; in DMView_PlexCGNS() local 2168 e_start += elem_offset; in DMView_PlexCGNS() 2171 elem_offset = e_global; in DMView_PlexCGNS() 2297 f_start += elem_offset; in DMView_PlexCGNS() 2298 …ction_write(cgv->file_num, base, zone, "Faces", element_type, elem_offset + 1, elem_offset + f_glo… in DMView_PlexCGNS() 2372 elem_offset += f_global; in DMView_PlexCGNS()
|