| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _attr_cache.py | 19 _cache: dict[str, Any] 21 def __init__(self, init_cache: Optional[dict[str, Any]] = None) -> None: 36 elif not isinstance(init_cache, dict):
|
| H A D | _diag.py | 29 def _fuzzy_get_attribute(self, in_diags: dict[str, str], in_attr: str) -> tuple[bool, str]: 62 _diags: dict[str, dict[str, str]] 65 def _sanitize_input(input_it: Iterable[str]) -> dict[str, str]: 124 _registered: dict[str, str] = {} 130 def registered(cls) -> dict[str, str]:
|
| /petsc/config/BuildSystem/ |
| H A D | RDict.py | 77 class RDict(dict): 148 length = dict.__len__(self) 156 value = dict.__getitem__(self, key) 167 return key in dict(self) 197 dict.__setitem__(self, key, nargs.Arg(key)) 200 return dict.__getitem__(self, key).getValue() 210 v = dict.__getitem__(self, key) 220 dict.__setitem__(self, key, value) 232 dict.__setitem__(self, key, nargs.Arg(key)) 233 dict.__getitem__(self, key).setValue(value) [all …]
|
| H A D | sourceDatabase.py | 38 class SourceDB (dict, logger.Logger): 44 dict.__init__(self) 107 return dict.__getitem__(self, self.getRelativePath(key)) 112 return dict.__setitem__(self, self.getRelativePath(key), self.checkValue(value)) 117 return dict.__delitem__(self, self.getRelativePath(key)) 121 return dict.__contains__(self, self.getRelativePath(key)) 129 return [(self.getRelativePath(item[0]), item[1]) for item in dict.items(self)] 133 return map(self.getRelativePath, dict.keys(self))
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _register.py | 15 classid_map: dict[str, str] = {} 16 check_function_map: dict[str, FunctionChecker] = {} 17 check_doc_map: dict[clx.CursorKind, DocChecker] = {} 41 def __register_base(key: _T, value: _U, target_map: dict[_T, _U], exist_ok: bool) -> None:
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | pkg_consistency_checks.py | 10 def assert_py_versions_match(config_file: str, toml_data: dict[str, Any]) -> None: 45 def assert_requirements_match(toml_file: str, toml_data: dict[str, Any], req_file: str, req_lines: … 54 def load_toml_data(toml_path: str) -> dict[str, Any]: 72 toml_data: dict[str, Any] = tomllib.load(fd)
|
| H A D | queue_main.py | 136 updated_check_function_map: dict[str, FunctionChecker], 137 updated_classid_map: dict[str, str],
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMShell.pyx | 80 kargs: dict[str, Any] | None = None) -> None: 112 kargs: dict[str, Any] | None = None) -> None: 145 begin_kargs: dict[str, Any] | None = None, 147 end_kargs: dict[str, Any] | None = None) -> None: 211 begin_kargs: dict[str, Any] | None = None, 213 end_kargs: dict[str, Any] | None = None) -> None: 275 begin_kargs: dict[str, Any] | None = None, 277 end_kargs: dict[str, Any] | None = None) -> None: 340 kargs: dict[str, Any] | None = None) -> None: 372 kargs: dict[str, Any] | None = None) -> None: [all …]
|
| H A D | TAO.pyx | 309 …ective: TAOObjectiveFunction, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 334 …: TAOResidualFunction, Vec R, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 361 …tion, Mat J=None, Mat P=None, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 394 …GradientFunction, Vec g=None, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 452 …GradientFunction, Vec g=None, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 498 … | TAOVariableBoundsFunction, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 534 …straintsFunction, Vec C=None, args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = … 564 … args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = None) -> None: 617 … args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = None) -> None: 666 … args: tuple[Any, ...] | None = None, kargs: dict[str, Any] | None = None) -> None: [all …]
|
| H A D | Sys.pyx | 63 def getVersionInfo(cls) -> dict[str, bool | int | str]: 70 info : dict 79 return dict(major = version[0], 472 cdef dict citations_registry = {}
|
| H A D | Log.pyx | 445 cdef dict stage_registry = {} 522 cdef dict class_registry = {} 705 def getPerfInfo(self, stage: int | None = None) -> dict: 717 info : dict 731 cdef dict event_registry = {}
|
| /petsc/config/BuildSystem/config/ |
| H A D | util.py | 8 def classify(items, functional, args=(), kwargs=dict()): 60 class memoize(dict):
|
| H A D | framework.py | 106 self.clArgDB = dict([(nargs.Arg.parseArgument(arg)[0], arg) for arg in self.clArgs]) 686 if not hasattr(child, 'subst') or not isinstance(child.subst, dict): 733 if not hasattr(child, 'subst') or not isinstance(child.subst, dict): continue 750 argDB.update(dict(map(lambda k: (k, self.argDB[self.argSubst[k]]), self.argSubst))) 752 if not hasattr(child, 'subst') or not isinstance(child.subst, dict): continue 755 argDB.update(dict(map(lambda k: (substPrefix+'_'+k, child.subst[k]), child.subst))) 756 …argDB.update(dict(map(lambda k: (substPrefix+'_'+k, self.argDB[child.argSubst[k]]), child.argSubst… 759 argDB.update(dict(map(lambda k: (k, self.argDB[child.argSubst[k]]), child.argSubst))) 802 if not hasattr(child, 'makeRules') or not isinstance(child.makeRules, dict): return 812 if not hasattr(child, 'makeMacros') or not isinstance(child.makeMacros, dict): return [all …]
|
| /petsc/config/ |
| H A D | gmakegen.py | 49 LANGS = dict(kokkos_cxx='KOKKOS', hip_cxx='HIP', sycl_cxx='SYCL', raja_cxx='RAJA', c='C', cxx='CXX'… 110 self.conf = dict() 153 source = dict() 161 pkgsrcs = dict() 201 …fd.write('%(stem)s.%(lang)s := %(srcs)s\n' % dict(stem=stem, lang=lang.replace('_','.'), srcs=' '.… 214 …fd.write('build %(obj)s : %(lang)s_COMPILE %(src)s\n' % dict(obj=obj, lang=lang.upper(), src=os.pa… 234 conf = dict()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_lgmap.py | 37 self.assertEqual(type(info), dict) 135 self.assertEqual(type(info), dict) 144 self.assertEqual(type(info), dict)
|
| /petsc/src/binding/petsc4py/src/petsc4py/ |
| H A D | __init__.pyi | 7 def get_config() -> dict[str, str]: ...
|
| H A D | __init__.py | 80 return dict(parser.items('petsc'))
|
| /petsc/systems/Apple/OSX/bin/ |
| H A D | makeframework | 47 <dict> 84 </dict>
|
| H A D | makedocs | 16 <dict> 25 </dict>
|
| /petsc/systems/Apple/iOS/bin/ |
| H A D | makeframework | 43 <dict> 80 </dict>
|
| H A D | makedocs | 16 <dict> 25 </dict>
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_str.py | 107 _sections: dict[str, SectionBase] 109 _findcache: dict[tuple[str, ...], dict[str, str]] 470 _attr: dict[str, Any] 495 def _default_attributes() -> dict[str, Any]: 496 return dict() 603 def get_pragmas(self) -> dict[str, set[re.Pattern[str]]]: 640 return dict(pragmas)
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | setup.py | 38 return dict(
|
| /petsc/src/tao/leastsquares/impls/brgn/ |
| H A D | brgn.c | 616 PetscErrorCode TaoBRGNSetDictionaryMatrix(Tao tao, Mat dict) in TaoBRGNSetDictionaryMatrix() argument 620 PetscTryMethod((PetscObject)tao, "TaoBRGNSetDictionaryMatrix_C", (Tao, Mat), (tao, dict)); in TaoBRGNSetDictionaryMatrix() 624 static PetscErrorCode TaoBRGNSetDictionaryMatrix_BRGN(Tao tao, Mat dict) in TaoBRGNSetDictionaryMatrix_BRGN() argument 629 if (dict) { in TaoBRGNSetDictionaryMatrix_BRGN() 630 PetscValidHeaderSpecific(dict, MAT_CLASSID, 2); in TaoBRGNSetDictionaryMatrix_BRGN() 631 PetscCheckSameComm(tao, 1, dict, 2); in TaoBRGNSetDictionaryMatrix_BRGN() 632 PetscCall(PetscObjectReference((PetscObject)dict)); in TaoBRGNSetDictionaryMatrix_BRGN() 635 gn->D = dict; in TaoBRGNSetDictionaryMatrix_BRGN()
|
| /petsc/doc/ext/ |
| H A D | html5_petsc.py | 200 string_to_link = dict() 219 return dict((k, link_string(k, v, prefix)) for (k, v) in string_to_link.items())
|