Searched refs:tnf (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/composite/ |
| H A D | pack.c | 1336 PetscInt i, n, tnf, *sdim; in DMSetUpGLVisViewer_Composite() local 1347 for (i = 0, tnf = 0; i < n; i++) { in DMSetUpGLVisViewer_Composite() 1354 tnf += nf; in DMSetUpGLVisViewer_Composite() 1357 PetscCall(PetscMalloc3(tnf, &fecs, tnf, &sdim, tnf, &Ufds)); in DMSetUpGLVisViewer_Composite() 1358 for (i = 0, tnf = 0; i < n; i++) { in DMSetUpGLVisViewer_Composite() 1365 PetscCall(PetscStrallocpy(fec[f], &fecs[tnf + f])); in DMSetUpGLVisViewer_Composite() 1366 Ufds[tnf + f] = Uf[f]; in DMSetUpGLVisViewer_Composite() 1367 sdim[tnf + f] = sd[f]; in DMSetUpGLVisViewer_Composite() 1369 tnf += nf; in DMSetUpGLVisViewer_Composite() 1371 …PetscCall(PetscViewerGLVisSetFields(viewer, tnf, (const char **)fecs, sdim, DMCompositeSampleGLVis… in DMSetUpGLVisViewer_Composite() [all …]
|