Lines Matching refs:fv
146 static PetscErrorCode DMGetFieldIfFV_Private(DM dm, PetscInt field, PetscFV *fv) in DMGetFieldIfFV_Private() argument
153 *fv = NULL; in DMGetFieldIfFV_Private()
158 if (fClass == PETSCFV_CLASSID) *fv = (PetscFV)f; in DMGetFieldIfFV_Private()
291 PetscFV fv = NULL; in DMPlexVTKWriteAll_VTU() local
300 PetscCall(DMGetFieldIfFV_Private(dmX, field, &fv)); in DMPlexVTKWriteAll_VTU()
311 if (fv) { in DMPlexVTKWriteAll_VTU()
312 PetscCall(PetscFVGetComponentName(fv, j, &compName)); in DMPlexVTKWriteAll_VTU()
333 if (fv) PetscCall(PetscFVGetComponentName(fv, j, &compName)); in DMPlexVTKWriteAll_VTU()
559 PetscFV fv = NULL; in DMPlexVTKWriteAll_VTU() local
565 PetscCall(DMGetFieldIfFV_Private(dmX, field, &fv)); in DMPlexVTKWriteAll_VTU()
571 if (fv) { in DMPlexVTKWriteAll_VTU()
572 PetscCall(PetscFVGetComponentName(fv, j, &compName)); in DMPlexVTKWriteAll_VTU()
784 PetscFV fv = NULL; in DMPlexVTKWriteAll_VTU() local
790 PetscCall(DMGetFieldIfFV_Private(dmX, field, &fv)); in DMPlexVTKWriteAll_VTU()
796 if (fv) { in DMPlexVTKWriteAll_VTU()
797 PetscCall(PetscFVGetComponentName(fv, j, &compName)); in DMPlexVTKWriteAll_VTU()