Lines Matching refs:spacedim
726 PetscInt spacedim; in MatH2OpusInferCoordinates_Private() local
741 PetscCall(VecGetBlockSize(c, &spacedim)); in MatH2OpusInferCoordinates_Private()
742 PetscCall(MatH2OpusSetCoords_H2OPUS(A, spacedim, coords, PETSC_FALSE, NULL, NULL)); in MatH2OpusInferCoordinates_Private()
1166 static PetscErrorCode MatH2OpusSetCoords_H2OPUS(Mat A, PetscInt spacedim, const PetscReal coords[],… in MatH2OpusSetCoords_H2OPUS() argument
1183 if (spacedim > 0 && size > 1 && cdist) { in MatH2OpusSetCoords_H2OPUS()
1187 PetscCallMPI(MPI_Type_contiguous(spacedim, MPIU_REAL, &dtype)); in MatH2OpusSetCoords_H2OPUS()
1192 PetscCall(PetscMalloc1(spacedim * N, &gcoords)); in MatH2OpusSetCoords_H2OPUS()
1201 h2opus->ptcloud = new PetscPointCloud<PetscReal>(spacedim, N, gcoords); in MatH2OpusSetCoords_H2OPUS()
1202 if (kernel) h2opus->kernel = new PetscFunctionGenerator<PetscScalar>(kernel, spacedim, kernelctx); in MatH2OpusSetCoords_H2OPUS()
1595 …MPI_Comm comm, PetscInt m, PetscInt n, PetscInt M, PetscInt N, PetscInt spacedim, const PetscReal … in MatCreateH2OpusFromKernel() argument
1608 PetscCall(MatH2OpusSetCoords_H2OPUS(A, spacedim, coords, cdist, kernel, kernelctx)); in MatCreateH2OpusFromKernel()
1653 PetscErrorCode MatCreateH2OpusFromMat(Mat B, PetscInt spacedim, const PetscReal coords[], PetscBool… in MatCreateH2OpusFromMat() argument
1662 PetscValidLogicalCollectiveInt(B, spacedim, 2); in MatCreateH2OpusFromMat()
1691 if (spacedim) PetscCall(MatH2OpusSetCoords_H2OPUS(A, spacedim, coords, cdist, NULL, NULL)); in MatCreateH2OpusFromMat()