Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 35) sorted by relevance

12

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_register.py41 def __register_base(key: _T, value: _U, target_map: dict[_T, _U], exist_ok: bool) -> None:
49 def register_classid(struct_name: str, classid_name: str, exist_ok: bool = False) -> None:
69 def register_symbol_check(name: str, function: FunctionChecker, exist_ok: bool = False) -> None:
89 def register_doc_check(cursor_kind: clx.CursorKind, function: DocChecker, exist_ok: bool = False) -…
H A D_util.py641 linter: Linter, obj: Cursor, expected_type_kinds: Collection[clx.TypeKind], pointer: bool,
646 permissive: bool = False, pointer_depth: int = 1, **kwargs
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py106 clang_compat_check: bool = True,
111 apply_patches: bool = False,
115 replace_tests: bool = False,
116 werror: bool = False
307 …er(parent_parsers: Optional[list[argparse.ArgumentParser]] = None, advanced_help: bool = False) ->…
332 …def add_bool_argument(prsr: ParserLike, *args, advanced: bool = False, **kwargs) -> argparse.Actio…
333 def str2bool(v: Union[str, bool]) -> bool: argument
422 …rgparse.ArgumentParser, namespace: argparse.Namespace, values: Union[str, bool, Sequence[Any], Non… argument
H A Dqueue_main.py94 def __init__(self, verbose: bool, print_prefix: str, lock: ParallelPool.LockType) -> None:
111 def __call__(self, *args, flush: bool = True, **kwargs) -> None:
135 clang_compat_check: bool,
141 verbose: bool,
142 werror: bool,
H A Dtest_main.py53 replace: bool = False,
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_util.py72 def view_ast_from_cursor(cursor: CursorLike, pred: Callable[..., bool] = verbose_print, level: Inde… argument
100 …: int = 0, num_after_context: int = 0, num_context: int = 0, trim: bool = False, tight: bool = Fal…
132 …um_after_context: int = 0, num_context: int = 0, view: bool = False, highlight: bool = True, trim:…
H A D_pool.py75 …, clang_lib: PathLike, clang_options: CXTranslationUnit, clang_compat_check: bool, werror: bool) -…
90 …e, clang_options: Optional[CXTranslationUnit] = None, clang_compat_check: bool = True, werror: boo…
310 …, clang_lib: PathLike, clang_options: CXTranslationUnit, clang_compat_check: bool, werror: bool) -…
508 …, clang_lib: PathLike, clang_options: CXTranslationUnit, clang_compat_check: bool, werror: bool) -…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSys.pyx10 devel: bool = False,
11 date: bool = False,
12 author: bool = False) -> tuple[int, int, int]:
203 flush: bool = False,
395 flag: bool,
H A DDMUtils.pyx159 redundantPoints: bool = False,
160 ignoreOutsideDomain: bool = False) -> None:
H A DSpace.pyx280 def setSumConcatenate(self, concatenate: bool) -> None:
468 def setPolynomialTensor(self, tensor: bool) -> None:
878 def setLagrangeContinuity(self, continuous: bool) -> None:
910 def setLagrangeTensor(self, tensor: bool) -> None:
942 def setLagrangeTrimmed(self, trimmed: bool) -> None:
H A DLog.pyx379 def setActive(self, flag: bool) -> None:
417 def setVisible(self, flag: bool) -> None:
506 def setActive(self, flag: bool) -> None:
643 def setActive(self, flag: bool) -> None:
676 def setActiveAll(self, flag: bool) -> None:
H A DDMDA.pyx38 boundary_type: tuple[DM.BoundaryType | int | str | bool, ...] | None = None,
41 bint setup: bool = True,
151 boundary_type: tuple[DM.BoundaryType | int | str | bool, ...] | None = None,
386 boundary_type: tuple[DM.BoundaryType | int | str | bool, ...]) -> None:
723 def getVecArray(self, Vec vec, readonly: bool = False) -> Any:
H A DDMPlex.pyx377 def createCoordinateSpace(self, degree: int, localized: bool, project: bool) -> None:
401 def createCohesiveSubmesh(self, hasLagrange: bool, value: int) -> DMPlex:
424 … def filter(self, label: DMLabel | None = None, value: int | None = None, ignoreHalo: bool = False,
425 sanitizeSubMesh: bool = False, comm: Comm | None = None) -> tuple[DMPlex, SF]:
1463 flip: bool, split: bool, DMPlex subdm) -> None:
1497 def setAdjacencyUseAnchors(self, useAnchors: bool = True) -> None:
1733 def distributeSetDefault(self, flag: bool) -> None:
2399 def metricSetUniform(self, uniform: bool) -> None:
2433 def metricSetIsotropic(self, isotropic: bool) -> None:
2467 def metricSetRestrictAnisotropyFirst(self, restrictAnisotropyFirst: bool) -> None:
[all …]
H A DRegressor.pyx228 def setLinearFitIntercept(self, flag: bool) -> None:
240 def setLinearUseKSP(self, flag: bool) -> None:
H A DKSP.pyx715 def setDMActive(self, dmactive: DMActive, flag: bool) -> None:
1084 prepend: bool = False) -> None:
1161 reset: bool = False) -> None:
1418 def setComputeEigenvalues(self, flag: bool) -> None:
1462 def setComputeSingularValues(self, flag: bool) -> None:
1508 def setInitialGuessNonzero(self, flag: bool) -> None:
1544 def setInitialGuessKnoll(self, flag: bool) -> None:
1942 def setErrorIfNotConverged(self, flag: bool) -> None:
H A DFE.pyx80 isSimplex: bool,
172 isSimplex: bool,
H A DDM.pyx368 def setUseNatural(self, useNatural : bool) -> None:
386 def setBasicAdjacency(self, useCone: bool, useClosure: bool) -> None:
429 def setFieldAdjacency(self, field: int, useCone: bool, useClosure: bool) -> None:
1310 def setCoordinateDisc(self, FE disc, localized: bool, project: bool) -> Self:
2251 def setLabelOutput(self, name: str, output: bool) -> None:
H A DPC.pyx436 def setUseAmat(self, flag: bool) -> None:
481 def setReusePreconditioner(self, flag: bool) -> None:
1001 def setASMSortIndices(self, dosort: bool) -> None:
2143 def setBDDCDivergenceMat(self, Mat div, trans: bool = False, IS l2l=None) -> None:
2174 gord: bool = True,
2175 conforming: bool = True) -> None:
2205 def setBDDCChangeOfBasisMat(self, Mat T, interior: bool = False) -> None:
2566 def setHPDDMHasNeumannMat(self, has: bool) -> None:
2798 def setDeflationInitOnly(self, flg: bool) -> None:
2895 def setDeflationSpace(self, Mat W, transpose: bool) -> None:
H A DVec.pyx1067 def setOption(self, option: Option, flag: bool) -> None:
1223 def getLocalVector(self, Vec lvec, readonly: bool = False) -> None:
1246 def restoreLocalVector(self, Vec lvec, readonly: bool = False) -> None:
1270 def getBuffer(self, readonly: bool = False) -> Any:
1313 def getArray(self, readonly: bool = False) -> ArrayScalar:
1366 def resetArray(self, force: bool = False) -> ArrayScalar | None:
1396 def bindToCPU(self, flg: bool) -> None:
2351 def permute(self, IS order, invert: bool = False) -> None:
H A DTS.pyx327 def setARKIMEXFullyImplicit(self, flag: bool) -> None:
345 def setARKIMEXFastSlowSplit(self, flag: bool) -> None:
930 Vec f, imex: bool = False) -> None:
960 Mat J, Mat P = None, imex: bool = False) -> None:
1000 Mat J, imex: bool = False) -> None:
2007 def setErrorIfStepFails(self, flag: bool = True) -> None:
2260 terminate: Sequence[bool],
2751 def createQuadratureTS(self, forward: bool = True) -> TS:
/petsc/lib/petsc/bin/maint/
H A Dcheck_header_guard.py29 def __init__(self, verbose: bool, path: pathlib.Path) -> None:
444 def str2bool(v: Union[str, bool]) -> bool: argument
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_str.py188 def find(self, heading: str, cache_result: bool = True, strict: bool = False) -> SectionBase:
379 …def fuzzy_find_section(self, line: str, strict: bool = False, **kwargs) -> tuple[str, str, Section…
H A D_doc_section_base.py227 …f, name: str, required: bool = False, keywords: Optional[tuple[str, ...]] = None, titles: Optional…
299 def lines(self, headings_only: bool = False) -> list[tuple[SourceRange, str, Verdict]]:
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py108 …onal[StrPathLike] = None, clang_lib: Optional[StrPathLike] = None, compat_check: bool = True) -> t…
H A D_clang.py169 def __call__(self, *args, check: bool = True) -> _U:

12