Home
last modified time | relevance | path

Searched refs:nlist (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/objects/
H A Dolist.c31 PetscObjectList nlist; in PetscObjectListRemoveReference() local
37 nlist = *fl; in PetscObjectListRemoveReference()
38 while (nlist) { in PetscObjectListRemoveReference()
39 PetscCall(PetscStrcmp(name, nlist->name, &match)); in PetscObjectListRemoveReference()
41 if (!nlist->skipdereference) PetscCall(PetscObjectDereference(nlist->obj)); in PetscObjectListRemoveReference()
42 nlist->skipdereference = PETSC_TRUE; in PetscObjectListRemoveReference()
45 nlist = nlist->next; in PetscObjectListRemoveReference()
71 PetscObjectList olist, nlist, prev; in PetscObjectListAdd() local
77 nlist = *fl; in PetscObjectListAdd()
79 while (nlist) { in PetscObjectListAdd()
[all …]
H A Daoptions.c230 PetscInt ntext = next->nlist; in PetscOptionsSAWsInput()
603 if (type == OPTION_ELIST) PetscCall(PetscStrNArrayDestroy(next->nlist, (char ***)&next->list)); in PetscOptionsEnd_Private()
662 PetscInt nlist = 0; in PetscOptionsEnumArray_Private() local
672 PetscCall(GetListLength(list, &nlist)); in PetscOptionsEnumArray_Private()
682 for (PetscInt i = 0; i < nlist; ++i) PetscCall((*PetscHelpPrintf)(comm, " %s", list[i])); in PetscOptionsEnumArray_Private()
880 … static_assert(std::is_same<typename std::decay<decltype(amsopt->nlist)>::type, char>::value, ""); in PetscOptionsEList_Private()
882 amsopt->nlist = (char)ntext; in PetscOptionsEList_Private()
/petsc/src/mat/graphops/order/
H A Dqmdupd.c32 PetscErrorCode SPARSEPACKqmdupd(const PetscInt *xadj, const PetscInt *adjncy, const PetscInt *nlist in SPARSEPACKqmdupd() argument
58 if (*nlist <= 0) PetscFunctionReturn(PETSC_SUCCESS); in SPARSEPACKqmdupd()
61 i__1 = *nlist; in SPARSEPACKqmdupd()
82 i__1 = *nlist; in SPARSEPACKqmdupd()
/petsc/src/sys/dll/
H A Ddl.c218 PetscDLLibrary list = NULL, nlist, prev; in PetscDLLibrarySym() local
250 nlist = list; in PetscDLLibrarySym()
251 while (nlist) { in PetscDLLibrarySym()
253 PetscCall(PetscStrcmp(nlist->libname, libname, &match)); in PetscDLLibrarySym()
255 prev = nlist; in PetscDLLibrarySym()
256 nlist = nlist->next; in PetscDLLibrarySym()
259 PetscCall(PetscDLLibraryOpen(comm, path, &nlist)); in PetscDLLibrarySym()
261 if (prev) prev->next = nlist; in PetscDLLibrarySym()
263 if (outlist) *outlist = nlist; in PetscDLLibrarySym()
267 PetscCall(PetscDLSym(nlist->handle, symbol, value)); in PetscDLLibrarySym()
/petsc/src/dm/partitioner/impls/ptscotch/
H A Dpartptscotch.c191 PetscInt nlist = PETSC_STATIC_ARRAY_LENGTH(PTScotchStrategyList); in PetscPartitionerSetFromOptions_PTScotch() local
196 …-petscpartitioner_ptscotch_strategy", "Partitioning strategy", "", slist, nlist, slist[p->strategy… in PetscPartitionerSetFromOptions_PTScotch()
/petsc/include/
H A Dpetscoptions.h115 char nlist; /* number of entries in list */ member