Lines Matching refs:ncomp
1939 PetscInt pStart, pEnd, spStart, spEnd, *points, nleaves, ncomp, *nodes; in DMPlexCreateNodeNumbering() local
1957 PetscCall(PetscSectionGetFieldComponents(local_section, field, &ncomp)); in DMPlexCreateNodeNumbering()
1963 …(dof % ncomp == 0, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Field dof %" PetscInt_FMT " must be div… in DMPlexCreateNodeNumbering()
1964 local_node += dof / ncomp; in DMPlexCreateNodeNumbering()
1968 owned_node += dof / ncomp; in DMPlexCreateNodeNumbering()
1983 …t % ncomp == 0, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Field offset %" PetscInt_FMT " must be div… in DMPlexCreateNodeNumbering()
1985 owned_node += dof / ncomp; in DMPlexCreateNodeNumbering()
1998 for (PetscInt n = 0; n < dof / ncomp; n++) nodes[offset / ncomp + n] = points[p - pStart] + n; in DMPlexCreateNodeNumbering()
2449 PetscInt ncomp; in VecView_Plex_Local_CGNS() local
2452 PetscCall(PetscSectionGetFieldComponents(section, field, &ncomp)); in VecView_Plex_Local_CGNS()
2453 for (PetscInt comp = 0; comp < ncomp; comp++) { in VecView_Plex_Local_CGNS()
2459 …if (ncomp == 1 && comp_name[0] == '0' && comp_name[1] == '\0' && field_name[0] != '\0') PetscCall(… in VecView_Plex_Local_CGNS()
2469 for (PetscInt c = comp; c < dof; c += ncomp, n++) { in VecView_Plex_Local_CGNS()