Home
last modified time | relevance | path

Searched full:bool (Results 1 – 25 of 223) sorted by relevance

123456789

/petsc/systems/Apple/iOS/examples/testopengl/
H A DiphoneViewController.xib14 <bool key="EncodedWithXMLCoder">YES</bool>
22 <bool key="EncodedWithXMLCoder">YES</bool>
30 <bool key="EncodedWithXMLCoder">YES</bool>
43 <bool key="EncodedWithXMLCoder">YES</bool>
51 <bool key="IBUIOpaque">NO</bool>
52 <bool key="IBUIClipsSubviews">YES</bool>
68 <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
95 <bool key="IBUIClipsSubviews">YES</bool>
96 <bool key="IBUIMultipleTouchEnabled">YES</bool>
102 <bool key="IBUIBounces">NO</bool>
[all …]
H A DMainWindow.xib14 <bool key="EncodedWithXMLCoder">YES</bool>
18 <bool key="EncodedWithXMLCoder">YES</bool>
22 <bool key="EncodedWithXMLCoder">YES</bool>
24 <bool key="EncodedWithXMLCoder">YES</bool>
27 <bool key="EncodedWithXMLCoder">YES</bool>
31 <bool key="EncodedWithXMLCoder">YES</bool>
56 <bool key="IBUIOpaque">NO</bool>
57 <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
60 <bool key="IBUIResizesToFullScreen">YES</bool>
65 <bool key="EncodedWithXMLCoder">YES</bool>
[all …]
/petsc/systems/Apple/iOS/examples/Basic/
H A DMainWindow.xib14 <bool key="EncodedWithXMLCoder">YES</bool>
18 <bool key="EncodedWithXMLCoder">YES</bool>
22 <bool key="EncodedWithXMLCoder">YES</bool>
24 <bool key="EncodedWithXMLCoder">YES</bool>
27 <bool key="EncodedWithXMLCoder">YES</bool>
31 <bool key="EncodedWithXMLCoder">YES</bool>
56 <bool key="IBUIOpaque">NO</bool>
57 <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
60 <bool key="IBUIResizesToFullScreen">YES</bool>
65 <bool key="EncodedWithXMLCoder">YES</bool>
[all …]
H A DiphoneViewController.xib14 <bool key="EncodedWithXMLCoder">YES</bool>
18 <bool key="EncodedWithXMLCoder">YES</bool>
22 <bool key="EncodedWithXMLCoder">YES</bool>
24 <bool key="EncodedWithXMLCoder">YES</bool>
27 <bool key="EncodedWithXMLCoder">YES</bool>
31 <bool key="EncodedWithXMLCoder">YES</bool>
44 <bool key="EncodedWithXMLCoder">YES</bool>
50 <bool key="IBUIOpaque">NO</bool>
51 <bool key="IBUIClipsSubviews">YES</bool>
67 <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
[all …]
/petsc/config/BuildSystem/config/packages/
H A DExodusII.py42 args.append('-DSeacas_ENABLE_SEACASExodus:BOOL=ON')
44 args.append('-DSeacas_ENABLE_Fortran:BOOL=ON')
45 args.append('-DSeacas_ENABLE_SEACASExoIIv2for32:BOOL=ON')
46 args.append('-DSeacas_ENABLE_SEACASExoIIv2for:BOOL=ON')
47 args.append('-DSeacas_ENABLE_SEACASExodus_for:BOOL=ON')
48 args.append('-DSEACASProj_SKIP_FORTRANCINTERFACE_VERIFY_TEST:BOOL=ON')
50 args.append('-DSeacas_ENABLE_Fortran:BOOL=OFF')
51 args.append('-DSeacas_ENABLE_SEACASExoIIv2for32:BOOL=OFF')
52 args.append('-DSeacas_ENABLE_SEACASExoIIv2for:BOOL=OFF')
53 args.append('-DSeacas_ENABLE_SEACASExodus_for:BOOL=OFF')
[all …]
H A DPTSCOTCH.py46 args.append('-DINSTALL_METIS_HEADERS:BOOL=OFF')
47 args.append('-DSCOTCH_METIS_PREFIX:BOOL=ON')
50 args.append('-DCOMMON_FILE_COMPRESS_GZ:BOOL=ON')
52 args.append('-DCOMMON_FILE_COMPRESS_GZ:BOOL=OFF')
56 args.append('-DCOMMON_PTHREAD_BARRIER:BOOL=ON')
58 … args.append('-DCOMMON_PTHREAD_BARRIER:BOOL=OFF') # macOS does not have pthread_barrier_destroy
61 args.append('-DCOMMON_TIMING_OLD:BOOL=ON')
63 args.append('-DBUILD_FORTRAN:BOOL=OFF')
64 args.append('-DENABLE_TESTS:BOOL=OFF')
H A DTrilinos.py154 args.append('-DTPL_ENABLE_TPL_Boost:BOOL=OFF')
155 args.append('-DTPL_ENABLE_TPL_BoostLib:BOOL=OFF')
193 args.append('-DTPL_ENABLE_HWLOC:BOOL=ON')
201 args.append('-DTPL_ENABLE_SuperLU:BOOL=ON')
205 args.append('-DTPL_ENABLE_TPL_SuperLU:BOOL=OFF')
208 args.append('-DTPL_ENABLE_SuperLUDist:BOOL=ON')
212 args.append('-DTPL_ENABLE_TPL_SuperLUDist:BOOL=OFF')
215 args.append('-DTPL_ENABLE_HYPRE:BOOL=ON')
219 args.append('-DTPL_ENABLE_HYPRE:BOOL=OFF')
224 # args.append('-DTPL_ENABLE_MUMPS:BOOL=ON')
[all …]
H A Dcgns.py26 args.append('-DCGNS_BUILD_SHARED:BOOL=ON')
28 args.append('-DCGNS_ENABLE_PARALLEL:BOOL=ON')
29 args.append('-DHDF5_NEED_MPI:BOOL=ON')
H A DSuiteSparse.py33 …help.addArgument('SUITESPARSE', '-with-suitesparse-cuda=<bool>', nargs.ArgBool(None, 0, 'Compile S…
69 args.append('-DSUITESPARSE_USE_CUDA:BOOL='+('ON' if enablecuda else 'OFF'))
70 args.append('-DSUITESPARSE_USE_OPENMP:BOOL='+('ON' if self.openmp.found else 'OFF'))
71 …args.append('-DSUITESPARSE_USE_64BIT_BLAS:BOOL='+('ON' if self.blasLapack.has64bitindices else 'OF…
H A Dnetlib-lapack.py21 …help.addArgument(self.PACKAGE,'-with-netlib-lapack-c-bindings=<bool>',nargs.ArgBool(None,0,'Use/bu…
37 args.append('-DCBLAS:BOOL=ON')
38 args.append('-DLAPACKE:BOOL=ON')
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A D_typing.py74 WeakListType: TypeAlias = WeakList[Tuple[str, bool, int]]
80 …after_context: int = 0, num_context: int = 0, view: bool = False, highlight: bool = True, trim: bo…
83 …nt = 0, num_after_context: int = 0, num_context: int = 0, trim: bool = True, tight: bool = False) …
94 …ter_context: int = ..., num_context: int = ..., view: bool = ..., highlight: bool = ..., trim: boo…
98 …..., num_after_context: int = ..., num_context: int = ..., trim: bool = ..., tight: bool = ...) ->…
H A Dqueue_main.py90 _verbose: bool
94 def __init__(self, verbose: bool, print_prefix: str, lock: ParallelPool.LockType) -> None: argument
111 def __call__(self, *args, flush: bool = True, **kwargs) -> None: argument
135 clang_compat_check: bool, argument
141 verbose: bool, argument
142 werror: bool, argument
H A Dmain.py106 clang_compat_check: bool = True, argument
111 apply_patches: bool = False, argument
115 replace_tests: bool = False, argument
116 werror: bool = False argument
192 if bool(apply_patches) and bool(test_output_dir):
307 …t_parsers: Optional[list[argparse.ArgumentParser]] = None, advanced_help: bool = False) -> tuple[a… argument
332 …def add_bool_argument(prsr: ParserLike, *args, advanced: bool = False, **kwargs) -> argparse.Actio… argument
333 def str2bool(v: Union[str, bool]) -> bool: argument
334 if isinstance(v, bool):
346 kwargs.setdefault('metavar', 'bool')
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_scope.py56 def __lt__(self, other: Scope) -> bool:
60 def __gt__(self, other: Scope) -> bool:
64 def __le__(self, other: Scope) -> bool:
68 def __ge__(self, other: Scope) -> bool:
72 def __eq__(self, other: object) -> bool:
77 def __ne__(self, other: object) -> bool:
92 def is_parent_of(self, other: Scope) -> bool:
112 def is_child_of(self, other: Scope) -> bool:
H A D_util.py14 def verbose_print(*args, **kwargs) -> bool:
18 def no_system_includes(cursor: CursorLike, level: IndentLevel, **kwargs) -> bool:
26 def only_files(cursor: CursorLike, level: IndentLevel, **kwargs) -> bool:
51 def check_valid_type(t: clx.Type) -> bool:
72 def view_ast_from_cursor(cursor: CursorLike, pred: Callable[..., bool] = verbose_print, level: Inde… argument
100 …nt = 0, num_after_context: int = 0, num_context: int = 0, trim: bool = False, tight: bool = False)… argument
132 …after_context: int = 0, num_context: int = 0, view: bool = False, highlight: bool = True, trim: bo… argument
/petsc/src/sys/tests/
H A Dex47-options.yaml9 bool: true
16 $$1: &seq-bool [true, false]
22 bool: *seq-bool,
29 bool:
/petsc/include/petsc/private/cpp/
H A Dunordered_map.hpp50 // The comparison type, provides a bool operator()(const Value&, const Value&) to compare two
59 template <bool>
62 template <bool>
107 PETSC_NODISCARD bool empty() const noexcept;
113 PETSC_NODISCARD bool occupied(khash_int) const noexcept;
114 PETSC_NODISCARD bool occupied(const_iterator) const noexcept;
121 std::pair<iterator, bool> emplace(Args &&...) noexcept;
123 std::pair<iterator, bool> insert(const value_type &) noexcept;
124 std::pair<iterator, bool> insert(value_type &&) noexcept;
144 …PETSC_NODISCARD std::pair<iterator, bool> find_and_emplace_(KeyType &&, ValueTypeArgs &&...) noexc…
[all …]
/petsc/config/PETSc/options/
H A DlibraryOptions.py17 …help.addArgument('PETSc', '-with-log=<bool>', nargs.ArgBool(None, 1, 'Activate loggin…
18 …help.addArgument('PETSc', '-with-threadsafety=<bool>', nargs.ArgBool(None, 0, 'Allow individua…
19 …help.addArgument('PETSc', '-with-info=<bool>', nargs.ArgBool(None, 1, 'Activate PetscI…
20 …help.addArgument('PETSc', '-with-ctable=<bool>', nargs.ArgBool(None, 1, 'Use hash maps i…
21 …help.addArgument('PETSc', '-with-dmlandau-3d=<bool>', nargs.ArgBool(None, 0, 'Enable full 3D …
22 …help.addArgument('PETSc', '-with-fortran-kernels=<bool>', nargs.ArgBool(None, 0, 'Use Fortran for…
23 …help.addArgument('PETSc', '-with-avx512-kernels=<bool>', nargs.ArgBool(None, 1, 'Use AVX-512 int…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DLog.pyx256 def isActive(cls) -> bool:
365 def getActive(self) -> bool:
379 def setActive(self, flag: bool) -> None: argument
395 def __get__(self) -> bool:
403 def getVisible(self) -> bool:
417 def setVisible(self, flag: bool) -> None: argument
438 def __get__(self) -> bool:
501 def getActive(self) -> bool:
506 def setActive(self, flag: bool) -> None: argument
515 def __get__(self) -> bool:
[all …]
H A DSys.pyx10 devel: bool = False, argument
11 date: bool = False, argument
12 author: bool = False) -> tuple[int, int, int]: argument
63 def getVersionInfo(cls) -> dict[str, bool | int | str]:
89 def isInitialized(cls) -> bool:
102 def isFinalized(cls) -> bool:
203 flush: bool = False, argument
395 flag: bool, argument
450 def hasExternalPackage(cls, package: str) -> bool:
/petsc/src/sys/tutorials/
H A Dex9f.F9045 …PetscCallA(PetscOptionsBool('-bool', 'Get an application bool', 'Man page', bdefault, bvalue, flg,…
47 write (IOBuffer, '("The bool value was set to ",L1,"\n")') bvalue
50 …PetscCallA(PetscOptionsBoolArray('-boolarray', 'Get an application bool array', 'Man page', barray…
52 write (IOBuffer, '("The bool array was set to ",*(L1," "))') barray
57 write (IOBuffer, '("The bool value was set to ",A,"\n")') trim(list(evalue + 1))
/petsc/lib/petsc/bin/maint/
H A Dcheck_header_guard.py25 verbose: bool
26 added: bool
29 def __init__(self, verbose: bool, path: pathlib.Path) -> None: argument
175 append_endif: bool
314 def is_pragma_once(line: str) -> bool:
317 def is_header_guard(prev_line: str, line: str) -> bool:
322 def is_match(prev_line: str, line: str) -> bool:
444 def str2bool(v: Union[str, bool]) -> bool: argument
445 if isinstance(v, bool):
461 nargs='?', const=True, default=False, metavar='bool', type=str2bool, help='verbose output'
[all …]
/petsc/src/tao/constrained/impls/admm/
H A Dadmm.h33 …PetscBool xJI, zJI; /* Bool to check whether A,B Jacobians are NULL-set ide…
34 PetscBool Hxchange, Hzchange; /* Bool to check whether Hx,Hz change wrt to x and z */
35 …PetscBool Hxbool, Hzbool; /* Bool to make sure Hessian gets updated only once for…
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py68 …lectiveXXX(linter: Linter, obj: Cursor, obj_type: clx.Type, func_cursor: Cursor, **kwargs) -> bool:
104 return bool(valid_func_name)
106 …j: Cursor, obj_type: clx.Type, func_cursor: Optional[Cursor] = None, valid_func: str = '') -> bool:
155 def check_is_PetscScalar_and_not_PetscReal(*args, **kwargs) -> bool:
172 def check_is_PetscReal_and_not_PetscScalar(*args, **kwargs) -> bool:
189 …ype(typename: str, linter: Linter, obj: Cursor, func_cursor: Cursor, valid_func: str = '') -> bool:
214 def check_int_is_not_PetscBool(linter: Linter, obj: Cursor, *args, **kwargs) -> bool:
235 def check_MPIInt_is_not_PetscInt(linter: Linter, obj: Cursor, *args, **kwargs) -> bool:
256 …j: Cursor, obj_type: clx.Type, func_cursor: Optional[Cursor] = None, valid_func: str = '') -> bool:
272 if ('PetscBool' not in obj.derivedtypename) and ('bool' not in obj.typename):
[all …]
/petsc/include/
H A Dpetsccxxcomplexfix.h53 …std::integral_constant<bool, (std::is_same<Cmplex, PetscComplex>::value && std::is_arithmetic<Atyp…
112 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…
118 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…
124 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…
130 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…

123456789