| /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/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
|
| H A D | Mat.pyx | 6152 """Create rigid body modes from coordinates.
|
| /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/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/changes/ |
| H A D | 37.md | 185 damping of high-frequency modes and time adaptivity through a
|
| /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/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/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 3462 (rfg/number-of-fourier-modes 100) 3464 (sngr/number-of-fourier-modes 50) 4660 (dqmom-modes/patch (0)) 4661 (dqmom-modes/default (0)) 5889 (time/adaptive/dt-modes-overwrited? #t)
|