Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexceed.c77 PetscInt num_fields; in DMPlexGetLocalOffsets() local
83 PetscCall(ISGetSize(field_is, &num_fields)); in DMPlexGetLocalOffsets()
84 for (PetscInt i = 0; i < num_fields; i++) { in DMPlexGetLocalOffsets()
H A Dplexsfc.c425 PetscInt num_fields; in DMPlexOrientPointWithCorrections() local
426 PetscCall(PetscSectionGetNumFields(perm_section, &num_fields)); in DMPlexOrientPointWithCorrections()
427 …for (PetscInt f = 0; f < num_fields; f++) PetscCall(DMPlexOrientFieldPointIndex(dm, perm_section, … in DMPlexOrientPointWithCorrections()
H A Dplex.c2931 PetscInt pStart, pEnd, dof, cdof, num_fields; in DMCreateMatrix_Plex() local
2939 PetscCall(PetscSectionGetNumFields(sectionGlobal, &num_fields)); in DMCreateMatrix_Plex()
2972 for (PetscInt field = 0; field < num_fields; field++) { in DMCreateMatrix_Plex()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c2042 PetscInt num_fields, field_order = -1, field_order_coord; in DMView_PlexCGNS() local
2044 PetscCall(DMGetNumFields(dm, &num_fields)); in DMView_PlexCGNS()
2045 if (num_fields > 0) { in DMView_PlexCGNS()
2385 PetscInt time_step, num_fields, pStart, pEnd, fvGhostStart; in VecView_Plex_Local_CGNS() local
2447 PetscCall(PetscSectionGetNumFields(section, &num_fields)); in VecView_Plex_Local_CGNS()
2448 for (PetscInt field = 0; field < num_fields; field++) { in VecView_Plex_Local_CGNS()
/petsc/doc/manual/
H A Dsection.md63 **Fields** are indexed contiguously from `[0, num_fields)`.