Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 44) sorted by relevance

12

/petsc/src/binding/petsc4py/conf/
H A Dcyautodoc.py99 if not hide_self or not arg.entry.is_self_arg:
200 if node.entry.is_special:
222 doc_holder = node.entry
227 old_doc = node.py_func.entry.doc
233 node.py_func.entry.doc = EncodedString(new_doc)
250 if node.entry.doc is not None:
251 old_doc = node.entry.doc
253 old_doc = node.py_func.entry.doc
257 node.entry.doc = EncodedString(new_doc)
260 py_func.entry.doc = EncodedString(new_doc)
[all …]
/petsc/src/dm/interface/
H A Ddmgenerate.c104 DMGeneratorFunctionList entry; in DMGenerateRegister() local
107 PetscCall(PetscNew(&entry)); in DMGenerateRegister()
108 PetscCall(PetscStrallocpy(sname, &entry->name)); in DMGenerateRegister()
109 entry->generate = fnc; in DMGenerateRegister()
110 entry->refine = rfnc; in DMGenerateRegister()
111 entry->adapt = alfnc; in DMGenerateRegister()
112 entry->dim = dim; in DMGenerateRegister()
113 entry->next = NULL; in DMGenerateRegister()
114 if (!DMGenerateList) DMGenerateList = entry; in DMGenerateRegister()
118 fl->next = entry; in DMGenerateRegister()
/petsc/src/snes/tutorials/output/
H A Dex3_4.out7 Altering entry 0: x=0., x_last=0., diff=2., x_new=0.
8 Altering entry 1: x=0.0155991, x_last=0.0013819, diff=1.08859, x_new=0.00710858
11 Altering entry 0: x=0., x_last=0., diff=2., x_new=0.
14 Altering entry 0: x=0., x_last=0., diff=2., x_new=0.
/petsc/include/petsc/private/
H A Dhashset.txt167 PetscHSet<T>Has - Query for an entry in the hash set
175 - key - The entry
178 . has - Boolean indicating whether the entry is in the hash set
186 PetscHSet<T>Add - Set an entry in the hash set
194 - key - The entry
202 PetscHSet<T>Del - Remove an entry from the hash set
210 - key - The entry
218 PetscHSet<T>QueryAdd - Query and add an entry in the hash set
226 - key - The entry
229 . missing - Boolean indicating whether the entry was missing
[all …]
H A Dmatimpl.h886 …Private(PetscBool assume_sorted, PetscInt k, PetscInt idx_start, PetscInt entry, PetscInt *PETSC_R… in PetscLLInsertLocation_Private() argument
892 if (!assume_sorted && k && entry < *lnkdata) *lnkdata = idx_start; in PetscLLInsertLocation_Private()
897 } while (entry > *lnkdata); in PetscLLInsertLocation_Private()
899 lnk[location] = entry; in PetscLLInsertLocation_Private()
900 lnk[entry] = *lnkdata; in PetscLLInsertLocation_Private()
902 *lnkdata = entry; /* next search starts from here if next_entry > entry */ in PetscLLInsertLocation_Private()
911 const PetscInt entry = indices[k]; in PetscLLAdd_Private() local
913 …if (!PetscBTLookupSet(bt, entry)) PetscCall(PetscLLInsertLocation_Private(assume_sorted, k, idx_st… in PetscLLAdd_Private()
977 const PetscInt entry = perm[indices[k]]; in PetscLLAddPerm() local
979 …if (!PetscBTLookupSet(bt, entry)) PetscCall(PetscLLInsertLocation_Private(PETSC_FALSE, k, idx_star… in PetscLLAddPerm()
[all …]
H A Dlogimpl.h119 …C_UNUSED PetscErrorCode PetscLog##Container##Get(PetscLog##Container a, PetscInt i, Entry *entry) \
123 *entry = a->array[i]; \
126 …USED PetscErrorCode PetscLog##Container##GetRef(PetscLog##Container a, PetscInt i, Entry **entry) \
130 *entry = &a->array[i]; \
133 …SC_UNUSED PetscErrorCode PetscLog##Container##Set(PetscLog##Container a, PetscInt i, Entry entry) \
137 a->array[i] = entry; \
H A Dhashmap.txt233 PetscHMap<T>Set - Set a (key,value) entry in the hash table
251 PetscHMap<T>SetWithMode - Set a (key,value) entry in the hash table according to an `InsertMode`
268 - `ADD_VALUES`\: if `key` is found `val` is added to the current entry, otherwise (`key`, `value`)
271 current entry, otherwise (`key`, `value`) is inserted into `ht` as-if-by
274 current entry, otherwise (`key`, `value`) is inserted into `ht` as-if-by
305 PetscHMap<T>QuerySet - Query and set a (key,value) entry in the hash table
325 PetscHMap<T>QueryDel - Query and remove a (key,value) entry from the hash table
/petsc/src/sys/dll/
H A Ddl.c124 PetscErrorCode PetscDLLibraryOpen(MPI_Comm comm, const char path[], PetscDLLibrary *entry) in PetscDLLibraryOpen() argument
135 PetscAssertPointer(entry, 3); in PetscDLLibraryOpen()
137 *entry = NULL; in PetscDLLibraryOpen()
183 PetscCall(PetscNew(entry)); in PetscDLLibraryOpen()
184 (*entry)->next = NULL; in PetscDLLibraryOpen()
185 (*entry)->handle = handle; in PetscDLLibraryOpen()
186 PetscCall(PetscStrncpy((*entry)->libname, libname, sizeof((*entry)->libname))); in PetscDLLibraryOpen()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DError.pyx32 for entry in self._traceback:
33 tbline = '[%*d] %s' % (width, rank, entry)
H A DDMComposite.pyx81 cdef DM entry = None
84 entry = subtype_DM(cdms[i])()
85 entry.dm = cdms[i]
86 CHKERR(PetscINCREF(entry.obj))
87 entries.append(entry)
H A DVec.pyx2195 """Return the vector entry with minimum real part and its location.
2218 """Return the vector entry with maximum real part and its location.
2260 """Replace each entry in the vector by its reciprocal.
2272 """Replace each entry (xₙ) in the vector by exp(xₙ).
2284 """Replace each entry in the vector by its natural logarithm.
2296 """Replace each entry (xₙ) in the vector by √|xₙ|.
2308 """Replace each entry (xₙ) in the vector by abs|xₙ|.
2422 This method sets each entry (xₙ) in the vector to ɑ·xₙ.
2442 This method sets each entry (xₙ) in the vector to xₙ + ɑ.
/petsc/doc/manualpages/doctext/
H A Dnroff.def4 # Doc2lt single line entry?
15 # .IX arg arg .... - index entry
H A Dhtmltabl.def4 # Doc2lt single line entry
H A Dlatex.def4 # Doc2lt single line entry
H A Dhtml.def12 # Doc2lt single line entry
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx203 for (const auto &entry : map) { in PetscDeviceRegisterMemory_Private() local
204 auto &&attr = entry.second; in PetscDeviceRegisterMemory_Private()
207 …PetscCheck(!tmp.contains(ptr, entry.first), PETSC_COMM_SELF, PETSC_ERR_ORDER, "Trying to register … in PetscDeviceRegisterMemory_Private()
208 entry.first, PetscMemTypeToString(attr.mtype), attr.size); in PetscDeviceRegisterMemory_Private()
/petsc/src/binding/petsc4py/test/
H A Druntests.py237 for entry in components:
238 writeln(getlibraryinfo(entry))
239 writeln(getpackageinfo('%s4py' % entry.lower()))
/petsc/src/sys/logging/state/
H A Dlogregistry.c4 static inline PETSC_UNUSED PetscErrorCode PetscLog##Container##Destructor(Entry *entry) \
7 PetscCall(PetscFree(entry->name)); \
13 …static inline PETSC_UNUSED PetscErrorCode PetscLog##Container##Equal(Entry *entry, const char *nam…
16 PetscCall(PetscStrcmp(entry->name, name, is_equal)); \
/petsc/share/petsc/matlab/
H A DPetscBagRead.m47 warning('Bag entry %s could not be read',name);
/petsc/src/sys/tests/
H A Dex64.cxx189 …for (auto &&entry : map) PetscCallCXX(oss << " key: [" << this->key_printer(entry.first) << "] … in view_map()
/petsc/doc/changes/
H A D2016.md54 correct entries, so PETSc need not ship over the duplicate entry
H A D324.md129 - Rename `SNESLineSearchL2` to `SNESLineSearchSecant` (and hence its option entry `snes_linesearch_…
/petsc/src/mat/impls/shell/
H A Dshell.c795 MatShellMatFunctionList entry = matmat; in MatShellSetMatProductOperation_Private() local
796 while (entry) { in MatShellSetMatProductOperation_Private()
797 PetscCall(PetscStrcmp(composedname, entry->composedname, &flg)); in MatShellSetMatProductOperation_Private()
798 flg = (PetscBool)(flg && (entry->ptype == ptype)); in MatShellSetMatProductOperation_Private()
799 matmat = entry; in MatShellSetMatProductOperation_Private()
801 entry = entry->next; in MatShellSetMatProductOperation_Private()
/petsc/lib/petsc/bin/maint/
H A Dcheck_header_guard.py51 entry = ret.pop(idx)
/petsc/doc/manual/
H A Dregressor.md22 predict a vector of "target" values $y$ (of size $n_{samples}$), where the $i$th entry of $y$

12