Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c2221 cgsize_t f_owned = 0, f_global, f_start; in DMView_PlexCGNS() local
2246 f_owned = f_owned_int; in DMView_PlexCGNS()
2260 if (f_owned) PetscCall(DMPlexGetCellType(dm, faces[0], &cell_type)); in DMView_PlexCGNS()
2261 PetscCall(PetscCalloc1(f_owned * 2, &parents)); in DMView_PlexCGNS()
2262 for (PetscInt f = 0, c = 0; f < f_owned; f++) { in DMView_PlexCGNS()
2273 PetscCall(PetscMalloc1(f_owned * elem_size, &conn)); in DMView_PlexCGNS()
2288 local_element_type = f_owned > 0 ? (PetscInt)element_type : -1; in DMView_PlexCGNS()
2294 PetscCallMPI(MPIU_Allreduce(&f_owned, &f_global, 1, MPIU_CGSIZE, MPI_SUM, comm)); in DMView_PlexCGNS()
2296 PetscCallMPI(MPI_Exscan(&f_owned, &f_start, 1, MPIU_CGSIZE, MPI_SUM, comm)); in DMView_PlexCGNS()
2299 …ts_write_data(cgv->file_num, base, zone, section, f_start + 1, f_start + f_owned, conn), dm, viewe… in DMView_PlexCGNS()