Home
last modified time | relevance | path

Searched refs:qweights (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/swarm/tests/
H A Dex2.c273 const PetscReal *qpoints, *qweights; in CreateParticles_Shape() local
283 PetscCall(PetscQuadratureGetData(quad, NULL, NULL, &Nq, &qpoints, &qweights)); in CreateParticles_Shape()
308 vals[c * Nq + q] *= qweights[q] * detJ; in CreateParticles_Shape()
/petsc/src/dm/impls/plex/
H A Dplexfem.c3008 const PetscReal *qpoints, *qweights; in DMPlexComputeInterpolatorNested() local
3054 PetscCall(PetscQuadratureGetData(f, NULL, &qNc, &Np, NULL, &qweights)); in DMPlexComputeInterpolatorNested()
3066 …etI + i) * cTotDim + offsetJ + j] += T->T[0][k * cpdim * NcJ + j * Nc + c] * qweights[p * qNc + c]; in DMPlexComputeInterpolatorNested()
3083 PetscCall(PetscQuadratureGetData(f, NULL, &qNc, &Np, NULL, &qweights)); in DMPlexComputeInterpolatorNested()
3087 …(c = 0; c < Nc; ++c) elemMat[(offsetI + i) * cTotDim + offsetJ + j] += 1.0 * qweights[p * qNc + c]; in DMPlexComputeInterpolatorNested()
3213 const PetscReal *qpoints, *qweights; in DMPlexComputeInterpolatorGeneral() local
3249 PetscCall(PetscQuadratureGetData(f, NULL, &qNc, &Np, &qpoints, &qweights)); in DMPlexComputeInterpolatorGeneral()
3289 … for (c = 0; c < Nc; ++c) elemMat[j] += T->T[0][j * Nc + c] * qweights[ccell * qNc + c]; in DMPlexComputeInterpolatorGeneral()
3293 for (c = 0; c < Nc; ++c) elemMat[j] += 1.0 * qweights[ccell * qNc + c]; in DMPlexComputeInterpolatorGeneral()
3462 const PetscReal *qpoints, *qweights; in DMPlexComputeMassMatrixGeneral() local
[all …]