Lines Matching refs:nf
89 static PetscErrorCode DMDASampleGLVisFields_Private(PetscObject oX, PetscInt nf, PetscObject oXf[],… in DMDASampleGLVisFields_Private() argument
116 PetscCall(PetscMalloc3(nf, &arrayf, nf, &bss, nf, &nfs)); in DMDASampleGLVisFields_Private()
118 for (f = 0; f < nf; f++) { in DMDASampleGLVisFields_Private()
128 for (f = 0, cf = 0; f < nf; f++) { in DMDASampleGLVisFields_Private()
136 for (f = 0; f < nf; f++) PetscCall(VecRestoreArray((Vec)oXf[f], &arrayf[f])); in DMDASampleGLVisFields_Private()
252 PetscInt dim, M, N, P, dof, s, i, nf; in DMSetUpGLVisViewer_DMDA() local
263 nf = dof; in DMSetUpGLVisViewer_DMDA()
266 …vis_dm_da_bs", "Block sizes for subfields; enable vector representation", NULL, bss, &nf, &bsset)); in DMSetUpGLVisViewer_DMDA()
270 for (i = 0, t = 0; i < nf; i++) t += bss[i]; in DMSetUpGLVisViewer_DMDA()
272 } else nf = dof; in DMSetUpGLVisViewer_DMDA()
274 for (i = 0, s = 0; i < nf; i++) { in DMSetUpGLVisViewer_DMDA()
317 for (i = 0; i < nf; i++) { in DMSetUpGLVisViewer_DMDA()
324 …PetscCall(PetscViewerGLVisSetFields(viewer, nf, (const char **)fec_type, dims, DMDASampleGLVisFiel… in DMSetUpGLVisViewer_DMDA()
325 for (i = 0; i < nf; i++) { in DMSetUpGLVisViewer_DMDA()