Home
last modified time | relevance | path

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

/petsc/src/dm/interface/
H A Ddmget.c316 for (DMNamedVecLink nlink = nnext; nlink; nlink = nnext) { /* Destroy the named vectors */ in DMClearNamedGlobalVectors() local
317 nnext = nlink->next; in DMClearNamedGlobalVectors()
318 …Check(nlink->status == DMVEC_STATUS_IN, ((PetscObject)dm)->comm, PETSC_ERR_ARG_WRONGSTATE, "DM sti… in DMClearNamedGlobalVectors()
319 PetscCall(PetscFree(nlink->name)); in DMClearNamedGlobalVectors()
320 PetscCall(VecDestroy(&nlink->X)); in DMClearNamedGlobalVectors()
321 PetscCall(PetscFree(nlink)); in DMClearNamedGlobalVectors()
346 for (DMNamedVecLink nlink = nnext; nlink; nlink = nnext) { /* Destroy the named vectors */ in DMClearNamedLocalVectors() local
347 nnext = nlink->next; in DMClearNamedLocalVectors()
348 …PetscCheck(nlink->status == DMVEC_STATUS_IN, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "DM still … in DMClearNamedLocalVectors()
349 PetscCall(PetscFree(nlink->name)); in DMClearNamedLocalVectors()
[all …]