Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c50 PC_PATCH *patch = (PC_PATCH *)vpatch; in PCPatchConstruct_Vanka() local
61 if (patch->vankadim >= 0) { in PCPatchConstruct_Vanka()
63 PetscCall(DMPlexGetDepthStratum(dm, patch->vankadim, &iStart, &iEnd)); in PCPatchConstruct_Vanka()
91 PC_PATCH *patch = (PC_PATCH *)vpatch; in PCPatchConstruct_Pardecomp() local
129 for (overlapi = 0; overlapi < patch->pardecomp_overlap; ++overlapi) { in PCPatchConstruct_Pardecomp()
167 PC_PATCH *patch = (PC_PATCH *)vpatch; in PCPatchConstruct_User() local
168 IS patchis = patch->userIS[point]; in PCPatchConstruct_User()
190 PC_PATCH *patch = (PC_PATCH *)pc->data; in PCPatchCreateDefaultSF_Private() local
194 patch->sectionSF = sf[0]; in PCPatchCreateDefaultSF_Private()
195 PetscCall(PetscObjectReference((PetscObject)patch->sectionSF)); in PCPatchCreateDefaultSF_Private()
[all …]
/petsc/src/snes/impls/patch/
H A Dsnespatch.c72 PC_PATCH *patch = (PC_PATCH *)pc->data; in PCSetUp_PATCH_Nonlinear() local
78 PetscCall(PetscMalloc1(patch->npatch, &patch->solver)); in PCSetUp_PATCH_Nonlinear()
80 PetscCall(PetscSectionGetChart(patch->gtolCounts, &pStart, NULL)); in PCSetUp_PATCH_Nonlinear()
81 for (i = 0; i < patch->npatch; ++i) { in PCSetUp_PATCH_Nonlinear()
88 patch->solver[i] = (PetscObject)snes; in PCSetUp_PATCH_Nonlinear()
90 PetscCall(PetscSectionGetDof(patch->gtolCountsWithAll, i + pStart, &dof)); in PCSetUp_PATCH_Nonlinear()
93 PetscCall(VecDuplicate(patch->localUpdate, &patch->localState)); in PCSetUp_PATCH_Nonlinear()
94 PetscCall(VecDuplicate(patch->patchRHS, &patch->patchResidual)); in PCSetUp_PATCH_Nonlinear()
95 PetscCall(VecDuplicate(patch->patchUpdate, &patch->patchState)); in PCSetUp_PATCH_Nonlinear()
97 PetscCall(VecCreateSeq(PETSC_COMM_SELF, maxDof, &patch->patchStateWithAll)); in PCSetUp_PATCH_Nonlinear()
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_linter.py77 patch = diagnostic.patch
78 have_patch = patch is not None
80 patch_id = TYPE_CAST(Patch, patch).id if have_patch else -1
85 assert patch is not None # to satisfy type checkers
86 patch.attach(weakref.ref(cursor_id_file_local))
229 patch = Patch(SourceRange.from_locations(start, end), '')
235 func, Diagnostic(Diagnostic.Kind.ERROR, dup_diag, message, start, patch=patch)
648 patch=Patch(SourceRange.from_locations(start, start), 'static ')
730 if (patch := diagnostic.patch) is not None:
731 self.patches[cursor.get_file()].append(patch)
[all …]
H A D_diag.py432 patch: Optional[Patch]
437 …d: DiagnosticKind, flag: str, message: str, location: SourceLocationLike, patch: Optional[Patch] =…
461 self.patch = patch
493 …nd: DiagnosticKind, diag_flag: str, msg: str, src_range: SourceRangeLike, patch: Optional[Patch] =…
527 patch=patch
/petsc/
H A Dmakefile338 git diff --patch-with-stat > ${PETSC_ARCH}/lib/petsc/conf/checkclangformat.patch;\
339 git diff --patch-with-stat --color=always | head -1000;\
340 if [ `wc -l < ${PETSC_ARCH}/lib/petsc/conf/checkclangformat.patch` -gt 1000 ]; then\
355 git diff --patch-with-stat > ${PETSC_ARCH}/lib/petsc/conf/checkfprettifyformat.patch;\
356 git diff --patch-with-stat --color=always | head -1000;\
357 if [ `wc -l < ${PETSC_ARCH}/lib/petsc/conf/checkfprettifyformat.patch` -gt 1000 ]; then\
366 …) $$(file lib/petsc/bin/* lib/petsc/bin/maint/* | grep "/usr/bin/env sh" | cut -d: -f1) | patch -p1
377 git diff --patch-with-stat > ${PETSC_ARCH}/lib/petsc/conf/checkshellcheck.patch;\
378 git diff --patch-with-stat --color=always | head -1000;\
379 if [ `wc -l < ${PETSC_ARCH}/lib/petsc/conf/checkshellcheck.patch` -gt 1000 ]; then\
H A DCONTRIBUTING13 act of submitting a pull request or patch (with or without an explicit
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section.py478 begin_sowing_range, patch=Patch(begin_sowing_range, sowing_chars + 'C')
530 highlight=False, patch=Patch(self.extent, '')
694 patch = None
703 patch = Patch(loc, arg_match)
724 patch=patch
1068 patch = None
1073 patch = Patch(loc, locase)
1104 patch = Patch(loc, lvl_match)
1110 …docstring.add_diagnostic_from_source_range(Diagnostic.Kind.ERROR, diag, mess, sub_loc, patch=patch)
1295 patch=self.__make_deletion_patch(loc, text, loc == last_loc)
[all …]
H A D_doc_str.py693 …iag_flag: str, msg: str, src_range: Optional[Union[SourceRange, Cursor]], patch: Optional[Patch] =…
719 return Diagnostic.from_source_range(kind, diag_flag, msg, src_range, patch=patch, **kwargs)
899 patch = Patch(
907 patch = None
913 patch=patch
934 patch=Patch(restloc, '\n' + (' '*self.indent) + rest)
972 Diagnostic.Kind.ERROR, diag, mess, eloc, highlight=False, patch=Patch(floc, '')
996 Diagnostic.Kind.ERROR, diag, mess, loc, patch=Patch(loc, ' ' * expected_ind)
1033 loc, highlight=False, patch=Patch(loc, '\n')
H A D_doc_section_base.py507 heading_loc, patch=Patch(heading_loc, correct)
535 heading_loc, patch=Patch(heading_loc, matchname)
755 patch = Patch(loc, cursor.name)
758 patch = None
760 Diagnostic.Kind.ERROR, self.diags.matching_symbol_name, mess, loc, patch=patch
915 Diagnostic.Kind.ERROR, align_diag, mess, eloc, patch=Patch(eloc, fixed[diff_index:])
977 Diagnostic.Kind.ERROR, self.diags.prefix, mess, eloc, patch=Patch(eloc, char)
1214 … Diagnostic.Kind.ERROR, format_diag, base_mess.format(nspaces + 1), floc, patch=Patch(floc, fix)
/petsc/src/dm/impls/patch/tests/output/
H A Dex1_1.out2 type: patch
/petsc/doc/install/
H A Ddownload.md77 We provide new releases every 6 months, and patch updates to the current release every month.
103 After a new release of PETSc, the old version no longer gets patch updates. I.e., when 3.22.0 is re…
104 will go to 3.22.x - and petsc-3.21, petsc-3.20, etc., will not get any additional patch updates.
H A Dwindows.md233 mingw-w64-x86_64-toolchain patch python flex \
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py61 func_cursor.extent.start, patch=Patch.from_cursor(call[0], valid_func_name)
367 patch=Patch.from_cursor(obj_classid, expected)
623 idx_cursor.extent.start, patch=Patch.from_cursor(idx_cursor, str(exp_idx))
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas191 (wsr/patch 0.)
192 (wsb/patch 0.)
193 (wsn/patch 0.)
339 (inert/patch 0)
371 (premix-g-var/patch 0.)
391 (premix-g-eqn/patch 0.)
441 (ecfm-sigma/patch 0)
478 (ignition/patch 0)
1150 (pollut_hocl/patch 0)
1151 (pollut_hgcl/patch 0)
[all …]
/petsc/doc/developers/contributing/
H A Ddevelopingmr.md98 …commit, perhaps by reporting bugs or by writing an initial version of the patch, acknowledge them …
101 Based-on-patch-by: Original Idea <original@example.com>
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py243 for fname, patch in patches:
250 mangled_file.write_text(patch)
/petsc/src/binding/petsc4py/
H A DCHANGES.rst73 - Fix build issues after changes in recent PETSc patch releases.
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSys.pyx33 Micro (or patch) version number.
H A DSNES.pyx2360 """Set cell patch numbering."""
2368 """Set patch discretisation information."""
2405 """Set patch compute operator."""
2413 """Set patch compute function."""
2421 """Set patch construct type."""
H A DPC.pyx132 """The patch construction type."""
/petsc/doc/changes/
H A D317.md26 - Remove deprecated `PETSC_VERSION_PATCH` so as to not have confusion with patch releases where the…
/petsc/src/dm/impls/plex/
H A Dplexgmsh.c1157 int snum, major, minor, patch; in GmshReadMeshVersion() local
1161 snum = sscanf(line, "%d.%d.%d", &major, &minor, &patch); in GmshReadMeshVersion()
/petsc/src/ksp/ksp/tutorials/output/
H A Dex2_help.out270 …rmerly icc>: Preconditioner (one of) nn tfs hmg bddc composite ksp lu icc patch bjacobi eisenstat …
/petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/
H A Dproject.pbxproj129 …D89D1CFA207AA1AB00FACC19 /* patch.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1A12207AA1A…
881 …1A12207AA1A900FACC19 /* patch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1652 D89D1A12207AA1A900FACC19 /* patch.c */,
2686 D89D1CFA207AA1AB00FACC19 /* patch.c in Sources */,
/petsc/doc/manual/
H A Dgetting_started.md14 - preconditioners, including multigrid, block solvers, patch solvers, and