Searched refs:root_degree (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex103.c | 280 const PetscInt *root_degree; in VerifyDMLabels() local 283 PetscCall(PetscSFComputeDegreeBegin(serial2loadPointSF_, &root_degree)); in VerifyDMLabels() 284 PetscCall(PetscSFComputeDegreeEnd(serial2loadPointSF_, &root_degree)); in VerifyDMLabels() 285 …; p < num_points_serial; p++) PetscCall(PetscSectionSetDof(pointSerialSection, p, root_degree[p])); in VerifyDMLabels()
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 1070 const PetscInt *root_degree; in PetscSFFindMatchingIndices() local 1076 PetscCall(PetscSFComputeDegreeBegin(sf1, &root_degree)); in PetscSFFindMatchingIndices() 1077 PetscCall(PetscSFComputeDegreeEnd(sf1, &root_degree)); in PetscSFFindMatchingIndices() 1085 … for (PetscInt i = 0; i < n; i++) PetscCall(PetscSectionSetDof(sectionBuffer, i, root_degree[i])); in PetscSFFindMatchingIndices() 1459 const PetscInt *root_degree; in DMPlexCGNS_MatchCGNSFacesToPlexFaces() local 1482 PetscCall(PetscSFComputeDegreeBegin(*cg2plexSF, &root_degree)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces() 1483 PetscCall(PetscSFComputeDegreeEnd(*cg2plexSF, &root_degree)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces() 1485 …PetscCheck(root_degree[r] > 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Could not find plex face for the … in DMPlexCGNS_MatchCGNSFacesToPlexFaces() 1486 …PetscCheck(root_degree[r] == 1, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Found more than one plex face fo… in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
|