Home
last modified time | relevance | path

Searched full:modes (Results 1 – 25 of 43) sorted by relevance

12

/petsc/src/sys/objects/device/tests/
H A Dex11.cxx40 …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 Ddevice.c294 …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 Dex5_1.out5 modes_x = 2 ; Number of modes in x-direction
18 modes_x = 2 ; Number of modes in x-direction
H A Dex5_yaml.out5 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 Dbag.yml5 modes:
H A Dex5.c77 PetscCall(PetscBagRegisterInt(bag, &params->Ii, 2, "modes_x", "Number of modes in x-direction")); in main()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DConst.pyx50 Most commonly used insertion modes are:
88 Most commonly used scatter modes are:
H A DDevice.pyx418 >>> # we can mix various join modes
/petsc/config/examples/
H A Darch-ci-linux-sycl-double.py21 # to false in fast floating point modes [-Wtautological-constant-compare]
/petsc/src/sys/objects/device/interface/
H A Dmark_dcontext.cxx359 …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 Dpetscfe.h27 // 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 Dpetscsf.h97 PetscSFConcatenateRootMode - Modes of root concatenation when concatenating `PetscSF`s
/petsc/src/ksp/ksp/tests/
H A Dlostnullspace.c83 PetscCall(PetscStrcat(datafile, "rigid-modes.bin")); in main()
/petsc/doc/changes/
H A D37.md185 damping of high-frequency modes and time adaptivity through a
/petsc/src/snes/tutorials/
H A Dex20.c15 - Show lowest modes
H A Dex17.c56 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 Dex77.c355 …/* 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 Dksp.md1203 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 Dex8.c138 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 Ddmlabel.c2665 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 Dplexgeometry.c3731 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 Dinstall.md213 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 Ddmfield.c435 For some modes, the normal vectors and adjacent cells are calculated
/petsc/src/mat/interface/
H A Dmatnull.c67 MatNullSpaceCreateRigidBody - create rigid body modes from coordinates
/petsc/src/vec/vec/utils/
H A Dvscat.c1265 - 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…

12