Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c526 int nsections; in DMPlexCreateCGNS_Internal_Serial() local
536 PetscCallCGNSRead(cg_nsections(cgid, B, z, &nsections), *dm, 0); in DMPlexCreateCGNS_Internal_Serial()
537 …PetscCheck(nsections <= 1, PETSC_COMM_SELF, PETSC_ERR_LIB, "CGNS file must have a single section, … in DMPlexCreateCGNS_Internal_Serial()
1595 int nsections; in DMPlexCreateCGNS_Internal_Parallel() local
1600 cg_nsections(cgid, base, zone, &nsections); in DMPlexCreateCGNS_Internal_Parallel()
1601 PetscCall(PetscMalloc2(nsections, &face_section_ids, nsections, &cell_section_ids)); in DMPlexCreateCGNS_Internal_Parallel()
1603 for (int index_sect = 1; index_sect <= nsections; index_sect++) { in DMPlexCreateCGNS_Internal_Parallel()