Lines Matching refs:totDimAux

2411   PetscInt           NfAux, totDimAux, *aOff;  in DMPlexComputeIntegral_Internal()  local
2453 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeIntegral_Internal()
2458 if (dmAux) PetscCall(PetscMalloc1(numCells * totDimAux, &a)); in DMPlexComputeIntegral_Internal()
2512 for (i = 0; i < totDimAux; ++i) a[c * totDimAux + i] = x[i]; in DMPlexComputeIntegral_Internal()
2545 …m, &u[offset * totDim], probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), &cintegral[off… in DMPlexComputeIntegral_Internal()
2560 …otDim * c + foff], NULL, u_x, aOff, NULL, PetscSafePointerPlusOffset(a, totDimAux * c), NULL, NULL… in DMPlexComputeIntegral_Internal()
2722 PetscInt NfAux = 0, totDimAux = 0, *aOff = NULL; in DMPlexComputeBdIntegral_Internal() local
2758 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeBdIntegral_Internal()
2772 PetscCall(PetscCalloc2(numFaces * totDim, &u, (locA ? (size_t)numFaces * totDimAux : 0), &a)); in DMPlexComputeBdIntegral_Internal()
2786 for (PetscInt i = 0; i < totDimAux; ++i) a[f * totDimAux + i] = x[i]; in DMPlexComputeBdIntegral_Internal()
2822 …e * totDim], probAux, PetscSafePointerPlusOffset(a, chunk * chunkSize * totDimAux), &fintegral[chu… in DMPlexComputeBdIntegral_Internal()
2826 …m, &u[offset * totDim], probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), &fintegral[off… in DMPlexComputeBdIntegral_Internal()
3758 PetscInt cStart, cEnd, numCells, totDim, totDimAux, c; in DMPlexGetCellFields() local
3782 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexGetCellFields()
3788 if (locA) PetscCall(DMGetWorkArray(dm, numCells * totDimAux, MPIU_SCALAR, a)); in DMPlexGetCellFields()
3808 for (i = 0; i < totDimAux; ++i) al[cind * totDimAux + i] = x[i]; in DMPlexGetCellFields()
3853 PetscInt cStart, cEnd, numCells, c, totDim, totDimAux, Nf, f; in DMPlexGetHybridCellFields() local
3880 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexGetHybridCellFields()
3887 if (locA) PetscCall(DMGetWorkArray(dm, numCells * totDimAux, MPIU_SCALAR, a)); in DMPlexGetHybridCellFields()
3959 PetscScalar *al = &(*a)[cind * totDimAux]; in DMPlexGetHybridCellFields()
3964totDimAux, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Closure size %" PetscInt_FMT " for subcell %" P… in DMPlexGetHybridCellFields()
3965 for (PetscInt i = 0; i < totDimAux; ++i) al[i] = x[i]; in DMPlexGetHybridCellFields()
4405 PetscInt Nf, f, totDim, totDimAux, numChunks, cellChunkSize, chunk, fStart, fEnd; in DMPlexComputeResidual_Patch_Internal() local
4423 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeResidual_Patch_Internal()
4525 … PetscSafePointerPlusOffset(u_t, offset * totDim), probAux, &a[offset * totDimAux], t, &elemVec[of… in DMPlexComputeResidual_Patch_Internal()
4634 …maxDegree, numCells, cStart, cEnd, numChunks, chunkSize, chunk, totDim, totDimAux = 0, sz, wsz, of… in DMPlexComputeJacobian_Patch_Internal() local
4669 if (probAux) PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeJacobian_Patch_Internal()
4691 …wsz = (((X ? 1 : 0) + (X_t ? 1 : 0)) * totDim + (dmAux ? 1 : 0) * totDimAux + ((hasJac ? 1 : 0) + … in DMPlexComputeJacobian_Patch_Internal()
4697 a = dmAux ? (sz = chunkSize * totDimAux, off += sz, work + off - sz) : NULL; in DMPlexComputeJacobian_Patch_Internal()
4742 for (i = 0; i < totDimAux; ++i) a[c * totDimAux + i] = x[i]; in DMPlexComputeJacobian_Patch_Internal()
4928 PetscInt totDim, totDimAux = 0; in DMPlexComputeBdResidualSingleByKey() local
4943 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeBdResidualSingleByKey()
4966 … * totDim : 0), &u_t, numFaces * totDim, &elemVec, (locA ? (size_t)numFaces * totDimAux : 0), &a)); in DMPlexComputeBdResidualSingleByKey()
4997 for (i = 0; i < totDimAux; ++i) a[face * totDimAux + i] = x[i]; in DMPlexComputeBdResidualSingleByKey()
5026 …(u_t, offset * totDim), probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, &elemVec[of… in DMPlexComputeBdResidualSingleByKey()
5195 …PetscInt Nf, f, totDim, totDimAux, numChunks, cellChunkSize, faceChunkSize, chunk, fStart, … in DMPlexComputeResidualByKey() local
5221 PetscCall(PetscDSGetTotalDimension(dsAux, &totDimAux)); in DMPlexComputeResidualByKey()
5336 …et(u_t, offset * totDim), dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, &elemVec[of… in DMPlexComputeResidualByKey()
5578 …PetscInt Nf, f, totDim, totDimIn, totDimAux[3], totDimScale[3], numChunks, cellChunkSize, c… in DMPlexComputeResidualHybridByKey() local
5611 PetscCall(PetscDSGetTotalDimension(dsAux[2], &totDimAux[2])); in DMPlexComputeResidualHybridByKey()
5632 PetscCall(PetscDSGetTotalDimension(dsAux[c], &totDimAux[c])); in DMPlexComputeResidualHybridByKey()
5786 …offset * totDimIn), dsAux[0], PetscSafePointerPlusOffset(a[0], offset * totDimAux[0]), t, &elemVec… in DMPlexComputeResidualHybridByKey()
5788 …offset * totDimIn), dsAux[1], PetscSafePointerPlusOffset(a[1], offset * totDimAux[1]), t, &elemVec… in DMPlexComputeResidualHybridByKey()
5790 …offset * totDimIn), dsAux[2], PetscSafePointerPlusOffset(a[2], offset * totDimAux[2]), t, &elemVec… in DMPlexComputeResidualHybridByKey()
5917 PetscInt Nf, totDim, totDimAux = 0; in DMPlexComputeBdJacobianSingleByLabel() local
5940 PetscCall(PetscDSGetTotalDimension(dsAux, &totDimAux)); in DMPlexComputeBdJacobianSingleByLabel()
5969 …size_t)numFaces * totDim * totDim : 0), &elemMatP, (locA ? (size_t)numFaces * totDimAux : 0), &a)); in DMPlexComputeBdJacobianSingleByLabel()
5999 for (i = 0; i < totDimAux; ++i) a[face * totDimAux + i] = x[i]; in DMPlexComputeBdJacobianSingleByLabel()
6034 …et(u_t, offset * totDim), dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeBdJacobianSingleByLabel()
6036 …et(u_t, offset * totDim), dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeBdJacobianSingleByLabel()
6185 PetscInt totDim, totDimAux = 0, cStart, cEnd, numCells, c; in DMPlexComputeJacobianByKey() local
6199 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeJacobianByKey()
6220 if (dmAux) PetscCall(PetscMalloc1(numCells * totDimAux, &a)); in DMPlexComputeJacobianByKey()
6239 for (i = 0; i < totDimAux; ++i) a[cind * totDimAux + i] = x[i]; in DMPlexComputeJacobianByKey()
6287 …(u_t, offset * totDim), probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianByKey()
6291 …(u_t, offset * totDim), probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianByKey()
6295 …(u_t, offset * totDim), probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianByKey()
6400 PetscInt totDim, ctotDim, totDimAux = 0, cStart, cEnd, numCells; in DMPlexComputeJacobianByKeyGeneral() local
6418 PetscCall(PetscDSGetTotalDimension(dsAux, &totDimAux)); in DMPlexComputeJacobianByKeyGeneral()
6443 if (dmAux) PetscCall(PetscMalloc1(numCells * totDimAux, &a)); in DMPlexComputeJacobianByKeyGeneral()
6462 for (i = 0; i < totDimAux; ++i) a[cind * totDimAux + i] = x[i]; in DMPlexComputeJacobianByKeyGeneral()
6510 …et(u_t, offset * totDim), dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianByKeyGeneral()
6514 …et(u_t, offset * totDim), dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianByKeyGeneral()
6518 …et(u_t, offset * totDim), dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianByKeyGeneral()
6659 …PetscInt Nf, fieldI, fieldJ, totDim, totDimIn, totDimAux[3], totDimScale[3], numChunks, cel… in DMPlexComputeJacobianHybridByKey() local
6696 PetscCall(PetscDSGetTotalDimension(dsAux[2], &totDimAux[2])); in DMPlexComputeJacobianHybridByKey()
6716 PetscCall(PetscDSGetTotalDimension(dsAux[c], &totDimAux[c])); in DMPlexComputeJacobianHybridByKey()
6871 …offset * totDimIn), dsAux[0], PetscSafePointerPlusOffset(a[0], offset * totDimAux[0]), t, X_tShift… in DMPlexComputeJacobianHybridByKey()
6873 …offset * totDimIn), dsAux[1], PetscSafePointerPlusOffset(a[1], offset * totDimAux[1]), t, X_tShift… in DMPlexComputeJacobianHybridByKey()
6877 …SafePointerPlusOffset(u_t, offset * totDimIn), dsAux[0], &a[0][offset * totDimAux[0]], t, X_tShift… in DMPlexComputeJacobianHybridByKey()
6879 …SafePointerPlusOffset(u_t, offset * totDimIn), dsAux[1], &a[1][offset * totDimAux[1]], t, X_tShift… in DMPlexComputeJacobianHybridByKey()
6883 …offset * totDimIn), dsAux[2], PetscSafePointerPlusOffset(a[2], offset * totDimAux[2]), t, X_tShift… in DMPlexComputeJacobianHybridByKey()
6887 …SafePointerPlusOffset(u_t, offset * totDimIn), dsAux[2], &a[2][offset * totDimAux[2]], t, X_tShift… in DMPlexComputeJacobianHybridByKey()
7016 PetscInt totDim, totDimAux = 0, cStart, cEnd, numCells, c; in DMPlexComputeJacobianActionByKey() local
7038 PetscCall(PetscDSGetTotalDimension(probAux, &totDimAux)); in DMPlexComputeJacobianActionByKey()
7042 if (dmAux) PetscCall(PetscMalloc1(numCells * totDimAux, &a)); in DMPlexComputeJacobianActionByKey()
7062 for (i = 0; i < totDimAux; ++i) a[cind * totDimAux + i] = x[i]; in DMPlexComputeJacobianActionByKey()
7106 …(u_t, offset * totDim), probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &… in DMPlexComputeJacobianActionByKey()
7109 … PetscSafePointerPlusOffset(u_t, offset * totDim), probAux, &a[offset * totDimAux], t, X_tShift, &… in DMPlexComputeJacobianActionByKey()