Home
last modified time | relevance | path

Searched refs:Npoints (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/partitioner/impls/shell/
H A Dpartshell.c55 PetscInt Npart = 16, Npoints = 1024; in PetscPartitionerSetFromOptions_Shell() local
66 … in each partition on rank 0", "PetscPartitionerShellSetPartition", points, &Npoints, &flgPoints)); in PetscPartitionerSetFromOptions_Shell()
72Npoints, PetscObjectComm((PetscObject)part), PETSC_ERR_ARG_WRONG, "Number of input points %" Petsc… in PetscPartitionerSetFromOptions_Shell()
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c266 PetscInt Npoints; in PetscDualSpaceSumCreateQuadrature() local
274 Npoints = 0; in PetscDualSpaceSumCreateQuadrature()
280 Npoints += subNpoints; in PetscDualSpaceSumCreateQuadrature()
283 if (!Npoints) PetscFunctionReturn(PETSC_SUCCESS); in PetscDualSpaceSumCreateQuadrature()
284 PetscCall(PetscMalloc1(Npoints * cdim, &points)); in PetscDualSpaceSumCreateQuadrature()
294 PetscCall(PetscQuadratureSetData(*fullquad, cdim, 0, Npoints, points, NULL)); in PetscDualSpaceSumCreateQuadrature()
/petsc/src/dm/dt/interface/
H A Ddt.c497 PetscInt dim, Nc, imageNc, formSize, Ncopies, imageFormSize, Npoints, pt, i, j, c; in PetscQuadraturePushForward() local
507 PetscCall(PetscQuadratureGetData(q, &dim, &Nc, &Npoints, &points, &weights)); in PetscQuadraturePushForward()
513 PetscCall(PetscMalloc1(Npoints * imageDim, &imagePoints)); in PetscQuadraturePushForward()
514 PetscCall(PetscMalloc1(Npoints * imageNc, &imageWeights)); in PetscQuadraturePushForward()
518 for (pt = 0; pt < Npoints; pt++) { in PetscQuadraturePushForward()
541 …PetscCall(PetscQuadratureSetData(*Jinvstarq, imageDim, imageNc, Npoints, imagePoints, imageWeights… in PetscQuadraturePushForward()