| /petsc/src/vec/vec/utils/ |
| H A D | vecglvis.c | 9 PetscCall(PetscFree(info->fec_type)); in PetscViewerGLVisVecInfoDestroy_Private() 19 const char **fec_type; in VecView_GLVis() local 38 …PetscCall(PetscViewerGLVisGetFields_Internal(viewer, &nfields, &fec_type, &spacedim, &g2lfields, (… in VecView_GLVis() 53 PetscCall(PetscStrallocpy(fec_type[i], &info->fec_type)); in VecView_GLVis()
|
| /petsc/src/sys/classes/viewer/impls/glvis/ |
| H A D | glvis.c | 22 …char **fec_type; /* type of elements to b… member 128 PetscErrorCode PetscViewerGLVisSetFields(PetscViewer viewer, PetscInt nf, const char *fec_type[], P… in PetscViewerGLVisSetFields() argument 133 …PetscCheck(fec_type, PetscObjectComm((PetscObject)viewer), PETSC_ERR_SUP, "You need to provide the… in PetscViewerGLVisSetFields() 134 PetscAssertPointer(fec_type, 3); in PetscViewerGLVisSetFields() 137 …t[], void *), PetscObject[], void *, PetscCtxDestroyFn *), (viewer, nf, fec_type, dim, g2l, Vfield… in PetscViewerGLVisSetFields() 141 …rGLVisSetFields_GLVis(PetscViewer viewer, PetscInt nfields, const char *fec_type[], PetscInt dim[]… in PetscViewerGLVisSetFields_GLVis() argument 151 …elds, &socket->window, nfields, &socket->windowtitle, nfields, &socket->fec_type, nfields, &socket… in PetscViewerGLVisSetFields_GLVis() 157 PetscCall(PetscStrallocpy(fec_type[i], &socket->fec_type[i])); in PetscViewerGLVisSetFields_GLVis() 354 if (fec) *fec = (const char **)socket->fec_type; in PetscViewerGLVisGetFields_Internal() 516 PetscCall(PetscFree(socket->fec_type[i])); in PetscViewerDestroy_GLVis() [all …]
|
| /petsc/src/dm/tests/ |
| H A D | ex8.c | 38 const char *fec_type = {"testme"}; in DMSetUpGLVisViewer_Shell() local 43 …PetscCall(PetscViewerGLVisSetFields(viewer, 1, &fec_type, &dim, NULL, (PetscObject *)&V, NULL, NUL… in DMSetUpGLVisViewer_Shell()
|
| /petsc/include/petsc/private/ |
| H A D | glvisviewerimpl.h | 7 char *fec_type; /* the output of FiniteElementCollection::Name() */ member
|
| /petsc/src/dm/impls/da/ |
| H A D | grglvis.c | 250 char **fec_type, **fieldname; in DMSetUpGLVisViewer_DMDA() local 261 …PetscCall(PetscMalloc6(dof, &fec_type, dof, &nlocal, dof, &bss, dof, &dims, dof, &fieldname, dof, … in DMSetUpGLVisViewer_DMDA() 275 PetscCall(PetscStrallocpy(fec, &fec_type[i])); in DMSetUpGLVisViewer_DMDA() 324 …PetscCall(PetscViewerGLVisSetFields(viewer, nf, (const char **)fec_type, dims, DMDASampleGLVisFiel… in DMSetUpGLVisViewer_DMDA() 326 PetscCall(PetscFree(fec_type[i])); in DMSetUpGLVisViewer_DMDA() 330 PetscCall(PetscFree6(fec_type, nlocal, bss, dims, fieldname, Ufield)); in DMSetUpGLVisViewer_DMDA()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexglvis.c | 47 char **fieldname = NULL, **fec_type = NULL; in DMSetUpGLVisViewer_Plex() local 92 …name, maxfields, &nlocal, maxfields, &bs, maxfields, &dims, maxfields, &fec_type, totdofs, &idxs, … in DMSetUpGLVisViewer_Plex() 143 PetscCall(PetscStrallocpy(fec, &fec_type[ctx->nf])); in DMSetUpGLVisViewer_Plex() 155 PetscCall(PetscStrallocpy(fec, &fec_type[ctx->nf])); in DMSetUpGLVisViewer_Plex() 182 PetscCall(PetscStrallocpy(fec, &fec_type[ctx->nf])); in DMSetUpGLVisViewer_Plex() 214 …PetscCall(PetscViewerGLVisSetFields(viewer, ctx->nf, (const char **)fec_type, dims, DMPlexSampleGL… in DMSetUpGLVisViewer_Plex() 217 PetscCall(PetscFree(fec_type[f])); in DMSetUpGLVisViewer_Plex() 220 PetscCall(PetscFree7(fieldname, nlocal, bs, dims, fec_type, idxs, Ufield)); in DMSetUpGLVisViewer_Plex() 504 char name[32], fec_type[64]; in DMPlexView_GLVis_ASCII() local 522 PetscCall(PetscSNPrintf(fec_type, sizeof(fec_type), "FiniteElementCollection: %s", name)); in DMPlexView_GLVis_ASCII() [all …]
|
| /petsc/src/vec/vec/impls/seq/ |
| H A D | bvec2.c | 302 PetscCall(PetscViewerASCIIPrintf(viewer, "%s\n", glvis_vec_info->fec_type)); in VecView_Seq_ASCII()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 193 PetscCall(PetscViewerASCIIPrintf(viewer, "%s\n", glvis_vec_info->fec_type)); in VecView_MPI_ASCII()
|