Home
last modified time | relevance | path

Searched refs:nPoints (Results 1 – 7 of 7) sorted by relevance

/petsc/src/dm/field/interface/
H A Ddmfield.c443 PetscInt nPoints; in DMFieldCreateFEGeom() local
451 PetscCall(ISGetLocalSize(pointIS, &nPoints)); in DMFieldCreateFEGeom()
453 PetscCall(PetscFEGeomCreate(quad, nPoints, dE, mode, &g)); in DMFieldCreateFEGeom()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c843 PetscInt nPoints = 0, conesSize = 0; in DMPlexTopologyView_HDF5_Inner_Private() local
857 nPoints += 1; in DMPlexTopologyView_HDF5_Inner_Private()
861 PetscCall(PetscMalloc1(nPoints, &coneSizes)); in DMPlexTopologyView_HDF5_Inner_Private()
880 …PetscCheck(s == nPoints, PETSC_COMM_SELF, PETSC_ERR_LIB, "Total number of points %" PetscInt_FMT "… in DMPlexTopologyView_HDF5_Inner_Private()
882 PetscCall(ISCreateGeneral(comm, nPoints, coneSizes, PETSC_OWN_POINTER, &coneSizesIS)); in DMPlexTopologyView_HDF5_Inner_Private()
902 PetscCall(PetscMalloc1(nPoints, &points)); in DMPlexTopologyView_HDF5_Inner_Private()
909 PetscCall(ISCreateGeneral(comm, nPoints, points, PETSC_OWN_POINTER, &pointsIS)); in DMPlexTopologyView_HDF5_Inner_Private()
2484 PetscInt d, nPoints; in DMPlexTopologyBuildFromLayers_Private() local
2509 nPoints = stratumOffset; in DMPlexTopologyBuildFromLayers_Private()
2514 PetscCall(DMPlexSetChart(dm, 0, nPoints)); in DMPlexTopologyBuildFromLayers_Private()
/petsc/src/dm/field/impls/da/
H A Ddmfieldda.c83 …rdRange)[2], PetscInt nc, PetscScalar *cf, PetscScalar *cfWork, PetscInt nPoints, const PetscScala… in MultilinearEvaluate() argument
91 for (i = 0; i < nPoints; i++) { in MultilinearEvaluate()
/petsc/src/dm/impls/plex/
H A Dplextree.c1117 …space, PetscInt nBasis, PetscInt nFunctionals, PetscInt nComps, PetscInt nPoints, const PetscInt *… in EvaluateBasis() argument
1122 PetscCall(PetscSpaceEvaluate(space, nPoints, points, work, NULL, NULL)); in EvaluateBasis()
1166 PetscInt i, j, k, nPoints, Nc, offset; in DMPlexComputeAnchorMatrix_Tree_Direct() local
1209 nPoints = 0; in DMPlexComputeAnchorMatrix_Tree_Direct()
1217 nPoints += qPoints; in DMPlexComputeAnchorMatrix_Tree_Direct()
1219 …ll(PetscMalloc7(fSize, &sizes, nPoints * Nc, &weights, spdim * nPoints, &pointsRef, spdim * nPoint… in DMPlexComputeAnchorMatrix_Tree_Direct()
1234 …PetscCall(EvaluateBasis(bspace, fSize, fSize, Nc, nPoints, sizes, pointsRef, weights, work, Amat)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1263 for (i = 0; i < nPoints; i++) { in DMPlexComputeAnchorMatrix_Tree_Direct()
1269 …PetscCall(EvaluateBasis(bspace, fSize, fSize, Nc, nPoints, sizes, pointsReal, weights, work, Bmat)… in DMPlexComputeAnchorMatrix_Tree_Direct()
H A Dplex.c7790 static PetscErrorCode DMPlexAnchorsGetSubMatIndices(PetscInt nPoints, const PetscInt pnts[], PetscS… in DMPlexAnchorsGetSubMatIndices() argument
7798 for (PetscInt p = 0; p < nPoints; p++) { in DMPlexAnchorsGetSubMatIndices()
/petsc/src/dm/dt/interface/
H A Ddt.c1613 static PetscErrorCode PetscDTJacobiMatrix_Internal(PetscInt nPoints, PetscReal a, PetscReal b, Pets… in PetscDTJacobiMatrix_Internal() argument
1618 for (i = 0; i < nPoints; i++) { in PetscDTJacobiMatrix_Internal()
1624 if (i < nPoints - 1) s[i] = 1. / B; in PetscDTJacobiMatrix_Internal()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2078 PetscInt nPoints = 25; in DMCreateReferenceTree_pforest() local
2082 PetscInt nPoints = 125; in DMCreateReferenceTree_pforest()
2093 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, nPoints, perm, PETSC_USE_POINTER, &permIS)); in DMCreateReferenceTree_pforest()
2105 for (p = 0; p < nPoints; p++) PetscCall(DMSetLabelValue(dmRefined, "identity", p, ident[p])); in DMCreateReferenceTree_pforest()