Home
last modified time | relevance | path

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

/petsc/config/BuildSystem/config/
H A Dframework.py205 for child in self.childGraph.vertices:
206 if hasattr(child, 'setupHelp'): child.setupHelp(self.help)
288 for child in self.childGraph.vertices:
289 self.logWrite(str(child), debugSection = 'screen', forceScroll = 1, rmDir = 0)
290 for child in self.childGraph.vertices:
291 if hasattr(child,'__str1__'):
292 self.logWrite(child.__str1__(), debugSection = 'screen', forceScroll = 1)
293 for child in self.childGraph.vertices:
294 if hasattr(child,'__str2__'):
295 self.logWrite(child.__str2__(), debugSection = 'screen', forceScroll = 1)
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_scope.py88 child = Scope()
89 self.children.append(child)
90 return child
107 for child in self.children:
108 if (other == child) or child.is_parent_of(other):
H A D_linter.py274 for child in parent.get_children():
275 child_kind = child.kind
281 yield from walk_scope(child, scope=case_scope)
283 if child.spelling in symbol_names:
284 yield (child, possible_parent, case_scope)
287 yield from walk_scope_switch(child, case_scope.sub())
297 for child in parent.get_children():
298 child_kind = child.kind
302 switch_children = [c for c in child.get_children() if c.kind == COMPOUND_STMT]
306 if child.spelling in symbol_names:
[all …]
H A D_cursor.py465 for child in cursor.get_children():
466 if child.kind.is_attribute() and child.spelling in hidden_visibility:
468 return True, SourceRange(child.extent).raw(tight=True), child
757 for child in canon.get_children():
758 if child.kind.is_attribute() and child.location.file != cursor_file:
759 if refs := cls.find_cursor_references_from_cursor(child):
/petsc/src/mat/tests/
H A DcJSON.c222 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) cJSON_Delete(item->child); in cJSON_Delete()
1202 item->child = head; in parse_array()
1219 cJSON *current_element = item->child; in print_array()
1323 item->child = head; in parse_object()
1339 cJSON *current_item = item->child; in print_object()
1406 cJSON *child = NULL; in cJSON_GetArraySize() local
1411 child = array->child; in cJSON_GetArraySize()
1413 while (child != NULL) { in cJSON_GetArraySize()
1415 child = child->next; in cJSON_GetArraySize()
1429 current_child = array->child; in get_array_item()
[all …]
H A DcJSON.h106 struct cJSON *child; member
207 CJSON_PUBLIC(cJSON *) cJSON_CreateObjectReference(const cJSON *child);
208 CJSON_PUBLIC(cJSON *) cJSON_CreateArrayReference(const cJSON *child);
282 #define cJSON_ArrayForEach(element, array) for (element = (array != NULL) ? (array)->child : NULL; …
/petsc/src/sys/objects/
H A Dsubcomm.c37 PetscCall(PetscCommDestroy(&(psubcomm)->child)); in PetscSubcommSetFromOptions()
114 PetscCallMPI(MPI_Comm_size(psubcomm->child, &subsize)); in PetscSubcommView()
115 PetscCallMPI(MPI_Comm_rank(psubcomm->child, &subrank)); in PetscSubcommView()
235 PetscCall(PetscCommDuplicate(subcomm, &psubcomm->child, NULL)); in PetscSubcommSetTypeGeneral()
262 PetscCall(PetscCommDestroy(&(*psubcomm)->child)); in PetscSubcommDestroy()
298 (*psubcomm)->child = PETSC_COMM_SELF; in PetscSubcommCreate()
409 PetscCall(PetscCommDuplicate(subcomm, &psubcomm->child, NULL)); in PetscSubcommCreate_contiguous()
484 PetscCall(PetscCommDuplicate(subcomm, &psubcomm->child, NULL)); in PetscSubcommCreate_interlaced()
/petsc/src/sys/error/
H A Dadebug.c217 int child = 0; in PetscAttachDebugger() local
241 child = fork(); in PetscAttachDebugger()
242 if (PetscUnlikely(child < 0)) { in PetscAttachDebugger()
253 child = child ? 0 : getppid(); in PetscAttachDebugger()
256 if (child) { /* I am the parent, will run the debugger */ in PetscAttachDebugger()
268 kill(child, SIGCONT); in PetscAttachDebugger()
270 PetscCall(PetscSNPrintf(pid, PETSC_STATIC_ARRAY_LENGTH(pid), "%d", child)); in PetscAttachDebugger()
/petsc/share/petsc/saws/
H A Ddocumentation55child has an endtag of "0_0", the second "0_1", the third "0_2", etc. The first child of the first…
/petsc/share/petsc/saws/js/
H A DboxTree.js192 var child = Math.floor(numChildren/2);
193 var child_endtag = endtag + "_" + child;
275 var child = Math.floor(numChildren/2);
276 var child_endtag = endtag + "_" + child;
/petsc/src/sys/classes/draw/impls/x/
H A Dxinit.c272 Window root, parent, child; in PetscDrawXiGetGeometry() local
280 if (!XTranslateCoordinates(XiWin->disp, XiWin->win, root, 0, 0, &xx, &yy, &child)) { in PetscDrawXiGetGeometry()
283 (void)XTranslateCoordinates(XiWin->disp, XiWin->win, root, 0, 0, &xx, &yy, &child); in PetscDrawXiGetGeometry()
H A Dxops.c446 Window root, child; in PetscDrawGetMouseButton_X() local
470 …XQueryPointer(win->disp, report.xmotion.window, &root, &child, &root_x, &root_y, &px, &py, &keys_b… in PetscDrawGetMouseButton_X()
/petsc/src/dm/impls/plex/
H A Dplexpartition.c189 const PetscInt child = children[i]; in DMPlexCreatePartitionerGraph_Native() local
190 if (fStart <= child && child < fEnd) { in DMPlexCreatePartitionerGraph_Native()
191 PetscCall(DMPlexGetSupport(dm, child, &support)); in DMPlexCreatePartitionerGraph_Native()
192 PetscCall(DMPlexGetSupportSize(dm, child, &supportSize)); in DMPlexCreatePartitionerGraph_Native()
193 if (supportSize == 1) adjCells[child] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native()
196 if (p >= 0) adjCells[child] = DMPlex_GlobalID(cellNum[support[1] - pStart]); in DMPlexCreatePartitionerGraph_Native()
198 if (p >= 0) adjCells[child] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native()
235 const PetscInt child = children[i]; in DMPlexCreatePartitionerGraph_Native() local
236 if (remoteCells[child] >= 0 && remoteCells[child] != gp) { in DMPlexCreatePartitionerGraph_Native()
240 *pBuf = remoteCells[child]; in DMPlexCreatePartitionerGraph_Native()
[all …]
H A Dplextree.c2865 PetscInt child = children[i]; in DMPlexComputeInjectorReferenceTree() local
2868 PetscCall(PetscSectionGetDof(section, child, &dof)); in DMPlexComputeInjectorReferenceTree()
2878 PetscInt child = children[i]; in DMPlexComputeInjectorReferenceTree() local
2881 PetscCall(PetscSectionGetFieldDof(section, child, f, &dof)); in DMPlexComputeInjectorReferenceTree()
2909 PetscInt child = children[i]; in DMPlexComputeInjectorReferenceTree() local
2912 PetscCall(PetscSectionGetDof(section, child, &dof)); in DMPlexComputeInjectorReferenceTree()
2932 PetscInt child = children[i]; in DMPlexComputeInjectorReferenceTree() local
2935 PetscCall(PetscSectionGetFieldDof(section, child, f, &dof)); in DMPlexComputeInjectorReferenceTree()
3003 PetscInt child = children[i]; in DMPlexComputeInjectorReferenceTree() local
3007 PetscCall(PetscSectionGetFieldDof(cSection, child, f, &dof)); in DMPlexComputeInjectorReferenceTree()
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py432 for child in diag.children:
435 filename = child.location.file.name
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py390child for child in def_child.walk_preorder() if child.kind == clx.CursorKind.DECL_REF_EXPR
/petsc/doc/changes/
H A D2022.md37 - Removed the PETSc object child support and replaced it with
/petsc/doc/developers/
H A Dcallbacks.md203 a solver has been refined or coarsened, those child `DM`s will not
H A Dbuildsystem.md286 recursively on all the child modules. The `cleanup()` method performs
298 dependencies between the child modules, and provides a partial order on
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2519 PetscInt child; in DMPforestGetTransferSF_Point() local
2525 …for (child = 0; child < P4EST_CHILDREN; child++) { /* get the closures of the child cells in the r… in DMPforestGetTransferSF_Point()
2526 …PetscCall(DMPlexGetTransitiveClosure(refTree, child + 1, PETSC_TRUE, NULL, &childClosures[child])); in DMPforestGetTransferSF_Point()
2850 PetscInt child; in DMPforestGetTransferSF_Point() local
2857 …for (child = 0; child < P4EST_CHILDREN; child++) PetscCall(DMPlexRestoreTransitiveClosure(refTree,… in DMPforestGetTransferSF_Point()
4205 PetscInt child = *((PetscInt *)sc_array_index(children, zz)); in DMConvert_pforest_plex() local
4207 PetscCall(PetscSectionSetDof(parentSection, child, 1)); in DMConvert_pforest_plex()
/petsc/src/ksp/pc/impls/bjacobi/
H A Dbjacobi.c208 PetscCall(PetscViewerGetSubViewer(viewer, mpjac->psubcomm->child, &sviewer)); in PCView_BJacobi()
214 PetscCall(PetscViewerRestoreSubViewer(viewer, mpjac->psubcomm->child, &sviewer)); in PCView_BJacobi()
/petsc/include/
H A Dpetscsys.h2565 MPI_Comm child; /* the sub-communicator */ member
2579 return scomm->child; in PetscSubcommChild()
/petsc/doc/manual/
H A Dts.md1189 original ODE. To evaluate the integral, one needs to create a child
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas2320 (dpm/spray-suite/ssd-np-max-child 10)
2322 (dpm/spray-suite/madabhushi-wave-child-stay-wave? #f)
2323 (dpm/spray-suite/madabhushi-pe-child-stay-pe? #t)
2327 (dpm/spray-suite/madabhushi-cb-np-child 5)
2328 (dpm/spray-suite/madabhushi-np-child 5)
7234 (nonconformal/add-new-child-interior? #f)