| /petsc/src/binding/petsc4py/docs/source/_templates/autosummary/ |
| H A D | class.rst | 10 {%- for item in ['__new__', '__init__'] %} 11 {%- if item in members and item not in inherited_members %} 15 {%- for item in ['__new__', '__init__'] %} 16 {%- if item in methods %} 17 {%- set dummy = methods.remove(item) %} 21 {%- for item in inherited_members %} 22 {%- if item in methods %} 23 {%- set dummy = methods.remove(item) %} 25 {%- if item in attributes %} 26 {%- set dummy = attributes.remove(item) %} [all …]
|
| H A D | module.rst | 13 {% for item in classes %} 14 {{ item }} 24 {% for item in exceptions %} 25 {{ item }} 35 {% for item in functions %} 36 {{ item }} 46 {% for item in attributes %} 47 {{ item }} 58 {% for item in modules %} 59 {{ item }}
|
| /petsc/src/mat/tests/ |
| H A D | cJSON.c | 99 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON *const item) in cJSON_GetStringValue() argument 101 if (!cJSON_IsString(item)) return NULL; in cJSON_GetStringValue() 103 return item->valuestring; in cJSON_GetStringValue() 106 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON *const item) in cJSON_GetNumberValue() argument 108 if (!cJSON_IsNumber(item)) return (double)NAN; in cJSON_GetNumberValue() 110 return item->valuedouble; in cJSON_GetNumberValue() 217 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() argument 220 while (item != NULL) { in cJSON_Delete() 221 next = item->next; in cJSON_Delete() 222 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) cJSON_Delete(item->child); in cJSON_Delete() [all …]
|
| H A D | cJSON.h | 152 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item); 154 CJSON_PUBLIC(char *) cJSON_PrintUnformatted(const cJSON *item); 156 CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt); 159 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const… 161 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item); 175 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON *const item); 176 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON *const item); 179 CJSON_PUBLIC(cJSON_bool) cJSON_IsInvalid(const cJSON *const item); 180 CJSON_PUBLIC(cJSON_bool) cJSON_IsFalse(const cJSON *const item); 181 CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON *const item); [all …]
|
| H A D | bench_spmv.c | 44 const cJSON *item = NULL; in ParseJSON() local 57 item = cJSON_GetObjectItemCaseSensitive(elem, "filename"); in ParseJSON() 58 filenames[i] = (char *)malloc(sizeof(char) * (strlen(item->valuestring) + 1)); in ParseJSON() 59 strcpy(filenames[i], item->valuestring); in ParseJSON() 61 item = cJSON_GetObjectItemCaseSensitive(problem, "group"); in ParseJSON() 62 groupnames[i] = (char *)malloc(sizeof(char) * strlen(item->valuestring) + 1); in ParseJSON() 63 strcpy(groupnames[i], item->valuestring); in ParseJSON() 64 item = cJSON_GetObjectItemCaseSensitive(problem, "name"); in ParseJSON() 65 matnames[i] = (char *)malloc(sizeof(char) * strlen(item->valuestring) + 1); in ParseJSON() 66 strcpy(matnames[i], item->valuestring); in ParseJSON()
|
| /petsc/lib/petsc/bin/ |
| H A D | tasClasses.py | 38 for item in columnNames: 39 if item == 'Stage': 40 row[item]=stage 41 elif item == 'Max Time': 42 row[item] = '{:.3g}'.format((self.fileData['Times'][stage])) 43 elif item == 'Max Giga Flops': 44 row[item] = '{:.3g}'.format((self.fileData['Flops'][stage])/1000000000) 45 elif item == 'Mean Giga Flops': 46 … row[item] = '{:.3g}'.format((self.fileData['Mean Flops'][stage])/1000000000) 48 row[item]='{:.3g}'.format((self.fileData[item][stage])) [all …]
|
| /petsc/src/sys/classes/bag/ |
| H A D | bag.c | 8 static PetscErrorCode PetscBagRegister_Private(PetscBag bag, PetscBagItem item, const char *name, c… in PetscBagRegister_Private() argument 11 PetscCall(PetscStrncpy(item->name, name, PETSC_BAG_NAME_LENGTH - 1)); in PetscBagRegister_Private() 12 PetscCall(PetscStrncpy(item->help, help, PETSC_BAG_HELP_LENGTH - 1)); in PetscBagRegister_Private() 17 nitem->next = item; in PetscBagRegister_Private() 18 } else bag->bagitems = item; in PetscBagRegister_Private() 44 PetscBagItem item; in PetscBagRegisterEnum() local 67 PetscCall(PetscNew(&item)); in PetscBagRegisterEnum() 68 item->dtype = PETSC_ENUM; in PetscBagRegisterEnum() 69 item->offset = (PetscInt)(((size_t)addr) - ((size_t)bag)); in PetscBagRegisterEnum() 70 …PetscCheck(item->offset <= bag->bagsize, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Registered it… in PetscBagRegisterEnum() [all …]
|
| /petsc/doc/community/ |
| H A D | petsc_team.md | 31 .. grid-item-card:: Mark Adams 35 .. grid-item-card:: Satish Balay 39 .. grid-item-card:: Jed Brown 43 .. grid-item-card:: Lisandro Dalcin 47 .. grid-item-card:: Toby Isaac 51 .. grid-item-card:: Pierre Jolivet 55 .. grid-item-card:: Matthew Knepley 59 .. grid-item-card:: Lois Curfman McInnes 63 .. grid-item-card:: Richard Tran Mills 67 .. grid-item-card:: Todd Munson [all …]
|
| /petsc/src/sys/logging/utils/ |
| H A D | stack.c | 85 PetscErrorCode PetscIntStackPush(PetscIntStack stack, int item) in PetscIntStackPush() argument 93 stack->stack[stack->top] = item; in PetscIntStackPush() 112 PetscErrorCode PetscIntStackPop(PetscIntStack stack, int *item) in PetscIntStackPop() argument 117 if (item) { in PetscIntStackPop() 118 PetscAssertPointer(item, 2); in PetscIntStackPop() 119 PetscCall(PetscIntStackTop(stack, item)); in PetscIntStackPop()
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | SuperLU_DIST.py | 50 for place,item in enumerate(args): 51 if item.find('CMAKE_C_FLAGS') >= 0 or item.find('CMAKE_CXX_FLAGS') >= 0: 52 …args[place]=item[:-1]+' '+self.headers.toString(self.cuda.include)+' -DDEBUGlevel=0 -DPRNTlevel=0"' 62 for place,item in enumerate(args): 63 if item.find('CMAKE_C_FLAGS') >= 0 or item.find('CMAKE_CXX_FLAGS') >= 0: 64 args[place]=item[:-1]+' '+' -DDEBUGlevel=0 -DPRNTlevel=0"'
|
| H A D | SuperLU.py | 53 for place,item in enumerate(args): 54 if item.find('CMAKE_C_FLAGS') >= 0 or item.find('CMAKE_CXX_FLAGS') >= 0: 55 args[place]=item[:-1]+' '+mangledef+'"'
|
| /petsc/src/sys/objects/ |
| H A D | optionsyaml.c | 53 for (yaml_node_item_t *item = SEQ(valnode).start; item < SEQ(valnode).top; item++) { in PetscParseLayerYAML() local 54 yaml_node_t *itemnode = yaml_document_get_node(doc, *item); in PetscParseLayerYAML() 85 for (yaml_node_item_t *item = SEQ(valnode).start; item < SEQ(valnode).top; item++) { in PetscParseLayerYAML() local 86 yaml_node_t *itemnode = yaml_document_get_node(doc, *item); in PetscParseLayerYAML()
|
| /petsc/include/petsc/private/ |
| H A D | sectionimpl.h | 111 #define PetscSectionCheckValid_(description, item, nitems) \ argument 113 …item) >= 0) && ((item) < (nitems)), PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Invalid " descript…
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_optdb.py | 132 self.assertTrue(isinstance(v1.item(), pyt)) 133 self.assertEqual(v1.item(), pyt(v2)) 139 self.assertTrue(isinstance(v1.item(), pyt)) 140 self.assertEqual(v1.item(), pyt(v2)) 146 self.assertTrue(isinstance(v1.item(), pyt)) 147 self.assertEqual(v1.item(), pyt(v2))
|
| H A D | test_snes.py | 13 f[0] = (x[0] * x[0] + x[0] * x[1] - 3.0).item() 14 f[1] = (x[0] * x[1] + x[1] * x[1] - 6.0).item() 20 P[0, 0] = (2.0 * x[0] + x[1]).item() 21 P[0, 1] = (x[0]).item() 22 P[1, 0] = (x[1]).item() 23 P[1, 1] = (x[0] + 2.0 * x[1]).item() 32 f[0] = (x[0] * x[0] + x[0] * x[1] - 3.0 * load).item() 33 f[1] = (x[0] * x[1] + x[1] * x[1] - 6.0 * load).item()
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section_base.py | 691 item = pre.strip() 692 self.items['name'] = (ds.make_source_range(item, line, startline), item) 697 if item := line.strip(): 698 self.items['blurb'].append((ds.make_source_range(item, line, startline), item)) 887 group_args = [item.arg for _, item, _ in group] 892 for loc, item, _ in group: 893 pre = item.prefix 894 arg = item.arg 895 descr = item.description 896 text = item.text [all …]
|
| /petsc/src/sys/tutorials/ |
| H A D | ex3f90.F90 | 34 integer :: item 124 item = rank*(3 - rank) 125 …PetscCallMPIA(MPI_Allreduce(item, maxItem, 1_PETSC_MPIINT_KIND, MPI_INTEGER, MPI_MAX, PETSC_COMM_W… 127 item = rank*(10 - rank) 128 …PetscCallMPIA(MPI_Allreduce(item, maxItem, 1_PETSC_MPIINT_KIND, MPI_INTEGER, MPI_MAX, PETSC_COMM_W…
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _pool.py | 87 def put(self: PoolImpl, item: PathLike) -> None: 188 return [item for item in container if item] 541 def put(self, item: PathLike) -> None: 549 err_left, err_fixed, warnings, patches = self.linter.parse(item).diagnostics()
|
| /petsc/config/BuildSystem/ |
| H A D | help.py | 148 for item in self.sections.items(): 151 if item[0].isupper(): 152 packages.append(item) 154 modules.append(item)
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Options.pyx | 55 def __contains__(self, item): argument 56 return self.hasName(item) 58 def __getitem__(self, item): argument 59 return self.getString(item) 61 def __setitem__(self, item, value): argument 62 self.setValue(item, value) 64 def __delitem__(self, item): argument 65 self.delValue(item)
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | confpetsc.py | 240 def __getitem__(self, item): argument 241 return self.configdict[item] 243 def get(self, item, default=None): argument 244 return self.configdict.get(item, default) 861 def append(seq, item): argument 862 if item not in seq: 863 seq.append(item) 876 for item in seq: 877 if item not in res: 878 res.append(item) [all …]
|
| /petsc/doc/ |
| H A D | build_man_examples_links.py | 41 mdict = dict(sorted(mdict.items(), key=lambda item: len(item[0]), reverse = True))
|
| /petsc/src/sys/utils/ |
| H A D | str.c | 485 const char *item; in PetscStrInList() local 491 PetscCall(PetscTokenFind(token, &item)); in PetscStrInList() 492 while (item) { in PetscStrInList() 493 PetscCall(PetscStrcmp(str, item, found)); in PetscStrInList() 495 PetscCall(PetscTokenFind(token, &item)); in PetscStrInList()
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | test_main.py | 138 file_list = [item for sublist in map(test_path.glob, c_suffixes) for item in sublist]
|
| /petsc/src/ts/tutorials/output/ |
| H A D | fig.tex.out | 16 \item[]}{\end{list}}
|