| /petsc/src/snes/tutorials/ |
| H A D | ex28.c | 34 DM pack; member 75 PetscCall(DMCompositeGetEntries(user->pack, &dau, &dak)); in FormFunction_All() 78 PetscCall(DMCompositeGetLocalVectors(user->pack, &Uloc, &Kloc)); in FormFunction_All() 103 PetscCall(DMCompositeScatter(user->pack, X, Uloc, Kloc)); in FormFunction_All() 106 PetscCall(DMCompositeGetAccess(user->pack, F, &Fu, &Fk)); in FormFunction_All() 113 PetscCall(DMCompositeRestoreAccess(user->pack, F, &Fu, &Fk)); in FormFunction_All() 118 PetscCall(DMCompositeRestoreLocalVectors(user->pack, &Uloc, &Kloc)); in FormFunction_All() 207 PetscCall(DMCompositeGetEntries(user->pack, &dau, &dak)); in FormJacobian_All() 210 PetscCall(DMCompositeGetLocalVectors(user->pack, &Uloc, &Kloc)); in FormJacobian_All() 234 PetscCall(DMCompositeScatter(user->pack, X, Uloc, Kloc)); in FormJacobian_All() [all …]
|
| /petsc/src/ts/utils/dmplexlandau/tutorials/ |
| H A D | ex2.c | 155 DM pack, plexe = ctx->plex[0], plexi = (ctx->num_grids == 1) ? NULL : ctx->plex[1]; in testSpitzer() local 160 PetscCall(VecGetDM(X, &pack)); in testSpitzer() 161 PetscCheck(pack, PETSC_COMM_SELF, PETSC_ERR_PLIB, "no DM"); in testSpitzer() 162 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); in testSpitzer() 165 PetscCall(DMCompositeGetAccessArray(pack, X, nDMs, NULL, XsubArray)); // read only in testSpitzer() 214 PetscCall(DMCompositeRestoreAccessArray(pack, X, nDMs, NULL, XsubArray)); // read only in testSpitzer() 371 DM pack; in FormSource() local 375 PetscCall(TSGetDM(ts, &pack)); in FormSource() 376 PetscCall(DMGetApplicationContext(pack, &ctx)); in FormSource() 395 … PetscCall(DMCompositeGetAccessArray(pack, F, ctx->num_grids * ctx->batch_sz, NULL, globFarray)); in FormSource() [all …]
|
| H A D | ex1.c | 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() [all …]
|
| /petsc/src/ts/tests/ |
| H A D | ex30.c | 374 DM pack; in PostStep() local 385 PetscCall(TSGetDM(ts, &pack)); in PostStep() 386 PetscCall(DMGetDimension(pack, &dim)); in PostStep() 387 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); // number of vertices * number of grids in PostStep() 391 PetscCall(DMCompositeGetAccessArray(pack, X, nDMs, NULL, printCtx->globXArray)); in PostStep() 455 PetscCall(DMCompositeRestoreAccessArray(pack, X, nDMs, NULL, printCtx->globXArray)); in PostStep() 461 DM pack, *globSwarmArray, grid_dm[LANDAU_MAX_GRIDS]; in go() local 480 PetscCall(TSGetDM(ts, &pack)); in go() 481 PetscCall(DMGetApplicationContext(pack, &ctx)); in go() 483 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); // number of vertices * number of grids in go() [all …]
|
| /petsc/systems/Apple/OSX/bin/ |
| H A D | makedmg | 12 rm -rf pack.temp.dmg tempsource ${PETSC_DIR}/PETSc-OSX.dmg 29 …ource -volname PETSc -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW -size ${size}k pack.temp.dmg 54 rm -rf pack.temp.dmg tempsource
|
| /petsc/systems/Apple/iOS/bin/ |
| H A D | makedmg | 12 rm -rf pack.temp.dmg tempsource ${PETSC_DIR}/PETSc-iOS.dmg 34 …ource -volname PETSc -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW -size ${size}k pack.temp.dmg 59 rm -rf pack.temp.dmg tempsource
|
| /petsc/src/ts/tutorials/ |
| H A D | ex14.c | 685 static PetscErrorCode THIInitial(THI thi, DM pack, Vec X) in THIInitial() argument 695 PetscCall(DMCompositeGetEntries(pack, &da3, &da2)); in THIInitial() 696 PetscCall(DMCompositeGetAccess(pack, X, &X3g, &X2g)); in THIInitial() 725 PetscCall(DMCompositeRestoreAccess(pack, X, &X3g, &X2g)); in THIInitial() 897 DM pack, da3, da2; in THIFunction() local 906 PetscCall(TSGetDM(ts, &pack)); in THIFunction() 907 PetscCall(DMCompositeGetEntries(pack, &da3, &da2)); in THIFunction() 909 PetscCall(DMCompositeGetLocalVectors(pack, &X3, &X2)); in THIFunction() 910 PetscCall(DMCompositeGetLocalVectors(pack, &Xdot3, &Xdot2)); in THIFunction() 911 PetscCall(DMCompositeScatter(pack, X, X3, X2)); in THIFunction() [all …]
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 135 DM pack; in LandauFormJacobian_Internal() local 136 PetscCall(VecGetDM(a_X, &pack)); in LandauFormJacobian_Internal() 137 PetscCheck(pack, PETSC_COMM_SELF, PETSC_ERR_PLIB, "pack has no DM"); in LandauFormJacobian_Internal() 154 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); in LandauFormJacobian_Internal() 160 PetscCall(DMCompositeGetLocalAccessArray(pack, a_X, nDMs, NULL, locXArray)); in LandauFormJacobian_Internal() 161 PetscCall(DMCompositeGetAccessArray(pack, a_X, nDMs, NULL, globXArray)); in LandauFormJacobian_Internal() 181 PetscCall(DMCompositeRestoreLocalAccessArray(pack, a_X, nDMs, NULL, locXArray)); in LandauFormJacobian_Internal() 182 PetscCall(DMCompositeRestoreAccessArray(pack, a_X, nDMs, NULL, globXArray)); in LandauFormJacobian_Internal() 589 …CreateVMeshes(MPI_Comm comm_self, const PetscInt dim, const char prefix[], LandauCtx *ctx, DM pack) in LandauDMCreateVMeshes() argument 723 PetscCall(DMSetOptionsPrefix(pack, prefix)); in LandauDMCreateVMeshes() [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex125.c | 62 char pack[PETSC_MAX_PATH_LEN]; in main() local 232 PetscCall(PetscOptionsGetString(NULL, NULL, "-mat_solver_type", pack, sizeof(pack), NULL)); in main() 234 PetscCall(PetscStrcmp(MATSOLVERSUPERLU, pack, &match)); in main() 245 PetscCall(PetscStrcmp(MATSOLVERSUPERLU_DIST, pack, &match)); in main() 263 PetscCall(PetscStrcmp(MATSOLVERMUMPS, pack, &match)); in main() 290 PetscCall(PetscStrcmp(MATSOLVERMKL_PARDISO, pack, &match)); in main() 304 PetscCall(PetscStrcmp(MATSOLVERCUSPARSE, pack, &match)); in main()
|
| H A D | ex30.c | 25 char pack[PETSC_MAX_PATH_LEN]; in main() local 101 PetscCall(PetscOptionsGetString(NULL, NULL, "-mat_solver_type", pack, sizeof(pack), NULL)); in main() 103 PetscCall(PetscStrcmp(MATSOLVERMKL_PARDISO, pack, &use_mkl_pardiso)); in main()
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkos.kokkos.cxx | 785 DM pack, *subDM = NULL; in PCSetUp_BJKOKKOS() local 818 PetscCall(PCGetDM(pc, &pack)); in PCSetUp_BJKOKKOS() 819 if (pack) { in PCSetUp_BJKOKKOS() 820 PetscCall(PetscObjectTypeCompare((PetscObject)pack, DMCOMPOSITE, &flg)); in PCSetUp_BJKOKKOS() 822 PetscCall(DMCompositeGetNumberDM(pack, &nDMs)); in PCSetUp_BJKOKKOS() 823 PetscCall(DMCreateGlobalVector(pack, &jac->vec_diag)); in PCSetUp_BJKOKKOS() 824 } else pack = NULL; // flag for no DM in PCSetUp_BJKOKKOS() 915 if (pack) { in PCSetUp_BJKOKKOS() 921 if (pack) PetscCall(DMCompositeGetEntriesArray(pack, subDM)); in PCSetUp_BJKOKKOS() 941 if (pack) PetscCall(DMCompositeGetAccessArray(pack, jac->vec_diag, nDMs, NULL, subX)); in PCSetUp_BJKOKKOS() [all …]
|
| /petsc/src/mat/impls/sbaij/seq/cholmod/ |
| H A D | sbaijcholmod.c | 79 chol->pack = (PetscBool)c->final_pack; in CholmodSetOptions() 80 …actorization [disable for frequent repeat factorization]", "None", chol->pack, &chol->pack, NULL)); in CholmodSetOptions() 81 c->final_pack = (int)chol->pack; in CholmodSetOptions() 311 …IIPrintf(viewer, "Pack factors after symbolic factorization: %s\n", chol->pack ? "TRUE" : "FALSE")… in MatView_Info_CHOLMOD() 455 err = !cholmod_X_resymbol(&cholA, fset, fsize, (int)chol->pack, chol->factor, chol->common); in MatCholeskyFactorSymbolic_CHOLMOD()
|
| H A D | cholmodimpl.h | 54 PetscBool pack; member
|
| /petsc/include/ |
| H A D | petsclandau.h | 183 DM pack; member
|
| /petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/ |
| H A D | project.pbxproj | 391 …D89D1E00207AA1AB00FACC19 /* pack.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1B18207AA1AA… 1143 …D1B18207AA1AA00FACC19 /* pack.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1914 D89D1B18207AA1AA00FACC19 /* pack.c */, 3033 D89D1E00207AA1AB00FACC19 /* pack.c in Sources */,
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 1964 (dpm/dpm-vof/close-packing/threshold-frac-pack-lim-vof 0.985) 1974 (dpm/dpm-vof/static-pileup/pack-flag-grad/threshold 0.1) 1975 (dpm/dpm-vof/static-pileup/pack-flag-grad/smooth/num 2) 1976 (dpm/dpm-vof/static-pileup/pack-flag-grad/node-based-lsq? #t) 1977 (dpm/dpm-vof/static-pileup/pack-flag-grad/node-based-deriv? #t) 1992 (dpm/dpm-vof/gran-pack/max-vof-extra 0.) 7603 (parallel/case-read-use-pack? #t)
|