Home
last modified time | relevance | path

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

/petsc/src/dm/dt/interface/
H A Ddt.c668 PetscReal *pointsRef, *weightsRef; in PetscQuadratureExpandComposite() local
681 PetscCall(PetscMalloc1(npointsRef * dim, &pointsRef)); in PetscQuadratureExpandComposite()
686 pointsRef[(c * npoints + p) * dim + d] = v0[c * dim + d]; in PetscQuadratureExpandComposite()
687 …for (e = 0; e < dim; ++e) pointsRef[(c * npoints + p) * dim + d] += jac[(c * dim + d) * dim + e] *… in PetscQuadratureExpandComposite()
695 PetscCall(PetscQuadratureSetData(*qref, dim, Nc, npointsRef, pointsRef, weightsRef)); in PetscQuadratureExpandComposite()
/petsc/src/dm/impls/plex/
H A Dplextree.c1168 PetscReal *weights, *pointsRef, *pointsReal, *work; in DMPlexComputeAnchorMatrix_Tree_Direct() local
1219 …PetscCall(PetscMalloc7(fSize, &sizes, nPoints * Nc, &weights, spdim * nPoints, &pointsRef, spdim *… in DMPlexComputeAnchorMatrix_Tree_Direct()
1230 PetscCall(PetscArraycpy(pointsRef + spdim * offset, p, spdim * qPoints)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1234 …PetscCall(EvaluateBasis(bspace, fSize, fSize, Nc, nPoints, sizes, pointsRef, weights, work, Amat)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1266 CoordinatesRefToReal(spdim, spdim, xi0, v0, J, &pointsRef[i * spdim], vtmp); in DMPlexComputeAnchorMatrix_Tree_Direct()
1377 PetscCall(PetscFree7(sizes, weights, pointsRef, pointsReal, work, workIndRow, workIndCol)); in DMPlexComputeAnchorMatrix_Tree_Direct()