Lines Matching refs:pack
242 DM pack; in Monitor() local
245 PetscCall(TSGetDM(ts, &pack)); in Monitor()
246 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); in Monitor()
250 PetscCall(PetscInfo(pack, "ex1 plot step %" PetscInt_FMT ", time = %g\n", id, (double)time)); in Monitor()
252 PetscCall(DMCompositeGetAccessArray(pack, X, nDMs, NULL, XsubArray)); // read only in Monitor()
294 PetscCall(DMCompositeRestoreAccessArray(pack, X, nDMs, NULL, XsubArray)); in Monitor()
329 DM pack; in main() local
361 PetscCall(DMPlexLandauCreateVelocitySpace(PETSC_COMM_SELF, dim, "", &X, &J, &pack)); in main()
362 PetscCall(DMSetUp(pack)); in main()
363 PetscCall(DMGetApplicationContext(pack, &ctx)); in main()
366 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); in main()
369 PetscCall(DMCompositeGetAccessArray(pack, X, nDMs, NULL, XsubArray)); // read only in main()
379 PetscCall(DMCompositeRestoreAccessArray(pack, X, nDMs, NULL, XsubArray)); in main()
388 PetscCall(TSSetDM(ts, pack)); in main()
407 PetscCall(DMPlexLandauAccess(pack, X, landau_field_print_access_callback, NULL)); in main()
435 PetscCall(DMPlexLandauDestroyVelocitySpace(&pack)); in main()