Home
last modified time | relevance | path

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

1234567891011

/petsc/share/petsc/saws/js/
H A DpopulateLists.js1 function populateList(type, endtag, list) argument
4 if(list == undefined)
5 list = "#pc_fieldsplit_type" + endtag;
6 $(list).append("<option value=\"multiplicative\">multiplicative</option>");
7 $(list).append("<option value=\"additive\">additive</option>");
8 … $(list).append("<option value=\"symmetric_multiplicative\">symmetric_multiplicative</option>");
9 $(list).append("<option value=\"special\">special</option>");
10 $(list).append("<option value=\"schur\">schur</option>");
13 if(list == undefined)
14 list = "#pc_mg_type" + endtag;
[all …]
/petsc/src/sys/dll/
H A Ddl.c218 PetscDLLibrary list = NULL, nlist, prev; in PetscDLLibrarySym() local
226 if (outlist) list = *outlist; in PetscDLLibrarySym()
250 nlist = list; in PetscDLLibrarySym()
274 while (list) { in PetscDLLibrarySym()
275 PetscCall(PetscDLSym(list->handle, symbol, value)); in PetscDLLibrarySym()
277 … PetscCall(PetscInfo(NULL, "Loading symbol %s from dynamic library %s\n", symbol, list->libname)); in PetscDLLibrarySym()
280 list = list->next; in PetscDLLibrarySym()
316 PetscDLLibrary list, prev; in PetscDLLibraryAppend() local
355 list = prev = *outlist; in PetscDLLibraryAppend()
357 while (list) { in PetscDLLibraryAppend()
[all …]
/petsc/lib/petsc/bin/maint/
H A Dcheck_header_guard.py35 def _strip_empty_lines(self, idx: int, ret: list[str]) -> list[str]:
57 def prologue(self, ret: Sequence[str]) -> list[str]:
73 def replace(self, last_line: str, line: str, ret: list[str]) -> list[str]:
77 def epilogue(self, last_endif: int, ret: list[str]) -> list[str]:
95 def prologue(self, ret: list[str]) -> list[str]:
98 def replace(self, prev_line: str, line: str, ret: list[str]) -> list[str]:
141 def epilogue(self, last_endif: int, ret: list[str]) -> list[str]:
197 def prologue(self, ret: list[str]) -> list[str]:
200 def replace(self, prev_line: str, line: str, ret: list[str]) -> list[str]:
266 def epilogue(self, last_endif: int, ret: list[str]) -> list[str]:
[all …]
H A DprettyprintAPI.py43 for i in sorted(list(classes.keys())):
50 for i in sorted(list(typedefs.keys())):
57 for i in sorted(list(structs.keys())):
64 for i in sorted(list(enums.keys())):
75 for i in sorted(list(senums.keys())):
/petsc/src/sys/tutorials/
H A Dex9f.F9027 character(len=256) :: list(6)
30 list(1) = 'a123 '
31 list(2) = 'b456 '
32 list(3) = 'c789 '
33 list(4) = 'list '
34 list(5) = 'prefix_'
35 list(6) = ''
55 …PetscCallA(PetscOptionsEnum('-enum', 'Get an application enum', 'Man page', list, edefault, evalue…
57 write (IOBuffer, '("The bool value was set to ",A,"\n")') trim(list(evalue + 1))
H A Dex5f90.F9040 character(len=99) list(6)
46 list(1) = 'a123'
47 list(2) = 'b456'
48 list(3) = 'c789'
49 list(4) = 'list'
50 list(5) = 'prefix_'
51 list(6) = ''
82 …PetscCallA(PetscBagRegisterEnum(bag, data%enum, list, 1, 'enum', 'tuple value 2 help message', ier…
/petsc/src/mat/graphops/color/impls/minpack/
H A Dslo.c5 … const PetscInt *indcol, const PetscInt *ipntr, PetscInt *ndeg, PetscInt *list, PetscInt *maxclq, … in MINPACKslo() argument
66 --list; in MINPACKslo()
79 list[jp] = ndeg[jp]; in MINPACKslo()
132 list[jcol] = numord; in MINPACKslo()
175 numdeg = list[ic]; in MINPACKslo()
176 --list[ic]; in MINPACKslo()
179 i__4 = list[ic]; in MINPACKslo()
207 for (jcol = 1; jcol <= i__1; ++jcol) iwa2[list[jcol]] = jcol; in MINPACKslo()
210 for (jp = 1; jp <= i__1; ++jp) list[jp] = iwa2[jp]; in MINPACKslo()
H A Dido.c7 … const PetscInt *indcol, const PetscInt *ipntr, PetscInt *ndeg, PetscInt *list, PetscInt *maxclq, … in MINPACKido() argument
73 --list; in MINPACKido()
112 list[jp] = 0; in MINPACKido()
153 list[jcol] = numord; in MINPACKido()
200 numinc = list[ic]; in MINPACKido()
201 ++list[ic]; in MINPACKido()
204 i__4 = list[ic]; in MINPACKido()
232 for (jcol = 1; jcol <= i__1; ++jcol) iwa2[list[jcol]] = jcol; in MINPACKido()
234 for (jp = 1; jp <= i__1; ++jp) list[jp] = iwa2[jp]; in MINPACKido()
H A Dcolor.c29 PetscInt *list, *work, clique, *seq, *coloring, n; in MatColoringApply_SL() local
62 PetscCall(PetscMalloc2(n, &list, 4 * n, &work)); in MatColoringApply_SL()
64 …PetscCall(MINPACKslo(&n, cja, cia, rja, ria, seq, list, &clique, work, work + n, work + 2 * n, wor… in MatColoringApply_SL()
67 PetscCall(MINPACKseq(&n, cja, cia, rja, ria, list, coloring, &ncolors, work)); in MatColoringApply_SL()
69 PetscCall(PetscFree2(list, work)); in MatColoringApply_SL()
129 PetscInt *list, *work, *seq, *coloring, n; in MatColoringApply_LF() local
162 PetscCall(PetscMalloc2(n, &list, 4 * n, &work)); in MatColoringApply_LF()
166 PetscCall(MINPACKnumsrt(&n, &n1, seq, &none, list, work + 2 * n, work + n)); in MatColoringApply_LF()
168 PetscCall(MINPACKseq(&n, cja, cia, rja, ria, list, coloring, &ncolors, work)); in MatColoringApply_LF()
170 PetscCall(PetscFree2(list, work)); in MatColoringApply_LF()
[all …]
/petsc/src/sys/objects/device/tests/output/
H A Dex7_with_info_sycl.out4 …D_Private(): dctx 2 (global root) - obj 8 (memory allocation): dependency list is empty, creating …
7 …Private(): dctx 2 (global root) - obj 8 (memory deallocation): dependency list is empty, creating …
9 …_Private(): dctx 2 (global root) - obj 12 (memory allocation): dependency list is empty, creating …
11 …_Private(): dctx 2 (global root) - obj 13 (memory allocation): dependency list is empty, creating …
13 …_Private(): dctx 2 (global root) - obj 14 (memory allocation): dependency list is empty, creating …
15 …_Private(): dctx 2 (global root) - obj 15 (memory allocation): dependency list is empty, creating …
17 …_Private(): dctx 2 (global root) - obj 16 (memory allocation): dependency list is empty, creating …
20 …rivate(): dctx 2 (global root) - obj 12 (memory deallocation): dependency list is empty, creating …
23 …rivate(): dctx 2 (global root) - obj 13 (memory deallocation): dependency list is empty, creating …
26 …rivate(): dctx 2 (global root) - obj 14 (memory deallocation): dependency list is empty, creating …
[all …]
H A Dex7_with_info_cuda.out4 …Private(): dctx 53 (global root) - obj 58 (memory allocation): dependency list is empty, creating …
7 …ivate(): dctx 53 (global root) - obj 58 (memory deallocation): dependency list is empty, creating …
9 …Private(): dctx 53 (global root) - obj 63 (memory allocation): dependency list is empty, creating …
11 …Private(): dctx 53 (global root) - obj 64 (memory allocation): dependency list is empty, creating …
13 …Private(): dctx 53 (global root) - obj 65 (memory allocation): dependency list is empty, creating …
15 …Private(): dctx 53 (global root) - obj 66 (memory allocation): dependency list is empty, creating …
17 …Private(): dctx 53 (global root) - obj 67 (memory allocation): dependency list is empty, creating …
20 …ivate(): dctx 53 (global root) - obj 63 (memory deallocation): dependency list is empty, creating …
23 …ivate(): dctx 53 (global root) - obj 64 (memory deallocation): dependency list is empty, creating …
26 …ivate(): dctx 53 (global root) - obj 65 (memory deallocation): dependency list is empty, creating …
[all …]
H A Dex7_with_info_hip.out4 …Private(): dctx 53 (global root) - obj 58 (memory allocation): dependency list is empty, creating …
7 …ivate(): dctx 53 (global root) - obj 58 (memory deallocation): dependency list is empty, creating …
9 …Private(): dctx 53 (global root) - obj 63 (memory allocation): dependency list is empty, creating …
11 …Private(): dctx 53 (global root) - obj 64 (memory allocation): dependency list is empty, creating …
13 …Private(): dctx 53 (global root) - obj 65 (memory allocation): dependency list is empty, creating …
15 …Private(): dctx 53 (global root) - obj 66 (memory allocation): dependency list is empty, creating …
17 …Private(): dctx 53 (global root) - obj 67 (memory allocation): dependency list is empty, creating …
20 …ivate(): dctx 53 (global root) - obj 63 (memory deallocation): dependency list is empty, creating …
23 …ivate(): dctx 53 (global root) - obj 64 (memory deallocation): dependency list is empty, creating …
26 …ivate(): dctx 53 (global root) - obj 65 (memory deallocation): dependency list is empty, creating …
[all …]
H A Dex7_with_info_host_no_device.out4 …Private(): dctx 53 (global root) - obj 56 (memory allocation): dependency list is empty, creating …
7 …ivate(): dctx 53 (global root) - obj 56 (memory deallocation): dependency list is empty, creating …
9 …Private(): dctx 53 (global root) - obj 60 (memory allocation): dependency list is empty, creating …
11 …Private(): dctx 53 (global root) - obj 61 (memory allocation): dependency list is empty, creating …
13 …Private(): dctx 53 (global root) - obj 62 (memory allocation): dependency list is empty, creating …
15 …Private(): dctx 53 (global root) - obj 63 (memory allocation): dependency list is empty, creating …
17 …Private(): dctx 53 (global root) - obj 64 (memory allocation): dependency list is empty, creating …
20 …ivate(): dctx 53 (global root) - obj 60 (memory deallocation): dependency list is empty, creating …
23 …ivate(): dctx 53 (global root) - obj 61 (memory deallocation): dependency list is empty, creating …
26 …ivate(): dctx 53 (global root) - obj 62 (memory deallocation): dependency list is empty, creating …
[all …]
H A Dex7_with_info_host_with_device.out4 …Private(): dctx 53 (global root) - obj 56 (memory allocation): dependency list is empty, creating …
7 …ivate(): dctx 53 (global root) - obj 56 (memory deallocation): dependency list is empty, creating …
9 …Private(): dctx 53 (global root) - obj 60 (memory allocation): dependency list is empty, creating …
11 …Private(): dctx 53 (global root) - obj 61 (memory allocation): dependency list is empty, creating …
13 …Private(): dctx 53 (global root) - obj 62 (memory allocation): dependency list is empty, creating …
15 …Private(): dctx 53 (global root) - obj 63 (memory allocation): dependency list is empty, creating …
17 …Private(): dctx 53 (global root) - obj 64 (memory allocation): dependency list is empty, creating …
20 …ivate(): dctx 53 (global root) - obj 60 (memory deallocation): dependency list is empty, creating …
23 …ivate(): dctx 53 (global root) - obj 61 (memory deallocation): dependency list is empty, creating …
26 …ivate(): dctx 53 (global root) - obj 62 (memory deallocation): dependency list is empty, creating …
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_pool.py40 warnings: list[CondensedDiags]
41 errors_left: list[CondensedDiags]
42 errors_fixed: list[CondensedDiags]
43 patches: list[PathDiffPair]
75 …def _setup(self: PoolImpl, compiler_flags: list[str], clang_lib: PathLike, clang_options: CXTransl…
90 …def setup(self: PoolImpl, compiler_flags: list[str], clang_lib: Optional[PathLike] = None, clang_o…
169 …def finalize(self: PoolImpl) -> tuple[list[CondensedDiags], list[CondensedDiags], list[CondensedDi…
187 def prune(container: list[_T]) -> list[_T]:
219 workers: list[mp.Process]
310 …def _setup(self, compiler_flags: list[str], clang_lib: PathLike, clang_options: CXTranslationUnit,…
[all …]
H A D_linter.py139 flags: list[str]
145 patches: collections.defaultdict[Path, list[Patch]]
150 …def __init__(self, compiler_flags: list[str], clang_options: Optional[CXTranslationUnit] = None, v…
196 …def _check_duplicate_function_calls(self, processed_funcs: dict[str, list[tuple[Cursor, Scope]]]) …
213 combo: list[str] = [func.displayname]
378 self.patches = collections.defaultdict(list)
672 processed_funcs = collections.defaultdict(list)
767 def coalesce_patches(self) -> list[PathDiffPair]:
775 def combine(filename: Path, patches: list[Patch]) -> PathDiffPair:
777 diffs: list[list[str]] = []
[all …]
/petsc/src/sys/utils/
H A Dstr.c151 PetscErrorCode PetscStrArrayallocpy(const char *const *list, char ***t) in PetscStrArrayallocpy() argument
156 while (list[n++]); in PetscStrArrayallocpy()
158 for (PetscInt i = 0; i < n; i++) PetscCall(PetscStrallocpy(list[i], (*t) + i)); in PetscStrArrayallocpy()
175 PetscErrorCode PetscStrArrayDestroy(char ***list) in PetscStrArrayDestroy() argument
180 if (!*list) PetscFunctionReturn(PETSC_SUCCESS); in PetscStrArrayDestroy()
181 while ((*list)[n]) { in PetscStrArrayDestroy()
182 PetscCall(PetscFree((*list)[n])); in PetscStrArrayDestroy()
185 PetscCall(PetscFree(*list)); in PetscStrArrayDestroy()
208 PetscErrorCode PetscStrNArrayallocpy(PetscInt n, const char *const *list, char ***t) in PetscStrNArrayallocpy() argument
212 for (PetscInt i = 0; i < n; i++) PetscCall(PetscStrallocpy(list[i], (*t) + i)); in PetscStrNArrayallocpy()
[all …]
/petsc/doc/
H A Dbuild_man_impls_links.py24 iclass = list(filter(lambda x: x.find('_p_'+itemName+' ') > -1, implsClassAll))
26 isubclass = list(filter(lambda x: x.find('} '+itemName+'_') > -1, subimplsClassAll))
30 func = list(filter(lambda x: x.find(' '+itemName+'_') > -1, implsFuncAll))
48 …implsClassAll = list(filter(lambda x: not (x.find('/tests/') > -1 or x.find('/tutorials') > -1 or …
51 …subimplsClassAll = list(filter(lambda x: not (x.find('/tests/') > -1 or x.find('/tutorials') > -1)…
54 …implsFuncAll = list(filter(lambda x: not (x.find('_Private') > -1 or x.find('_private') > -1 or x.…
/petsc/src/dm/impls/swarm/
H A Dswarmpic_sort.c22 if (ctx->list) qsort(ctx->list, ctx->npoints, sizeof(SwarmPoint), sort_CompareSwarmPoint); in DMSwarmSortApplyCellIndexSort()
36 PetscCall(PetscMalloc1(1, &ctx->list)); in DMSwarmSortCreate()
64 PetscCall(PetscRealloc(sizeof(SwarmPoint) * npoints, &ctx->list)); in DMSwarmSortSetup()
67 PetscCall(PetscArrayzero(ctx->list, npoints)); in DMSwarmSortSetup()
73 ctx->list[p].point_index = p; in DMSwarmSortSetup()
74 ctx->list[p].cell_index = swarm_cellid[p]; in DMSwarmSortSetup()
80 for (p = 0; p < ctx->npoints; p++) ctx->pcell_offsets[ctx->list[p].cell_index]++; in DMSwarmSortSetup()
104 if (ictx->list) PetscCall(PetscFree(ictx->list)); in DMSwarmSortDestroy()
178 pid_unsorted = ctx->list[pid].point_index; in DMSwarmSortGetPointsPerCell()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py22 def traceback_format_exception(exc: ExceptionKind) -> list[str]:
190 def get_petsc_extra_includes(petsc_dir: Path, petsc_arch: str) -> list[str]:
220 def split_and_strip(line: str) -> list[str]:
231 def filter_flags(flags: list[str], keep_prefix: str) -> Iterable[str]:
234 std_flags = list(filter_flags(raw_cxx_flags, '-std='))
244 def get_clang_sys_includes() -> list[str]:
262 …Path, petsc_arch: str, extra_compiler_flags: Optional[list[str]] = None, verbose: int = 0) -> list
336 …def from_flags(cls, petsc_dir: Path, compiler_flags: list[str], extra_header_includes: Optional[li…
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py41 …path(petsc_dir: Path, src_path: Optional[Union[StrPathLike, Iterable[StrPathLike]]]) -> list[Path]:
48 elif isinstance(src_path, (list, tuple)):
49 src_path = list(map(pl.Path, src_path))
65 def __sanitize_test_output_dir(src_path: list[Path], test_output_dir: Optional[StrPathLike]) -> Opt…
92 …dir: Path, petsc_arch: str, verbose: int, extra_compiler_flags: Optional[list[str]]) -> list[str]:
112 extra_compiler_flags: Optional[list[str]] = None,
113 extra_header_includes: Optional[list[str]] = None,
261 def flatten_diags(diag_list: list[CondensedDiags]) -> str:
307 def __build_arg_parser(parent_parsers: Optional[list[argparse.ArgumentParser]] = None, advanced_hel…
417 check_function_map_keys = list(pl.checks._register.check_function_map.keys())
[all …]
H A Dtest_main.py50 patch_list: list[PathDiffPair],
51 errors_fixed: list[CondensedDiags],
52 errors_left: list[CondensedDiags],
80 def test(generated_output: list[str], reference_file: Path) -> str:
96 def sanitize_output_file(text: Optional[str]) -> list[str]:
99 def sanitize_patch_file(text: Optional[str]) -> list[str]:
/petsc/src/dm/dt/tests/
H A Dex17.c9 PetscDualSpace h_1, h_div, list[2], joint; in main() local
34 list[0] = h_1; in main()
35 list[1] = h_div; in main()
36 PetscCall(PetscDualSpaceCreateSum(2, list, PETSC_FALSE, &joint)); in main()
/petsc/doc/overview/
H A Dtao_solve_table.md8 .. list-table::
76 .. list-table::
160 .. list-table::
212 .. list-table::
240 .. list-table::
268 .. list-table::
/petsc/src/mat/graphops/order/
H A Dqmdupd.c32 …Int *xadj, const PetscInt *adjncy, const PetscInt *nlist, const PetscInt *list, PetscInt *deg, Pet… in SPARSEPACKqmdupd() argument
54 --list; in SPARSEPACKqmdupd()
63 node = list[il]; in SPARSEPACKqmdupd()
84 node = list[il]; in SPARSEPACKqmdupd()

1234567891011