Searched refs:elist (Results 1 – 2 of 2) sorted by relevance
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _patch.py | 176 elist = weak_ref() 178 if elist is not None: 182 idx = [eid for eid, (_, _, patch_id) in enumerate(elist) if patch_id == self_id] 186 del elist[i] # delete our entry in the error message list
|
| /petsc/src/ts/utils/dmplexlandau/tutorials/ |
| H A D | ex2.c | 537 PetscFunctionList plist = NULL, testlist = NULL, elist = NULL; in ProcessREOptions() local 572 PetscCall(PetscFunctionListAdd(&elist, "none", &ENone)); in ProcessREOptions() 573 PetscCall(PetscFunctionListAdd(&elist, "induction", &EInduction)); in ProcessREOptions() 574 PetscCall(PetscFunctionListAdd(&elist, "constant", &EConstant)); in ProcessREOptions() 588 …PetscCall(PetscOptionsFList("-ex2_e_field_type", "Electric field type", "", elist, ename, ename, s… in ProcessREOptions() 605 PetscCall(PetscFunctionListFind(elist, ename, &rectx->E)); in ProcessREOptions() 609 PetscCall(PetscFunctionListDestroy(&elist)); in ProcessREOptions()
|