| /petsc/src/sys/tutorials/output/ |
| H A D | ex5f90_1.out | 9 pos_x1 = 1. ; tuple value 1 help message 10 pos_x2 = 2. ; tuple value 2 help message 11 enum = b456; (list) tuple value 2 help message 20 pos_x1 = 1. ; tuple value 1 help message 21 pos_x2 = 2. ; tuple value 2 help message 22 enum = b456; (list) tuple value 2 help message 31 pos_x1 = 1. ; tuple value 1 help message 32 pos_x2 = 2. ; tuple value 2 help message 33 enum = b456; (list) tuple value 2 help message
|
| /petsc/src/binding/petsc4py/src/petsc4py/ |
| H A D | typing.py | 129 DimsSpec = tuple[int, ...] 181 LayoutSizeSpec: TypeAlias = int | tuple[int, int] 234 MatSizeSpec: TypeAlias = int | tuple[int, int] | tuple[tuple[int, int], tuple[int, int]] 247 MatBlockSizeSpec: TypeAlias = int | tuple[int, int] 254 CSRIndicesSpec: TypeAlias = tuple[Sequence[int], Sequence[int]] 261 CSRSpec: TypeAlias = tuple[Sequence[int], Sequence[int], Sequence[Scalar]] 268 NNZSpec: TypeAlias = int | Sequence[int] | tuple[Sequence[int], Sequence[int]] 342 [SNES, int, tuple[float, float, float]], SNES.ConvergedReason
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | __version__.py | 10 def _read_versions() -> tuple[tuple[int, int, int], str, tuple[int, int, int]]: 31 def tuplify_version_str(version_str: str) -> tuple[int, int, int]: 42 return tuple(version) # type: ignore[return-value] 100 def version_tuple() -> tuple[int, int, int]:
|
| H A D | pkg_consistency_checks.py | 13 def tuplify_version_str(version_str: str) -> tuple[int, int, int]: 24 return tuple(version) # type: ignore[return-value]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMStag.pyx | 53 dofs: tuple[int, ...] | None = None, 54 sizes: tuple[int, ...] | None = None, 55 boundary_types: tuple[DM.BoundaryType | int | str | bool, ...] | None = None, 58 proc_sizes: tuple[int, ...] | None = None, 59 ownership_ranges: tuple[Sequence[int], ...] | None = None, 203 boundary_types: tuple[DM.BoundaryType | int | str | bool, ...]) -> None: 224 def setDof(self, dofs: tuple[int, ...]) -> None: 241 cdef tuple gdofs = tuple(dofs) 246 def setGlobalSizes(self, sizes: tuple[int, ...]) -> None: 261 cdef tuple gsizes = tuple(sizes) [all …]
|
| H A D | DMDA.pyx | 38 boundary_type: tuple[DM.BoundaryType | int | str | bool, ...] | None = None, 42 ownership_ranges: tuple[Sequence[int], ...] | None = None, 94 try: arg = tuple(dim) 151 boundary_type: tuple[DM.BoundaryType | int | str | bool, ...] | None = None, 299 cdef tuple gsizes = tuple(sizes) 311 def getSizes(self) -> tuple[int, ...]: 349 cdef tuple psizes = tuple(proc_sizes) 361 def getProcSizes(self) -> tuple[int, ...]: 386 boundary_type: tuple[DM.BoundaryType | int | str | bool, ...]) -> None: 407 def getBoundaryType(self) -> tuple[DM.BoundaryType, ...]: [all …]
|
| H A D | petscdmda.pxi | 130 dims = tuple(dims) 141 cdef inline tuple toDims(PetscInt dim, 150 cdef inline tuple asOwnershipRanges(object ownership_ranges, 181 return tuple(ranges) 183 cdef inline tuple toOwnershipRanges(PetscInt dim, 188 # Returns tuple of arrays containing ownership ranges as Python arrays 194 return tuple(ranges) 201 cdef readonly tuple starts, sizes 202 cdef readonly tuple shape, strides 237 cdef tuple starts = toDims(dim, xs, ys, zs) [all …]
|
| H A D | DMShell.pyx | 79 args: tuple[Any, ...] | None = None, 111 args: tuple[Any, ...] | None = None, 144 begin_args: tuple[Any, ...] | None = None, 146 end_args: tuple[Any, ...] | None = None, 210 begin_args: tuple[Any, ...] | None = None, 212 end_args: tuple[Any, ...] | None = None, 274 begin_args: tuple[Any, ...] | None = None, 276 end_args: tuple[Any, ...] | None = None, 339 args: tuple[Any, ...] | None = None, 371 args: tuple[Any, ...] | None = None, [all …]
|
| H A D | petscdmshell.pxi | 82 assert context is not None and type(context) is tuple 101 assert context is not None and type(context) is tuple 123 assert context is not None and type(context) is tuple 139 assert context is not None and type(context) is tuple 155 assert context is not None and type(context) is tuple 171 assert context is not None and type(context) is tuple 187 assert context is not None and type(context) is tuple 203 assert context is not None and type(context) is tuple 216 assert context is not None and type(context) is tuple 237 assert context is not None and type(context) is tuple [all …]
|
| H A D | TAO.pyx | 309 …def setObjective(self, objective: TAOObjectiveFunction, args: tuple[Any, ...] | None = None, kargs… 334 …def setResidual(self, residual: TAOResidualFunction, Vec R, args: tuple[Any, ...] | None = None, k… 361 …elf, jacobian: TAOJacobianResidualFunction, Mat J=None, Mat P=None, args: tuple[Any, ...] | None =… 394 …def setGradient(self, gradient: TAOGradientFunction, Vec g=None, args: tuple[Any, ...] | None = No… 436 def getGradient(self) -> tuple[Vec, TAOGradientFunction]: 452 …def setObjectiveGradient(self, objgrad: TAOObjectiveGradientFunction, Vec g=None, args: tuple[Any,… 482 def getObjectiveAndGradient(self) -> tuple[Vec, TAOObjectiveGradientFunction]: 498 …def setVariableBounds(self, varbounds: tuple[Vec, Vec] | TAOVariableBoundsFunction, args: tuple[An… 506 Either a tuple of `Vec` or a `TAOVariableBoundsFunction` callback. 518 if (isinstance(varbounds, list) or isinstance(varbounds, tuple)): [all …]
|
| H A D | petscdmstag.pxi | 138 dims = tuple(dims) 149 cdef inline tuple toStagDims(PetscInt dim, 165 dofs = tuple(dofs) 176 cdef inline tuple toDofs(PetscInt ndofs, 185 cdef inline tuple asStagOwnershipRanges(object ownership_ranges, 216 return tuple(ranges) 219 cdef inline tuple toStagOwnershipRanges(PetscInt dim, 224 # Returns tuple of arrays containing ownership ranges as Python arrays 230 return tuple(ranges) 237 cdef inline tuple toStagBoundaryTypes(PetscInt dim, PetscDMBoundaryType btx, PetscDMBoundaryType bt…
|
| H A D | petsctao.pxi | 282 assert context is not None and type(context) is tuple # sanity check 297 assert context is not None and type(context) is tuple # sanity check 311 assert context is not None and type(context) is tuple # sanity check 325 assert context is not None and type(context) is tuple # sanity check 341 assert context is not None and type(context) is tuple # sanity check 356 assert context is not None and type(context) is tuple # sanity check 370 assert context is not None and type(context) is tuple # sanity check 386 assert context is not None and type(context) is tuple # sanity check 400 assert context is not None and type(context) is tuple # sanity check 416 assert context is not None and type(context) is tuple # sanity check [all …]
|
| H A D | Random.pyx | 199 def getInterval(self) -> tuple[Scalar, Scalar]: 214 def setInterval(self, interval: tuple[Scalar, Scalar]) -> None: 243 def __get__(self) -> tuple[Scalar, Scalar]: 246 def __set__(self, value: tuple[Scalar, Scalar]):
|
| H A D | petscsnes.pxi | 312 assert context is not None and type(context) is tuple # sanity check 334 assert context is not None and type(context) is tuple # sanity check 353 assert context is not None and type(context) is tuple # sanity check 366 assert context is not None and type(context) is tuple # sanity check 386 assert context is not None and type(context) is tuple # sanity check 403 assert context is not None and type(context) is tuple # sanity check 422 assert context is not None and type(context) is tuple # sanity check 445 assert context is not None and type(context) is tuple # sanity check 484 assert context is not None and type(context) is tuple # sanity check
|
| /petsc/include/petsc/private/cpp/ |
| H A D | tuple.hpp | 26 constexpr inline F &&tuple_for_each(index_sequence<Idx...>, T &&tuple, F &&f) in tuple_for_each() argument 29 return (void)expander{((void)f(std::get<Idx>(std::forward<T>(tuple))), 0)...}, std::forward<F>(f); in tuple_for_each() 41 constexpr inline F &&tuple_for_each(T &&tuple, F &&f) in tuple_for_each() argument 44 return detail::tuple_for_each(seq{}, std::forward<T>(tuple), std::forward<F>(f)); in tuple_for_each()
|
| H A D | functional.hpp | 38 using type = util::tuple_element_t<ix, std::tuple<Args...>>; 49 using type = util::tuple_element_t<ix, std::tuple<Args...>>; 59 using type = util::tuple_element_t<ix, std::tuple<Args...>>; 134 …uto gobblefn(TupleT &&tuple, Petsc::util::index_sequence<idx...>) PETSC_DECLTYPE_NOEXCEPT_AUTO_RET…
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section_base.py | 50 prefixes = tuple() 68 if isinstance(rest, (list, tuple)): 80 def split_param(text: str, prefixes: Sequence[str], sep: str) -> tuple[str, str, str]: 164 __slots__: tuple[str, ...] = tuple() 214 titles: tuple[str, ...] 215 keywords: tuple[str, ...] 217 _lines: list[tuple[SourceRange, str, Verdict]] 227 …ame: str, required: bool = False, keywords: Optional[tuple[str, ...]] = None, titles: Optional[tup… 261 titles = tuple(titles) 265 keywords = tuple(keywords) [all …]
|
| H A D | _doc_section.py | 450 …def _check_fortran_interface(self, docstring: PetscDocStringImpl, fnargs: tuple[Cursor, ...]) -> N… 461 requires_c: list[tuple[Cursor, str]] = [] 488 …def _check_no_args_documented(self, docstring: PetscDocStringImpl, arg_cursors: tuple[Cursor, ...]… 608 … PetscDocStringImpl, visitor: FunctionParameterList.ParamVisitor) -> list[tuple[str, SourceRange]]: 636 sub_args = tuple(map(str.strip, arg.split(','))) 647 sub_args = tuple(map(str.strip, arg.split(' = '))) 666 …tring: PetscDocStringImpl, arg_cursors: Sequence[Cursor], not_found: list[tuple[str, SourceRange]]… 790 …def _check_valid_param_list_from_cursor(self, docstring: PetscDocStringImpl, arg_cursors: tuple[Cu… 1025 valid_levels: tuple[str, ...] 1267 …ocStringImpl, items: InlineList.ItemsType, last_loc: SourceRange) -> list[tuple[SourceRange, str]]: [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _patch.py | 50 def apply(self, src: str, offset: int) -> tuple[str, int]: 96 deltas: tuple[Delta, ...] 230 def cull_deltas(deltas: tuple[Delta, ...]) -> tuple[Delta, ...]: 244 return tuple([ 294 self.deltas = tuple(combined[i] for i in argsort)
|
| H A D | _linter.py | 89 def split_and_condense(self) -> tuple[CondensedDiags, CondensedDiags]: 196 …def _check_duplicate_function_calls(self, processed_funcs: dict[str, list[tuple[Cursor, Scope]]]) … 220 combo_tup = tuple(combo) 240 …tu: clx.TranslationUnit, symbol_names: Container[str]) -> Generator[Union[tuple[clx.Cursor, clx.Cu… 266 …def walk_scope_switch(parent: clx.Cursor, scope: Scope) -> Generator[tuple[clx.Cursor, clx.Cursor,… 289 …def walk_scope(parent: clx.Cursor, scope: Optional[Scope] = None) -> Generator[tuple[clx.Cursor, c… 352 def get_argument_cursors(func_cursor: CursorLike) -> tuple[Cursor, ...]: 365 return tuple(Cursor(a, i) for i, a in enumerate(func_cursor.get_arguments(), start=1)) 742 def get_all_errors(self) -> tuple[CondensedDiags, CondensedDiags]: 754 def get_all_warnings(self) -> tuple[CondensedDiags, CondensedDiags]: [all …]
|
| H A D | _diag.py | 24 def __init__(self, diag_map: DiagnosticMap, mro: tuple[type, ...]) -> None: 29 def _fuzzy_get_attribute(self, in_diags: dict[str, str], in_attr: str) -> tuple[bool, str]: 111 if not isinstance(other, (list, tuple)) or inspect.isgenerator(other): 214 def _inject_diag_map(cls, symbol: _T, diag_pairs: Iterable[tuple[str, str]]) -> _T: 269 def register(cls, *args: tuple[str, str]) -> Callable[[_T], _T]: 434 notes: list[tuple[SourceLocationLike, str]] 437 …: SourceLocationLike, patch: Optional[Patch] = None, notes: Optional[list[tuple[SourceLocationLike…
|
| /petsc/src/binding/petsc4py/src/petsc4py/lib/ |
| H A D | __init__.pyi | 5 def getPathArchPETSc(arch: str | None = ...) -> tuple[str, str]: ... 9 def getPathArch(path: str, arch: str, rcvar: str = ..., rcfile: str = ...) -> tuple[str, str]: ...
|
| /petsc/src/sys/tutorials/ |
| H A D | ex5f90.F90 | 11 type tuple type 13 end type tuple 24 type(tuple) :: pos
|
| /petsc/config/BuildSystem/config/ |
| H A D | setsOrdered.py | 98 if isinstance(value, tuple): 376 if type(iterable) in (list, tuple, xrange): 554 if isinstance(pos, tuple): 555 pos = tuple(list(pos)+[len(self._data)]) 568 if isinstance(pos, tuple): 569 pos = tuple(list(pos)+[len(self._data)])
|
| /petsc/src/sys/classes/random/impls/curand/ |
| H A D | curand2.cu | 10 public thrust::unary_function<thrust::tuple<PetscReal, size_t>, PetscReal> 24 …__host__ __device__ PetscReal operator()(thrust::tuple<PetscReal, size_t> x) { return thrust::get<… in operator ()()
|