Searched refs:numAdj (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexpreallocate.c | 205 …nkPairSection, const PetscInt leaves[], const PetscInt roots[], PetscInt numAdj, const PetscInt tm… in AdjancencyContainsLeafRootPair() argument 213 for (PetscInt q = 0; q < numAdj; q++) { in AdjancencyContainsLeafRootPair() 224 for (PetscInt q = 0; q < numAdj; q++) { in AdjancencyContainsLeafRootPair() 356 PetscInt p = leaves[l], numAdj = PETSC_DETERMINE; in DMPlexCreateAdjacencySection_Static() local 361 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static() 362 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static() 393 PetscInt numAdj = PETSC_DETERMINE, adof, dof, off, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local 400 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static() 401 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static() 434 PetscInt p = leaves[l], numAdj = PETSC_DETERMINE; in DMPlexCreateAdjacencySection_Static() local [all …]
|
| H A D | plexdistribute.c | 106 PetscInt numAdj = 0, maxAdjSize = *adjSize, coneSize, c; in DMPlexGetAdjacency_Cone_Internal() local 119 for (q = 0; q < numAdj || ((void)(adj[numAdj++] = support[s]), 0); ++q) { in DMPlexGetAdjacency_Cone_Internal() 122 …PetscCheck(numAdj <= maxAdjSize, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid mesh exceeded adjacency… in DMPlexGetAdjacency_Cone_Internal() 125 *adjSize = numAdj; in DMPlexGetAdjacency_Cone_Internal() 132 PetscInt numAdj = 0, maxAdjSize = *adjSize, supportSize, s; in DMPlexGetAdjacency_Support_Internal() local 145 for (q = 0; q < numAdj || ((void)(adj[numAdj++] = cone[c]), 0); ++q) { in DMPlexGetAdjacency_Support_Internal() 148 …PetscCheck(numAdj <= maxAdjSize, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid mesh exceeded adjacency… in DMPlexGetAdjacency_Support_Internal() 151 *adjSize = numAdj; in DMPlexGetAdjacency_Support_Internal() 158 PetscInt numAdj = 0, maxAdjSize = *adjSize, starSize, s; in DMPlexGetAdjacency_Transitive_Internal() local 168 for (q = 0; q < numAdj || ((void)(adj[numAdj++] = closure[c]), 0); ++q) { in DMPlexGetAdjacency_Transitive_Internal() [all …]
|