Home
last modified time | relevance | path

Searched refs:spacedim (Results 1 – 5 of 5) sorted by relevance

/petsc/src/vec/vec/utils/
H A Dvecglvis.c23 PetscInt i, nfields, *spacedim; in VecView_GLVis() local
38 …PetscCall(PetscViewerGLVisGetFields_Internal(viewer, &nfields, &fec_type, &spacedim, &g2lfields, (… in VecView_GLVis()
96 PetscCall(PetscViewerGLVisInitWindow_Internal(view, PETSC_FALSE, spacedim[i], name)); in VecView_GLVis()
/petsc/src/sys/classes/viewer/impls/glvis/
H A Dglvis.c24 …PetscInt *spacedim; /* geometrical space dim… member
151 …ds, &socket->windowtitle, nfields, &socket->fec_type, nfields, &socket->spacedim, nfields, &socket… in PetscViewerGLVisSetFields_GLVis()
160 socket->spacedim[i] = dim[i]; in PetscViewerGLVisSetFields_GLVis()
348 …nal(PetscViewer viewer, PetscInt *nfield, const char **fec[], PetscInt *spacedim[], PetscErrorCode… in PetscViewerGLVisGetFields_Internal() argument
355 if (spacedim) *spacedim = socket->spacedim; in PetscViewerGLVisGetFields_Internal()
520 …PetscCall(PetscFree5(socket->window, socket->windowtitle, socket->fec_type, socket->spacedim, sock… in PetscViewerDestroy_GLVis()
/petsc/src/mat/tests/
H A Dex246.cxx27 …MyIMatrix(PetscInt spacedim, PetscReal *gcoords) : htool::VirtualGenerator<PetscScalar>(), coords(… in MyIMatrix() argument
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opus.cu726 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
[all …]
/petsc/src/mat/impls/htool/
H A Dhtool.cxx1091 …MPI_Comm comm, PetscInt m, PetscInt n, PetscInt M, PetscInt N, PetscInt spacedim, const PetscReal … in MatCreateHtoolFromKernel() argument
1098 PetscValidLogicalCollectiveInt(A, spacedim, 6); in MatCreateHtoolFromKernel()
1107 a->dim = spacedim; in MatCreateHtoolFromKernel()
1110 PetscCall(PetscCalloc1(A->rmap->N * spacedim, &a->gcoords_target)); in MatCreateHtoolFromKernel()
1111 …(PetscArraycpy(a->gcoords_target + A->rmap->rstart * spacedim, coords_target, A->rmap->n * spacedi… in MatCreateHtoolFromKernel()
1112 …PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, a->gcoords_target, A->rmap->N * spacedim, MPIU_REAL, MPI… in MatCreateHtoolFromKernel()
1114 PetscCall(PetscCalloc1(A->cmap->N * spacedim, &a->gcoords_source)); in MatCreateHtoolFromKernel()
1115 …(PetscArraycpy(a->gcoords_source + A->cmap->rstart * spacedim, coords_source, A->cmap->n * spacedi… in MatCreateHtoolFromKernel()
1116 …PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, a->gcoords_source, A->cmap->N * spacedim, MPIU_REAL, MPI… in MatCreateHtoolFromKernel()