Lines Matching refs:fbs

290           PetscInt    fbs, j;  in DMPlexVTKWriteAll_VTU()  local
297 PetscCall(PetscSectionGetFieldDof(section, cStart, field, &fbs)); in DMPlexVTKWriteAll_VTU()
299 } else fbs = bs; /* Say we have one field with 'bs' components */ in DMPlexVTKWriteAll_VTU()
308 …ck(fbs <= 3, PetscObjectComm((PetscObject)viewer), PETSC_ERR_ARG_SIZ, "Cell vector fields can have… in DMPlexVTKWriteAll_VTU()
309 for (j = 0; j < fbs; j++) { in DMPlexVTKWriteAll_VTU()
316 if (j < fbs) vector = PETSC_FALSE; in DMPlexVTKWriteAll_VTU()
328 i += fbs; in DMPlexVTKWriteAll_VTU()
330 for (j = 0; j < fbs; j++) { in DMPlexVTKWriteAll_VTU()
336 } else if (fbs > 1) { in DMPlexVTKWriteAll_VTU()
384 PetscInt fbs, j; in DMPlexVTKWriteAll_VTU() local
388 PetscCall(PetscSectionGetFieldDof(section, vStart, field, &fbs)); in DMPlexVTKWriteAll_VTU()
390 } else fbs = bs; /* Say we have one field with 'bs' components */ in DMPlexVTKWriteAll_VTU()
396 …k(fbs <= 3, PetscObjectComm((PetscObject)viewer), PETSC_ERR_ARG_SIZ, "Point vector fields can have… in DMPlexVTKWriteAll_VTU()
407 for (j = 0; j < fbs; j++) { in DMPlexVTKWriteAll_VTU()
558 PetscInt fbs, j; in DMPlexVTKWriteAll_VTU() local
563 PetscCall(PetscSectionGetFieldDof(section, cStart, field, &fbs)); in DMPlexVTKWriteAll_VTU()
564 } else fbs = bs; /* Say we have one field with 'bs' components */ in DMPlexVTKWriteAll_VTU()
569 for (j = 0; j < fbs; j++) { in DMPlexVTKWriteAll_VTU()
576 if (j < fbs) vector = PETSC_FALSE; in DMPlexVTKWriteAll_VTU()
596 …for (j = 0; j < fbs; j++) y[cnt++] = (PetscVTUReal)(l ? PetscImaginaryPart(xpoint[j]) : PetscRealP… in DMPlexVTKWriteAll_VTU()
603 for (i = 0; i < fbs; i++) { in DMPlexVTKWriteAll_VTU()
656 PetscInt fbs, j; in DMPlexVTKWriteAll_VTU() local
658 PetscCall(PetscSectionGetFieldDof(section, vStart, field, &fbs)); in DMPlexVTKWriteAll_VTU()
659 } else fbs = bs; /* Say we have one field with 'bs' components */ in DMPlexVTKWriteAll_VTU()
674 …for (j = 0; j < fbs; j++) y[cnt++] = (PetscVTUReal)(l ? PetscImaginaryPart(xpoint[j]) : PetscRealP… in DMPlexVTKWriteAll_VTU()
694 …for (j = 0; j < fbs; j++) y[cnt + off++] = (PetscVTUReal)(l ? PetscImaginaryPart(xpoint[j]) : Pets… in DMPlexVTKWriteAll_VTU()
706 for (i = 0; i < fbs; i++) { in DMPlexVTKWriteAll_VTU()
783 PetscInt fbs, j; in DMPlexVTKWriteAll_VTU() local
788 PetscCall(PetscSectionGetFieldDof(section, cStart, field, &fbs)); in DMPlexVTKWriteAll_VTU()
789 } else fbs = bs; /* Say we have one field with 'bs' components */ in DMPlexVTKWriteAll_VTU()
794 for (j = 0; j < fbs; j++) { in DMPlexVTKWriteAll_VTU()
801 if (j < fbs) vector = PETSC_FALSE; in DMPlexVTKWriteAll_VTU()
806 for (i = 0; i < fbs; i++) { in DMPlexVTKWriteAll_VTU()
832 PetscInt fbs; in DMPlexVTKWriteAll_VTU() local
834 PetscCall(PetscSectionGetFieldDof(section, vStart, field, &fbs)); in DMPlexVTKWriteAll_VTU()
835 } else fbs = bs; /* Say we have one field with 'bs' components */ in DMPlexVTKWriteAll_VTU()
839 for (i = 0; i < fbs; i++) { in DMPlexVTKWriteAll_VTU()