| /petsc/src/sys/objects/device/tests/ |
| H A D | ex11.cxx | 40 …td::size_t nkeys, const PetscObjectId *keys, const PetscMemoryAccessMode *modes, const std::size_t… in MarkedObjectMapView() argument 54 …ll(PetscViewerASCIISynchronizedPrintf(vwr, "mode: %s\n", PetscMemoryAccessModeToString(modes[i]))); in MarkedObjectMapView() 74 …td::size_t nkeys, const PetscObjectId *keys, const PetscMemoryAccessMode *modes, const std::size_t… in CheckMarkedObjectMap_Private() argument 89 PetscCall(MarkedObjectMapView(vwr, nkeys, keys, modes, ndeps, dependencies)); in CheckMarkedObjectMap_Private() 95 …__cond__)), PetscStringize(__cond__), PETSC_COMM_SELF, dctx, nkeys, keys, modes, ndeps, const_cast… 119 PetscMemoryAccessMode *modes; in TestAllCombinations() local 126 PetscCall(PetscGetMarkedObjectMap_Internal(&nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations() 148 …tscCall(CheckMarkedObjectMap(modes[key_idx] == mode, "unexpected mode %s, expected %s", PetscMemor… in TestAllCombinations() 167 … PetscCall(PetscRestoreMarkedObjectMap_Internal(nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations() 170 PetscCall(PetscGetMarkedObjectMap_Internal(&nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations() [all …]
|
| /petsc/src/sys/objects/device/c/ |
| H A D | device.c | 294 …Map_Internal(size_t *nkeys, PetscObjectId **keys, PetscMemoryAccessMode **modes, size_t **ndeps, P… in PetscGetMarkedObjectMap_Internal() argument 299 PetscAssertPointer(modes, 3); in PetscGetMarkedObjectMap_Internal() 304 *modes = NULL; in PetscGetMarkedObjectMap_Internal() 310 …, PETSC_UNUSED PetscObjectId **keys, PETSC_UNUSED PetscMemoryAccessMode **modes, PETSC_UNUSED size… in PetscRestoreMarkedObjectMap_Internal() argument 314 PetscAssertPointer(modes, 3); in PetscRestoreMarkedObjectMap_Internal() 318 if (*modes) *modes = NULL; in PetscRestoreMarkedObjectMap_Internal()
|
| /petsc/src/sys/tutorials/output/ |
| H A D | ex5_1.out | 5 modes_x = 2 ; Number of modes in x-direction 18 modes_x = 2 ; Number of modes in x-direction
|
| H A D | ex5_yaml.out | 5 modes_x = 2 ; Number of modes in x-direction 18 modes_x = 2 ; Number of modes in x-direction
|
| /petsc/src/sys/tutorials/ |
| H A D | bag.yml | 5 modes:
|
| H A D | ex5.c | 77 PetscCall(PetscBagRegisterInt(bag, ¶ms->Ii, 2, "modes_x", "Number of modes in x-direction")); in main()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Const.pyx | 50 Most commonly used insertion modes are: 88 Most commonly used scatter modes are:
|
| H A D | Device.pyx | 418 >>> # we can mix various join modes
|
| /petsc/config/examples/ |
| H A D | arch-ci-linux-sycl-double.py | 21 # to false in fast floating point modes [-Wtautological-constant-compare]
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 359 …nternal(std::size_t *nkeys, PetscObjectId **keys, PetscMemoryAccessMode **modes, std::size_t **nde… in PetscGetMarkedObjectMap_Internal() argument 366 PetscCall(PetscMalloc4(size, keys, size, modes, size, ndeps, size, dependencies)); in PetscGetMarkedObjectMap_Internal() 372 (*modes)[i] = it.second.mode; in PetscGetMarkedObjectMap_Internal() 382 …Internal(std::size_t nkeys, PetscObjectId **keys, PetscMemoryAccessMode **modes, std::size_t **nde… in PetscRestoreMarkedObjectMap_Internal() argument 386 PetscCall(PetscFree4(*keys, *modes, *ndeps, *dependencies)); in PetscRestoreMarkedObjectMap_Internal()
|
| /petsc/include/ |
| H A D | petscfe.h | 27 // We can represent several different types of geometry, which we call modes: 37 // For all modes, the transforms between real and reference are affine
|
| H A D | petscsf.h | 97 PetscSFConcatenateRootMode - Modes of root concatenation when concatenating `PetscSF`s
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | lostnullspace.c | 83 PetscCall(PetscStrcat(datafile, "rigid-modes.bin")); in main()
|
| /petsc/doc/changes/ |
| H A D | 37.md | 185 damping of high-frequency modes and time adaptivity through a
|
| /petsc/src/snes/tutorials/ |
| H A D | ex20.c | 15 - Show lowest modes
|
| H A D | ex17.c | 56 PetscBool useNearNullspace; /* Use the rigid body modes as a near nullspace for AMG */ 360 …PetscCall(PetscOptionsBool("-near_nullspace", "Use the rigid body modes as an AMG near nullspace",… in ProcessOptions()
|
| H A D | ex77.c | 355 …/* Set up the near null space (a.k.a. rigid body modes) that will be used by the multigrid precond… in SetupNearNullSpace()
|
| /petsc/doc/manual/ |
| H A D | ksp.md | 1203 body modes). For elasticity, where rotational rigid body modes are 1387 …roduce pairs of coarse/fine functions which should approximate the lowest modes of the generalized… 1397 …ace contributions. Thus, it is less accurate than injection, but avoids aliasing of the high modes. 1399 …ncy functions are. They are the Fourier modes. However an arbitrary operator $A$ will have differe… 1559 non-singular modes. As an example, the rigid body modes represent an
|
| /petsc/src/snes/tests/ |
| H A D | ex8.c | 138 PetscInt K; /* Number of coarse modes used for optimization */ 389 …PetscCall(PetscOptionsInt("-K", "The number of coarse modes used in optimization", "ex8.c", option… in ProcessOptions() 587 /* Project coarse modes into initial and final FE function space */ in CheckTransfer()
|
| /petsc/src/dm/label/ |
| H A D | dmlabel.c | 2665 PetscCopyMode *modes; member 2680 if (sl->modes[i] == PETSC_OWN_POINTER || sl->modes[i] == PETSC_COPY_VALUES) { in PetscSectionSymLabelReset() 2697 PetscCall(PetscFree5(sl->modes, sl->sizes, sl->perms, sl->rots, sl->minMaxOrients)); in PetscSectionSymLabelReset() 2815 …PetscCall(PetscMalloc5(sl->numStrata + 1, &sl->modes, sl->numStrata + 1, &sl->sizes, sl->numStrata… in PetscSectionSymLabelSetLabel() 2816 PetscCall(PetscMemzero((void *)sl->modes, (sl->numStrata + 1) * sizeof(PetscCopyMode))); in PetscSectionSymLabelSetLabel() 2922 sl->modes[i] = mode; in PetscSectionSymLabelSetStratum()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 3731 PetscReal *invV, *modes; in DMPlexCoordinatesToReference_FE() local 3743 PetscCall(DMGetWorkArray(dm, pdim, MPIU_REAL, &modes)); in DMPlexCoordinatesToReference_FE() 3746 modes[i] = 0.; in DMPlexCoordinatesToReference_FE() 3747 for (j = 0; j < pdim; ++j) modes[i] += invV[i * pdim + j] * PetscRealPart(nodes[j]); in DMPlexCoordinatesToReference_FE() 3766 resNeg[l] -= modes[k] * B[k * Nc + l]; in DMPlexCoordinatesToReference_FE() 3767 for (m = 0; m < dimR; m++) J[l * dimR + m] += modes[k] * D[(k * Nc + l) * dimR + m]; in DMPlexCoordinatesToReference_FE() 3786 PetscCall(DMRestoreWorkArray(dm, pdim, MPIU_REAL, &modes)); in DMPlexCoordinatesToReference_FE() 3796 PetscReal *invV, *modes; in DMPlexReferenceToCoordinates_FE() local 3806 PetscCall(DMGetWorkArray(dm, pdim, MPIU_REAL, &modes)); in DMPlexReferenceToCoordinates_FE() 3809 modes[i] = 0.; in DMPlexReferenceToCoordinates_FE() [all …]
|
| /petsc/doc/install/ |
| H A D | install.md | 213 The following modes can be used to download/install {ref}`external packages 268 - Generally one would use either one of the above installation modes for any given
|
| /petsc/src/dm/field/interface/ |
| H A D | dmfield.c | 435 For some modes, the normal vectors and adjacent cells are calculated
|
| /petsc/src/mat/interface/ |
| H A D | matnull.c | 67 MatNullSpaceCreateRigidBody - create rigid body modes from coordinates
|
| /petsc/src/vec/vec/utils/ |
| H A D | vscat.c | 1265 - mode - the scattering mode, usually `SCATTER_FORWARD`. The available modes are: `SCATTER_FORWARD… 1342 - mode - the scattering mode, usually `SCATTER_FORWARD`. The available modes are: `SCATTER_FORWARD…
|