Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexglvis.c114 char fec[64]; in DMSetUpGLVisViewer_Plex() local
132 … PetscCall(PetscSNPrintf(fec, 64, "FiniteElementCollection: H1_%" PetscInt_FMT "D_P1", dim)); in DMSetUpGLVisViewer_Plex()
136 …PetscCall(PetscSNPrintf(fec, 64, "FiniteElementCollection: L2_%" PetscInt_FMT "D_P%" PetscInt_FMT,… 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()
174 … PetscCall(PetscSNPrintf(fec, 64, "FiniteElementCollection: L2_%" PetscInt_FMT "D_P0", dim)); in DMSetUpGLVisViewer_Plex()
182 PetscCall(PetscStrallocpy(fec, &fec_type[ctx->nf])); in DMSetUpGLVisViewer_Plex()
635 char fec[64]; in DMPlexView_GLVis_ASCII() local
642 …PetscCall(PetscSNPrintf(fec, sizeof(fec), "FiniteElementCollection: L2_T1_%" PetscInt_FMT "D_P1", … in DMPlexView_GLVis_ASCII()
693 PetscCall(PetscObjectSetName((PetscObject)hovec, fec)); in DMPlexView_GLVis_ASCII()
[all …]
/petsc/src/dm/impls/da/
H A Dgrglvis.c247 char fec[64]; in DMSetUpGLVisViewer_DMDA() local
260 …PetscCall(PetscSNPrintf(fec, sizeof(fec), "FiniteElementCollection: H1_%" PetscInt_FMT "D_P1", dim… in DMSetUpGLVisViewer_DMDA()
275 PetscCall(PetscStrallocpy(fec, &fec_type[i])); in DMSetUpGLVisViewer_DMDA()
/petsc/src/sys/classes/viewer/impls/glvis/
H A Dglvis.c348 …GLVisGetFields_Internal(PetscViewer viewer, PetscInt *nfield, const char **fec[], PetscInt *spaced… in PetscViewerGLVisGetFields_Internal() argument
354 if (fec) *fec = (const char **)socket->fec_type; in PetscViewerGLVisGetFields_Internal()
/petsc/src/dm/impls/composite/
H A Dpack.c1360 const char **fec; in DMSetUpGLVisViewer_Composite() local
1363 …PetscCall(PetscViewerGLVisGetFields_Internal(ctx->subv[i], &nf, &fec, &sd, NULL, (PetscObject **)&… in DMSetUpGLVisViewer_Composite()
1365 PetscCall(PetscStrallocpy(fec[f], &fecs[tnf + f])); in DMSetUpGLVisViewer_Composite()
/petsc/src/ksp/ksp/tutorials/
H A Dex43.c1414 const char *fec = {"FiniteElementCollection: L2_2D_P1"}; in solve_stokes_2d_coupled() local
1420 …PetscCall(PetscViewerGLVisSetFields(view, 1, &fec, &dim, glvis_extract_eta, (PetscObject *)&etaf, … in solve_stokes_2d_coupled()