Home
last modified time | relevance | path

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

/petsc/src/sys/logging/handler/impls/nested/
H A Dlognested.c354 PetscInt *parents; in PetscLogNestedCreatePerfNodes() local
356 PetscCall(PetscMalloc1(num_nodes, &parents)); in PetscLogNestedCreatePerfNodes()
357 for (PetscInt node = 0; node < num_nodes; node++) parents[node] = tree[node].parent; in PetscLogNestedCreatePerfNodes()
358 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, parents, num_nodes, MPIU_INT, MPI_MAX, comm)); in PetscLogNestedCreatePerfNodes()
359 for (PetscInt node = 0; node < num_nodes; node++) tree[node].parent = parents[node]; in PetscLogNestedCreatePerfNodes()
360 PetscCall(PetscFree(parents)); in PetscLogNestedCreatePerfNodes()
/petsc/src/dm/impls/plex/
H A Dplextree.c211 …xCreateReferenceTree_SetTree(DM dm, PetscSection parentSection, PetscInt parents[], PetscInt child… in DMPlexCreateReferenceTree_SetTree() argument
214 PetscCall(DMPlexSetTree_Internal(dm, parentSection, parents, childIDs, PETSC_TRUE, PETSC_FALSE)); in DMPlexCreateReferenceTree_SetTree()
221 PetscInt dim, p, pStart, pEnd, pRefStart, pRefEnd, d, offset, parentSize, *parents, *childIDs; in DMPlexCreateReferenceTree_Union() local
395 PetscCall(PetscMalloc2(parentSize, &parents, parentSize, &childIDs)); in DMPlexCreateReferenceTree_Union()
406 parents[pOff] = parentU; in DMPlexCreateReferenceTree_Union()
410 PetscCall(DMPlexCreateReferenceTree_SetTree(*ref, parentSection, parents, childIDs)); in DMPlexCreateReferenceTree_Union()
412 PetscCall(PetscFree2(parents, childIDs)); in DMPlexCreateReferenceTree_Union()
486 PetscInt par = mesh->parents[p]; in DMPlexTreeSymmetrize()
498 PetscInt par = mesh->parents[p]; in DMPlexTreeSymmetrize()
513 PetscInt par = mesh->parents[off + i], cOff; in DMPlexTreeSymmetrize()
[all …]
H A Dplexsubmesh.c863 PetscInt *parents, *childIDs; in DMPlexShiftTree_Internal() local
868 PetscCall(DMPlexGetTree(dm, &pSec, &parents, &childIDs, NULL, NULL)); in DMPlexShiftTree_Internal()
903 parentsShifted[offNew] = DMPlexShiftPoint_Internal(parents[off], depth, depthShift); in DMPlexShiftTree_Internal()
H A Dplex.c2875 PetscCall(PetscFree(mesh->parents)); in DMDestroy_Plex()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py371 parents=parent_parsers
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h1886 sc_array_t *parents = sc_array_new(sizeof(p4est_locidx_t)); in P4estToPlex_Local() local
1892 … points_per_dim, cone_sizes, cones, cone_orientations, coords, children, parents, childids, leaves… in P4estToPlex_Local()
1910 sc_array_destroy(parents); in P4estToPlex_Local()
4118 …s_per_dim, *cone_sizes, *cones, *cone_orientations, *coords, *children, *parents, *childids, *leav… in DMConvert_pforest_plex() local
4173 parents = sc_array_new(sizeof(p4est_locidx_t)); in DMConvert_pforest_plex()
4178 … points_per_dim, cone_sizes, cones, cone_orientations, coords, children, parents, childids, leaves… in DMConvert_pforest_plex()
4188 PetscCall(locidx_to_PetscInt(parents)); in DMConvert_pforest_plex()
4210 …PetscCall(DMPlexSetTree(newPlex, parentSection, (PetscInt *)parents->array, (PetscInt *)childids->… in DMConvert_pforest_plex()
4233 sc_array_destroy(parents); in DMConvert_pforest_plex()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c2222 cgsize_t *parents, *conn = NULL; in DMView_PlexCGNS() local
2261 PetscCall(PetscCalloc1(f_owned * 2, &parents)); in DMView_PlexCGNS()
2302 PetscCall(PetscFree(parents)); in DMView_PlexCGNS()
/petsc/include/petsc/private/
H A Ddmpleximpl.h193 PetscInt *parents; /* point to parent */ member
/petsc/doc/manual/
H A Dksp.md2609 matrix types inherit capabilities from their PETSc matrix parents: