Home
last modified time | relevance | path

Searched refs:DMGetWorkArray (Results 1 – 25 of 36) sorted by relevance

12

/petsc/src/dm/dt/fe/impls/composite/
H A Dfecomposite.c42 PetscCall(DMGetWorkArray(K, dim, MPIU_REAL, &subpoint)); in PetscFESetUp_Composite()
124 PetscCall(DMGetWorkArray(dm, npoints, MPIU_INT, &subpoints)); in PetscFEComputeTabulation_Composite()
125 PetscCall(DMGetWorkArray(dm, dim, MPIU_REAL, &subpoint)); in PetscFEComputeTabulation_Composite()
145 if (K >= 0) PetscCall(DMGetWorkArray(dm, npoints * spdim, MPIU_REAL, &tmpB)); in PetscFEComputeTabulation_Composite()
146 if (K >= 1) PetscCall(DMGetWorkArray(dm, npoints * spdim * dim, MPIU_REAL, &tmpD)); in PetscFEComputeTabulation_Composite()
147 if (K >= 2) PetscCall(DMGetWorkArray(dm, npoints * spdim * dim * dim, MPIU_REAL, &tmpH)); in PetscFEComputeTabulation_Composite()
/petsc/src/dm/dt/space/impls/subspace/
H A Dspacesubspace.c107 PetscCall(DMGetWorkArray(sp->dm, npoints * origDim, MPIU_REAL, &inpoints)); in PetscSpaceEvaluate_Subspace()
122 if (B) PetscCall(DMGetWorkArray(sp->dm, npoints * origNb * origNc, MPIU_REAL, &inB)); in PetscSpaceEvaluate_Subspace()
123 if (D) PetscCall(DMGetWorkArray(sp->dm, npoints * origNb * origNc * origDim, MPIU_REAL, &inD)); in PetscSpaceEvaluate_Subspace()
124 …if (H) PetscCall(DMGetWorkArray(sp->dm, npoints * origNb * origNc * origDim * origDim, MPIU_REAL, … in PetscSpaceEvaluate_Subspace()
129 PetscCall(DMGetWorkArray(sp->dm, origNc * origDim * origDim, MPIU_REAL, &phi)); in PetscSpaceEvaluate_Subspace()
130 PetscCall(DMGetWorkArray(sp->dm, origNc * subDim * subDim, MPIU_REAL, &psi)); in PetscSpaceEvaluate_Subspace()
178 PetscCall(DMGetWorkArray(sp->dm, origNc * origDim, MPIU_REAL, &phi)); in PetscSpaceEvaluate_Subspace()
179 PetscCall(DMGetWorkArray(sp->dm, origNc * subDim, MPIU_REAL, &psi)); in PetscSpaceEvaluate_Subspace()
221 PetscCall(DMGetWorkArray(sp->dm, origNc, MPIU_REAL, &phi)); in PetscSpaceEvaluate_Subspace()
/petsc/src/dm/impls/plex/tests/
H A Dex22.c15 PetscCall(DMGetWorkArray(dm, dimR * numPoints, MPIU_REAL, &preimage)); in testIdentity()
16 PetscCall(DMGetWorkArray(dm, dimC * numPoints, MPIU_REAL, &mapped)); in testIdentity()
17 PetscCall(DMGetWorkArray(dm, dimR * numPoints, MPIU_REAL, &inverted)); in testIdentity()
/petsc/src/dm/dt/fe/tests/
H A Dex2.c207 PetscCall(DMGetWorkArray(dm, Np * Nb * Nc, MPIU_REAL, &B)); in TestEvaluation()
208 PetscCall(DMGetWorkArray(dm, Np * Nb * Nc * dim, MPIU_REAL, &D)); in TestEvaluation()
209 PetscCall(DMGetWorkArray(dm, Np * Nb * Nc * dim * dim, MPIU_REAL, &H)); in TestEvaluation()
/petsc/src/dm/dt/space/impls/tensor/
H A Dspacetensor.c316 PetscCall(DMGetWorkArray(dm, npoints * Nv, MPIU_REAL, &lpoints)); in PetscSpaceEvaluate_Tensor()
317 if (B || D || H) PetscCall(DMGetWorkArray(dm, npoints * pdim * Nc, MPIU_REAL, &sB)); in PetscSpaceEvaluate_Tensor()
318 if (D || H) PetscCall(DMGetWorkArray(dm, npoints * pdim * Nc * Nv, MPIU_REAL, &sD)); in PetscSpaceEvaluate_Tensor()
319 if (H) PetscCall(DMGetWorkArray(dm, npoints * pdim * Nc * Nv * Nv, MPIU_REAL, &sH)); in PetscSpaceEvaluate_Tensor()
/petsc/src/dm/dt/space/impls/sum/
H A Dspacesum.c436 if (B || D || H) PetscCall(DMGetWorkArray(dm, numelB, MPIU_REAL, &sB)); in PetscSpaceEvaluate_Sum()
437 if (D || H) PetscCall(DMGetWorkArray(dm, numelD, MPIU_REAL, &sD)); in PetscSpaceEvaluate_Sum()
438 if (H) PetscCall(DMGetWorkArray(dm, numelH, MPIU_REAL, &sH)); in PetscSpaceEvaluate_Sum()
/petsc/src/dm/field/impls/da/
H A Ddmfieldda.c247 PetscCall(DMGetWorkArray(dm, nq * dim, MPIU_SCALAR, &qs)); in DMFieldEvaluateFE_DA()
253 PetscCall(DMGetWorkArray(dm, (1 << dim) * nc, MPIU_SCALAR, &cellCoeffs)); in DMFieldEvaluateFE_DA()
333 PetscCall(DMGetWorkArray(dm, dim * numCells, MPIU_SCALAR, &points)); in DMFieldEvaluateFV_DA()
/petsc/src/dm/interface/
H A Ddmperiodicity.c361 PetscCall(DMGetWorkArray(dm, 2 * (maxHeight + 1), MPIU_INT, &pStart)); in DMLocalizeCoordinates()
383 PetscCall(DMGetWorkArray(dm, 2 * Nc, MPIU_SCALAR, &anchor)); in DMLocalizeCoordinates()
/petsc/src/dm/impls/plex/
H A Dplexproject.c103 PetscCall(DMGetWorkArray(rdm, numPoints * Nc[f], MPIU_SCALAR, &pointEval)); in DMProjectPoint_Func_Private()
104 PetscCall(DMGetWorkArray(rdm, coordDim, MPIU_REAL, &x)); in DMProjectPoint_Func_Private()
311 PetscCall(DMGetWorkArray(dm, numPoints * Nc[f], MPIU_SCALAR, &pointEval)); in DMProjectPoint_Field_Private()
480 PetscCall(DMGetWorkArray(dm, numPoints * Nc[f], MPIU_SCALAR, &pointEval)); in DMProjectPoint_BdField_Private()
1001 PetscCall(DMGetWorkArray(dm, numValues, MPIU_SCALAR, &values)); in DMProjectLocal_Generic_Plex()
1002 PetscCall(DMGetWorkArray(dm, NfTot, MPI_INT, &fieldActive)); in DMProjectLocal_Generic_Plex()
H A Dplexfvm.c121 PetscCall(DMGetWorkArray(dm, dof, MPIU_REAL, &cellPhi)); in DMPlexReconstructGradients_Internal()
H A Dplex.c4030 …PetscCall(DMGetWorkArray(dm, 2 * (PetscMax(maxConeSize, maxSupportSize) + 1), MPIU_INT, &closure)); in DMPlexGetTransitiveClosure_Depth1_Private()
4079 } else PetscCall(DMGetWorkArray(dm, 2 * maxSize, MPIU_INT, &pts)); in DMPlexTransitiveClosure_Tensor_Internal()
4154 PetscCall(DMGetWorkArray(dm, 3 * maxSize, MPIU_INT, &fifo)); in DMPlexGetTransitiveClosure_Internal()
4157 } else PetscCall(DMGetWorkArray(dm, 2 * maxSize, MPIU_INT, &closure)); in DMPlexGetTransitiveClosure_Internal()
4857 PetscCall(DMGetWorkArray(dm, maxSupportSize, MPIU_INT, &join[0])); in DMPlexGetJoin()
4858 PetscCall(DMGetWorkArray(dm, maxSupportSize, MPIU_INT, &join[1])); in DMPlexGetJoin()
4964 PetscCall(DMGetWorkArray(dm, numPoints * (depth + 2), MPIU_INT, &offsets)); in DMPlexGetFullJoin()
4967 PetscCall(DMGetWorkArray(dm, maxSize, MPIU_INT, &join[0])); in DMPlexGetFullJoin()
4968 PetscCall(DMGetWorkArray(dm, maxSize, MPIU_INT, &join[1])); in DMPlexGetFullJoin()
5066 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &meet[0])); in DMPlexGetMeet()
[all …]
H A Dplexfem.c1070 PetscCall(DMGetWorkArray(dm, pdim, MPIU_SCALAR, &fx)); in DMPlexInsertBoundaryValuesRiemann()
3785 PetscCall(DMGetWorkArray(dm, numCells * totDim, MPIU_SCALAR, u)); in DMPlexGetCellFields()
3786 if (locX_t) PetscCall(DMGetWorkArray(dm, numCells * totDim, MPIU_SCALAR, u_t)); in DMPlexGetCellFields()
3788 if (locA) PetscCall(DMGetWorkArray(dm, numCells * totDimAux, MPIU_SCALAR, a)); in DMPlexGetCellFields()
3882 PetscCall(DMGetWorkArray(dm, numCells * totDim, MPIU_SCALAR, u)); in DMPlexGetHybridCellFields()
3883 if (locX_t) PetscCall(DMGetWorkArray(dm, numCells * totDim, MPIU_SCALAR, u_t)); in DMPlexGetHybridCellFields()
3887 if (locA) PetscCall(DMGetWorkArray(dm, numCells * totDimAux, MPIU_SCALAR, a)); in DMPlexGetHybridCellFields()
4021 PetscCall(DMGetWorkArray(dmX[s], numCells * totDimX[s], MPIU_SCALAR, &x[s])); in DMPlexGetHybridFields()
4139 PetscCall(DMGetWorkArray(dm, numFaces * Nc, MPIU_SCALAR, uL)); in DMPlexGetFaceFields()
4140 PetscCall(DMGetWorkArray(dm, numFaces * Nc, MPIU_SCALAR, uR)); in DMPlexGetFaceFields()
[all …]
H A Dplexsfc.c364 PetscCall(DMGetWorkArray(dm, dof, MPIU_INT, &copy)); in DMPlexOrientFieldPointIndex()
390 PetscCall(DMGetWorkArray(dm, dof, MPIU_SCALAR, &copy)); in DMPlexOrientFieldPointVec()
699 …PetscCall(DMGetWorkArray(dm, 2 * PetscPowInt(maxConeSize, dm_depth - 1), MPIU_INT, &periodic2donor… in DMPlexCorrectOrientationForIsoperiodic()
747 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &p2d_cone)); in DMPlexCorrectOrientationForIsoperiodic()
H A Dplexgeometry.c1746 PetscCall(DMGetWorkArray(cdm, *Nc, MPIU_SCALAR, coords)); in DMPlexGetCellCoordinates()
3561 PetscCall(DMGetWorkArray(dm, 2 * coordSize + dimR + dimC, MPIU_REAL, &cellData)); in DMPlexCoordinatesToReference_Tensor()
3562 PetscCall(DMGetWorkArray(dm, 3 * dimR * dimC, MPIU_SCALAR, &J)); in DMPlexCoordinatesToReference_Tensor()
3663 PetscCall(DMGetWorkArray(dm, 2 * coordSize, MPIU_REAL, &cellData)); in DMPlexReferenceToCoordinates_Tensor()
3743 PetscCall(DMGetWorkArray(dm, pdim, MPIU_REAL, &modes)); in DMPlexCoordinatesToReference_FE()
3749 PetscCall(DMGetWorkArray(dm, pdim * Nc + pdim * Nc * dimR + Nc, MPIU_REAL, &B)); in DMPlexCoordinatesToReference_FE()
3752 PetscCall(DMGetWorkArray(dm, 3 * Nc * dimR, MPIU_SCALAR, &J)); in DMPlexCoordinatesToReference_FE()
3806 PetscCall(DMGetWorkArray(dm, pdim, MPIU_REAL, &modes)); in DMPlexReferenceToCoordinates_FE()
3812 PetscCall(DMGetWorkArray(dm, numPoints * pdim * Nc, MPIU_REAL, &B)); in DMPlexReferenceToCoordinates_FE()
3897 PetscCall(DMGetWorkArray(dm, dimC + 2 * dimC * dimC, MPIU_REAL, &v0)); in DMPlexCoordinatesToReference()
[all …]
H A Dplextree.c2291 PetscCall(DMGetWorkArray(coarse, numRowIndices * numRowIndices, MPIU_SCALAR, &pMatIn)); in DMPlexComputeInterpolatorTree()
2370 PetscCall(DMGetWorkArray(coarse, numRowIndices, MPIU_INT, &rowIndices)); in DMPlexComputeInterpolatorTree()
2371 PetscCall(DMGetWorkArray(coarse, numColIndices, MPIU_INT, &colIndices)); in DMPlexComputeInterpolatorTree()
2509 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_INT, &rowIndices)); in DMPlexComputeInterpolatorTree()
2994 PetscCall(DMGetWorkArray(refTree, numSelfDof * numChildDof, MPIU_SCALAR, &pointMat)); in DMPlexComputeInjectorReferenceTree()
2995 PetscCall(DMGetWorkArray(refTree, numSelfDof + numChildDof, MPIU_INT, &matRows)); in DMPlexComputeInjectorReferenceTree()
3954 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_INT, &rowIndices)); in DMPlexTransferVecTree_Interpolate()
3955 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_SCALAR, &pointWork)); in DMPlexTransferVecTree_Interpolate()
H A Dplexorient.c33 PetscCall(DMGetWorkArray(dm, coneSize, MPIU_INT, &newcone)); in DMPlexOrientPoint()
34 PetscCall(DMGetWorkArray(dm, coneSize, MPIU_INT, &newornt)); in DMPlexOrientPoint()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c1456 if (cr != nr || co != no) PetscCall(DMGetWorkArray(dm, csizeNew, MPIU_INT, &newft)); in DMPlexTransformGetCone_Internal()
1502 PetscCall(DMGetWorkArray(dm, csizeNew, MPIU_INT, &newcone)); in DMPlexTransformGetCone_Internal()
1503 PetscCall(DMGetWorkArray(dm, csizeNew, MPIU_INT, &newornt)); in DMPlexTransformGetCone_Internal()
1537 PetscCall(DMGetWorkArray(rdm, maxConeSize, MPIU_INT, &coneNew)); in DMPlexTransformSetCones()
1538 PetscCall(DMGetWorkArray(rdm, maxConeSize, MPIU_INT, &orntNew)); in DMPlexTransformSetCones()
1583 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &qcone)); in DMPlexTransformGetConeOriented()
1584 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &qornt)); in DMPlexTransformGetConeOriented()
1624 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &qcone)); in DMPlexTransformGetCone()
1625 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &qornt)); in DMPlexTransformGetCone()
/petsc/src/dm/impls/swarm/
H A Dswarmpic_sort.c175 PetscCall(DMGetWorkArray(sw, *npoints, MPIU_SCALAR, pidlist)); in DMSwarmSortGetPointsPerCell()
/petsc/src/dm/impls/swarm/tests/
H A Dex6.c342 PetscCall(DMGetWorkArray(dm, Ncp * dim, MPIU_REAL, &pcoord)); in ComputeFieldAtParticles_Primal()
343 PetscCall(DMGetWorkArray(dm, Ncp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
459 PetscCall(DMGetWorkArray(dm, Ncp * dim, MPIU_REAL, &pcoord)); in ComputeFieldAtParticles_Mixed()
460 PetscCall(DMGetWorkArray(dm, Ncp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Mixed()
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c113 PetscCall(DMGetWorkArray(fdm, *Nc, MPIU_SCALAR, values)); in DMFieldGetClosure_Internal()
491 if (B) PetscCall(DMGetWorkArray(field->dm, N, mpitype, &qB)); in DMFieldEvaluateFV_DS()
492 if (D) PetscCall(DMGetWorkArray(field->dm, N * dimC, mpitype, &qD)); in DMFieldEvaluateFV_DS()
493 if (H) PetscCall(DMGetWorkArray(field->dm, N * dimC * dimC, mpitype, &qH)); in DMFieldEvaluateFV_DS()
/petsc/src/dm/dt/space/impls/poly/
H A Dspacepoly.c159 PetscCall(DMGetWorkArray(dm, Nb * Njet * npoints, MPIU_REAL, &pScalar)); in PetscSpaceEvaluate_Polynomial()
/petsc/src/dm/dt/space/impls/ptrimmed/
H A Dspaceptrimmed.c165 PetscCall(DMGetWorkArray(dm, Nb * Nf * Njet * npoints, MPIU_REAL, &eval)); in PetscSpaceEvaluate_Ptrimmed()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c1659 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Primal()
1660 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &pcoord)); in ComputeFieldAtParticles_Primal()
1785 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &refcoord)); in ComputeFieldAtParticles_Mixed()
1786 PetscCall(DMGetWorkArray(dm, maxNcp * dim, MPIU_REAL, &pcoord)); in ComputeFieldAtParticles_Mixed()
/petsc/src/dm/dt/dualspace/interface/
H A Ddualspace.c1155 PetscCall(DMGetWorkArray(dm, Nc, MPIU_SCALAR, &val)); in PetscDualSpaceApplyDefault()
1580 PetscCall(DMGetWorkArray(dm, Nc, MPIU_SCALAR, &val)); in PetscDualSpaceApplyFVM()
/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c336 PetscCall(DMGetWorkArray(dmc, Nc, MPIU_SCALAR, (void *)&tmp)); in DMAdaptInterpolator()
365 PetscCall(DMGetWorkArray(dmc, Nc, MPIU_SCALAR, (void *)&tmp)); in DMAdaptInterpolator()

12