Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c2312 cgsize_t fs_start, fs_owned, fs_global; in DMView_PlexCGNS() local
2332 fs_owned = fs_owned_count; in DMView_PlexCGNS()
2338 } else fs_owned = 0; in DMView_PlexCGNS()
2340 PetscCallMPI(MPIU_Allreduce(&fs_owned, &fs_global, 1, MPIU_CGSIZE, MPI_SUM, comm)); in DMView_PlexCGNS()
2342 PetscCallMPI(MPI_Exscan(&fs_owned, &fs_start, 1, MPIU_CGSIZE, MPI_SUM, comm)); in DMView_PlexCGNS()
2343fs_owned <= fs_global, PETSC_COMM_SELF, PETSC_ERR_PLIB, "End range of point set (%" PRIdCGSIZE ") … in DMView_PlexCGNS()
2348 PetscCall(PetscMalloc1(fs_owned, &fs_pnts_cg)); in DMView_PlexCGNS()
2349 for (PetscInt i = 0; i < fs_owned; i++) { in DMView_PlexCGNS()
2359 …PetscCallCGNSWriteData(cgp_ptlist_write_data(cgv->file_num, fs_start + 1, fs_start + fs_owned, fs_… in DMView_PlexCGNS()