Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 29) sorted by relevance

12

/petsc/config/BuildSystem/
H A Dhelp.py12 self.sections = {}
33 if not section in self.sections:
34 self.sections[section] = (len(self.sections), [])
35 if name in self.sections[section][1]:
36 name += '@'+str(len([n for n in self.sections[section][1] if name == n.split('@')[0]])+1)
37 self.sections[section][1].append(name)
52 for section in self.sections:
53 … nameLen = max([nameLen, max(map(lambda n: len(n.split('@')[0]), self.sections[section][1]))+1])
54 …cLen, max(map(lambda name: len(self.getDescription(section, name)), self.sections[section][1]))+1])
64 items = sorted(self.sections.items(), key=lambda a: a[1][0])
[all …]
H A Dscript.py113 sections = None
115 sections = self.argDB.target
116 self.help.output(sections = sections)
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_docs.py33 for section in docstring.parse().sections:
38 sections = SectionManager( variable in PetscFunctionDocString
66 sections = SectionManager( variable in PetscEnumDocString
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_str.py136 sections = self._sections
138 return sections[attr]
142 return sections[replaced_attr]
211 sections = self._sections
214 return sections[cache[lohead]]
218 section_names = sections.keys()
283 return sections[matched]
443 sections = SectionManager( variable in PetscDocString
484 self.sections.set_verbose(linter.verbose)
542 have_title = sum(f'{title}:' in rawlo for title in map(str.casefold, cls.sections.gen_titles()))
[all …]
/petsc/src/dm/interface/
H A Ddmi.c451 PetscSection supersection, *sections, *sectionGlobals; in DMCreateSectionSuperDM() local
458 PetscCall(PetscMalloc3(len, &Nfs, len, &sections, len, &sectionGlobals)); in DMCreateSectionSuperDM()
460 PetscCall(DMGetLocalSection(dms[i], &sections[i])); in DMCreateSectionSuperDM()
462 …PetscCheck(sections[i], comm, PETSC_ERR_ARG_WRONG, "Must set default section for DM before splitti… in DMCreateSectionSuperDM()
464 PetscCall(PetscSectionGetNumFields(sections[i], &Nfs[i])); in DMCreateSectionSuperDM()
468 PetscCall(PetscSectionCreateSupersection(sections, len, &supersection)); in DMCreateSectionSuperDM()
488 PetscCall(PetscSectionGetConstraintDof(sections[i], p, &gcdof)); in DMCreateSectionSuperDM()
557 PetscCall(PetscFree3(Nfs, sections, sectionGlobals)); in DMCreateSectionSuperDM()
/petsc/src/binding/petsc4py/docs/source/
H A Ddocumentation_standards.rst39 The following sections describe the use of numpydoc sections. Other sections
/petsc/src/dm/impls/plex/tests/
H A Dex18.c221 PetscSection *sections; member
239 for (d = 0; d < (*bnd)->depth; d++) PetscCall(PetscSectionDestroy(&(*bnd)->sections[d])); in PortableBoundaryDestroy()
240 PetscCall(PetscFree((*bnd)->sections)); in PortableBoundaryDestroy()
962 …es_Private(DM dm, IS boundary_expanded_is, PetscInt depth, PetscSection sections[], IS *boundary_i… in DMPlexExpandedVerticesToFaces_Private() argument
971 PetscCall(DMPlexExpandedConesToFaces_Private(dm, is, sections[d], &newis)); in DMPlexExpandedVerticesToFaces_Private()
1048 …MPlexExpandedVerticesToFaces_Private(ipdm, faces_expanded_is, bnd->depth, bnd->sections, face_is)); in DMPlexExpandedVerticesCoordinatesToFaces_Private()
1137 …l(DMPlexGetConeRecursive(idm, boundary_is, &bnd0->depth, &boundary_expanded_iss, &bnd0->sections)); in DMPlexGetExpandedBoundary_Private()
1180 PetscCall(PetscMalloc1(bnd->depth, &bnd->sections)); in DMPlexGetExpandedBoundary_Private()
1181 …plicate_Private(comm, rootrank, (rank == rootrank) ? bnd0->sections[d] : NULL, &bnd->sections[d])); in DMPlexGetExpandedBoundary_Private()
1183 …PlexRestoreConeRecursive(idm, boundary_is, &bnd0->depth, &boundary_expanded_iss, &bnd0->sections)); in DMPlexGetExpandedBoundary_Private()
/petsc/doc/manual/
H A Ddmbase.md32 in the sections on each `DMType`. This chapter focuses
H A Dperformance.md477 sections of the code, use one of the following options:
485 Then, focus on the sections where most of the time is spent. If you
H A Ddmplex.md195 When working with `DMPLEX` and `PetscFE` (see below) one can simply get the sections (and related v…
231 When a local or global vector is requested, the `DM` builds the local and global sections automatic…
H A Dstreams.md26 …e complex memory access patterns, most computations for PDEs have large sections of private data a…
H A Dsnes.md85 discussed in the following sections.
268 the sections below.
H A Dprofiling.md304 optimizing performance, since they indicate the sections of code that
H A Dtao.md47 The following sections annotate the lines of code in
133 discussed in the following sections. The solution method should be
/petsc/doc/changes/
H A D318.md130 Add NVIDIA NVTX sections to `Default` event logging. This tags code
131 sections, like stages, with nvtxRangePushA(char name[]) and
H A D2015.md4 public release of PETSc (2.0.Beta.13). See details in the sections
H A D321.md174 …()` and `DMReorderSectionSetDefault()` to allow point permutations when sections are built automat…
/petsc/doc/developers/
H A Dstyle.md227 10. Do not leave sections of commented-out code or dead source code protected with `ifdef foo` in t…
661 should be listed before the various `Note(s):` sections.
680 manual page in their `.seealso:` sections. This is the final entry in the
H A Ddocumentation.md76 …`.. code-block::` sections. Double backticks must enclose any such statements not in code-block st…
H A Dobjects.md33 detail in the following sections. New class implementations *must* use
/petsc/lib/petsc/bin/maint/abi-compliance-checker/
H A DLICENSE191 identifiable sections of that work are not derived from the Library,
194 sections when you distribute them as separate works. But when you
195 distribute the same sections as part of a whole which is a work based
/petsc/lib/petsc/conf/
H A Drules48 -@grep -v clog trashz | grep -v "information sections" | \
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSection.pyx854 If we have a set of local sections defining the layout of a set of
/petsc/src/dm/impls/plex/
H A Dplex.c3320 …e(DM dm, IS points, PeOp PetscInt *depth, PeOp IS *expandedPoints[], PeOp PetscSection *sections[]) in DMPlexGetConeRecursive() argument
3333 if (sections) PetscAssertPointer(sections, 5); in DMPlexGetConeRecursive()
3376 if (sections) *sections = sections_; in DMPlexGetConeRecursive()
3406 …e(DM dm, IS points, PeOp PetscInt *depth, PeOp IS *expandedPoints[], PeOp PetscSection *sections[]) in DMPlexRestoreConeRecursive() argument
3418 if (sections) { in DMPlexRestoreConeRecursive()
3419 for (d = 0; d < depth_; d++) PetscCall(PetscSectionDestroy(&(*sections)[d])); in DMPlexRestoreConeRecursive()
3420 PetscCall(PetscFree(*sections)); in DMPlexRestoreConeRecursive()
/petsc/doc/community/meetings/2023/
H A Dindex.md822 library to blindly add critical sections, unnecessarily serializing the

12