| /petsc/src/dm/impls/plex/ |
| H A D | plexorient.c | 111 seenA = PetscBTLookup(seenCells, indC[0]); in DMPlexCheckFace_Internal() 112 flippedA = PetscBTLookup(flippedCells, indC[0]) ? 1 : 0; in DMPlexCheckFace_Internal() 113 seenB = PetscBTLookup(seenCells, indC[1]); in DMPlexCheckFace_Internal() 114 flippedB = PetscBTLookup(flippedCells, indC[1]) ? 1 : 0; in DMPlexCheckFace_Internal() 127 if (!PetscBTLookup(seenFaces, indF)) { in DMPlexCheckFace_Internal() 140 if (!PetscBTLookup(seenFaces, indF)) { in DMPlexCheckFace_Internal() 181 seenA = PetscBTLookup(seenCells, support[0] - cStart); in DMPlexCheckFace_Old_Internal() 182 flippedA = PetscBTLookup(flippedCells, support[0] - cStart) ? 1 : 0; in DMPlexCheckFace_Old_Internal() 183 seenB = PetscBTLookup(seenCells, support[1] - cStart); in DMPlexCheckFace_Old_Internal() 184 flippedB = PetscBTLookup(flippedCells, support[1] - cStart) ? 1 : 0; in DMPlexCheckFace_Old_Internal() [all …]
|
| H A D | plexglvis.c | 80 if (PetscLikely(PetscBTLookup(vown, f))) Nv++; in DMSetUpGLVisViewer_Plex() 148 if (PetscUnlikely(!PetscBTLookup(vown, i))) continue; in DMSetUpGLVisViewer_Plex() 700 if (PetscUnlikely(pown && !PetscBTLookup(pown, p - cStart))) continue; in DMPlexView_GLVis_ASCII() 748 if (PetscUnlikely(pown && !PetscBTLookup(pown, p - cStart))) continue; in DMPlexView_GLVis_ASCII() 875 if (PetscLikely(PetscBTLookup(pown, support[i] - cStart))) has_owned = PETSC_TRUE; in DMPlexView_GLVis_ASCII() 901 if (PetscUnlikely(PetscBTLookup(bfaces, p - fStart))) { in DMPlexView_GLVis_ASCII() 912 if (pown && PetscUnlikely(!PetscBTLookup(pown, cell - cStart))) continue; in DMPlexView_GLVis_ASCII() 945 if (PetscUnlikely(PetscBTLookup(bfaces, p - fStart))) { in DMPlexView_GLVis_ASCII() 953 if (PetscLikely(PetscBTLookup(pown, support[c] - cStart))) fcells[nc++] = support[c]; in DMPlexView_GLVis_ASCII() 999 if (PetscUnlikely(!PetscBTLookup(pown, p - cStart))) continue; in DMPlexView_GLVis_ASCII() [all …]
|
| H A D | plexreorder.c | 533 …for (PetscInt p = pStart; p < pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_E… in DMCreateSectionPermutation_Plex_Cohesive_Old() 602 …for (PetscInt p = pStart; p < pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_E… in DMCreateSectionPermutation_Plex_Cohesive()
|
| H A D | plexgmsh.c | 1342 …for (n = 0; n < mesh->numNodes; ++n) mesh->vertexMap[n] = PetscBTLookup(vtx, n) ? mesh->numVerts++… in GmshReadElements() 1956 if (PetscUnlikely(PetscBTLookup(periodicVerts, closure[cl] - vStart))) { in DMPlexCreateGmsh() 2078 if (PetscUnlikely(PetscBTLookup(periodicCells[h], p - pStart))) { in DMPlexCreateGmsh() 2132 if (PetscUnlikely(PetscBTLookup(periodicCells[h], point - hStart))) { in DMPlexCreateGmsh()
|
| H A D | plexsfc.c | 641 if (!PetscBTLookup(rootbt, donor_face)) continue; in DMPlexCorrectOrientationForIsoperiodic() 910 if (!PetscBTLookup(rootbt, p)) continue; in DMPlexCreateIsoperiodicPointSF_Private()
|
| H A D | plexdistribute.c | 395 if (PetscBTLookup(neighbors, proc)) ++numNeighbors; in DMPlexCreateTwoSidedProcessSF() 401 if (PetscBTLookup(neighbors, proc)) { in DMPlexCreateTwoSidedProcessSF()
|
| H A D | plex.c | 1272 if (wp && !PetscBTLookup(wp, v - pStart)) continue; in DMPlexView_Ascii() 1318 if (wp && !PetscBTLookup(wp, e - pStart)) continue; in DMPlexView_Ascii() 1361 if (wp && !PetscBTLookup(wp, e - pStart)) continue; in DMPlexView_Ascii() 1379 if (wp && !PetscBTLookup(wp, c - pStart)) continue; in DMPlexView_Ascii() 1435 if (wp && !PetscBTLookup(wp, c - pStart)) continue; in DMPlexView_Ascii() 2951 if (blst && PetscBTLookup(blst, p)) bstate = PETSC_BOOL3_UNKNOWN; in DMCreateMatrix_Plex() 2955 …else if (bstate == PETSC_BOOL3_TRUE && blst && !PetscBTLookup(blst, p)) bstate = PETSC_BOOL3_FALSE; in DMCreateMatrix_Plex()
|
| H A D | plexcreate.c | 6961 if (PetscBTLookup(bt, w)) { in DMPlexCreateSTLFromFile() 7008 if (PetscBTLookup(bt, tv)) { in DMPlexCreateSTLFromFile()
|
| /petsc/include/ |
| H A D | petscbt.h | 46 static inline PetscByte PetscBTLookup(PetscBT array, PetscCount index) in PetscBTLookup() function 74 const PetscByte ret = PetscBTLookup(array, index); in PetscBTLookupSet() 81 const PetscByte ret = PetscBTLookup(array, index); in PetscBTLookupClear()
|
| H A D | petsclog.h | 147 …tIsActive(state, stage, event) ((stage >= 0) && PetscBTLookup((state)->active, (stage)) && PetscBT…
|
| /petsc/src/sys/classes/viewer/utils/ |
| H A D | btview.c | 10 …PetscViewerASCIISynchronizedPrintf(viewer, "%" PetscCount_FMT " %hhu\n", i, PetscBTLookup(bt, i))); in PetscBTView()
|
| /petsc/src/vec/is/utils/ |
| H A D | kdtree.c | 384 …PetscCall(PetscKDTreeQuery_Recurse(tree, point, stem.less_equal_handle, PetscBTLookup(&stem.are_ha… in PetscKDTreeQuery_Recurse() 388 …PetscCall(PetscKDTreeQuery_Recurse(tree, point, stem.greater_handle, PetscBTLookup(&stem.are_handl… in PetscKDTreeQuery_Recurse() 392 …PetscCall(PetscKDTreeQuery_Recurse(tree, point, stem.greater_handle, PetscBTLookup(&stem.are_handl… in PetscKDTreeQuery_Recurse() 396 …PetscCall(PetscKDTreeQuery_Recurse(tree, point, stem.less_equal_handle, PetscBTLookup(&stem.are_ha… in PetscKDTreeQuery_Recurse() 480 …s=%" PetscCount_FMT "\n", i, (PetscInt)stem.axis, (double)stem.split, PetscBTLookup(&stem.are_hand… in PetscKDTreeView() 481 …stem.greater_handle, PetscBTLookup(&stem.are_handles_leaves, LESS_EQUAL_BIT) ? "Leaf" : "Stem", st… in PetscKDTreeView()
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | sbaijov.c | 275 …if (proc_id < proc_end && !PetscBTLookup(table[proc_id], idx)) continue; /* no need for sending id… in MatIncreaseOverlap_MPISBAIJ_Once() 529 if (PetscBTLookup(table0, row + rstart)) { /* row is on input is[i]: in MatIncreaseOverlap_MPISBAIJ_Local() 546 if (PetscBTLookup(table0, col)) { in MatIncreaseOverlap_MPISBAIJ_Local() 554 if (PetscBTLookup(table0, col)) { in MatIncreaseOverlap_MPISBAIJ_Local()
|
| /petsc/src/sys/logging/state/ |
| H A D | logstate.c | 216 if (PetscBTLookup(state->active, 0 + e * state->bt_num_stages)) { in PetscLogStateStageRegister() 335 *isActive = PetscBTLookup(state->active, stage) ? PETSC_TRUE : PETSC_FALSE; in PetscLogStateStageGetActive()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcgraph.c | 338 if (PetscUnlikely(PetscBTLookup(excluded, j))) continue; in PCBDDCGraphComputeConnectedComponents() 353 if (PetscUnlikely(PetscBTLookup(excluded, j))) continue; in PCBDDCGraphComputeConnectedComponents() 372 if (PetscUnlikely(PetscBTLookup(excluded, j))) continue; in PCBDDCGraphComputeConnectedComponents() 397 …if (PetscUnlikely(PetscBTLookup(excluded, j)) || j == point1 || j == point2 || j == point3) contin… in PCBDDCGraphComputeConnectedComponents() 414 if (PetscUnlikely(PetscBTLookup(excluded, j))) continue; in PCBDDCGraphComputeConnectedComponents() 446 if (cornerp && PetscBTLookup(cornerp, graph->queue[j])) { in PCBDDCGraphComputeConnectedComponents()
|
| H A D | bddcprivate.c | 513 …if ((ecount[i] > 2 && !PetscBTLookup(btbd, i)) || (ecount[i] == 2 && PetscBTLookup(btb, i))) Petsc… in PCBDDCNedelecSupport() 525 if (!PetscBTLookup(btee, i)) { in PCBDDCNedelecSupport() 547 if (!PetscBTLookup(btee, jjt[k])) nconn--; in PCBDDCNedelecSupport() 679 if (PetscBTLookup(btbd, e)) { in PCBDDCNedelecSupport() 717 if (PetscBTLookup(btvcand, i)) { in PCBDDCNedelecSupport() 721 if (PetscBTLookup(bte, e)) continue; in PCBDDCNedelecSupport() 724 if (v != i && PetscBTLookup(btvcand, v)) { in PCBDDCNedelecSupport() 769 if (PetscUnlikely(PetscBTLookup(btv, i))) sfvleaves[i] = 1; in PCBDDCNedelecSupport() 796 } else if (!PetscBTLookup(btvi, i)) vmarks[cum++] = i; in PCBDDCNedelecSupport() 825 if (PetscUnlikely(PetscBTLookup(bte, i))) marks[cum++] = i; in PCBDDCNedelecSupport() [all …]
|
| H A D | bddcschurs.c | 1522 if (!PetscBTLookup(sub_schurs->is_edge, i)) PetscCall(MatSetType(M, Stype)); in PCBDDCSubSchursSetUp() 2234 if (!PetscBTLookup(touched, dof)) { in PCBDDCAdjGetNextLayer_Private()
|
| /petsc/src/vec/is/is/utils/ |
| H A D | isdiff.c | 81 if (PetscBTLookup(mask, i)) nout++; in ISDifference() 88 if (PetscBTLookup(mask, i)) iout[nout++] = i + imin; in ISDifference()
|
| /petsc/src/sys/logging/handler/impls/default/ |
| H A D | logdefault.c | 783 if (PetscBTLookup(state->active, current_stage)) { in PetscLogHandlerStagePush_Default() 793 …if (PetscBTLookup(state->active, new_stage)) PetscCall(PetscEventPerfInfoTic(&new_stage_info->perf… in PetscLogHandlerStagePush_Default() 812 …if (PetscBTLookup(state->active, old_stage)) PetscCall(PetscEventPerfInfoToc(&old_stage_info->perf… in PetscLogHandlerStagePop_Default() 814 if (PetscBTLookup(state->active, current_stage)) { in PetscLogHandlerStagePop_Default()
|
| /petsc/src/dm/impls/network/ |
| H A D | network.c | 243 if (PetscBTLookup(table, j)) nvtx++; in DMNetworkAddSubnetwork() 1885 …if (PetscBTLookup(btable, net)) newDMnetwork->cloneshared->subnet[net].nvtx++; /* sv is on net own… in DMNetworkDistribute() 1937 …if (PetscBTLookup(btable, net)) newDMnetwork->cloneshared->subnet[net].vertices[newDMnetwork->clon… in DMNetworkDistribute()
|
| /petsc/src/dm/label/ |
| H A D | dmlabel.c | 933 …*contains = point >= pStart && point < pEnd && (PetscBTLookup(label->bt, point - label->pStart) ? … in DMLabelHasPoint() 1394 if (PetscBTLookup(global_values_bt, i)) { in DMLabelGetValueISGlobal()
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 129 …PetscBool force_constrained = (PetscBool)(constrained_dofs && PetscBTLookup(constrained_dofs, p - … in PetscSectionCopy_Internal() 150 …PetscBool force_constrained = (PetscBool)(constrained_dofs && PetscBTLookup(constrained_dofs… in PetscSectionCopy_Internal()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaij2.c | 56 …if (PetscBTLookup(table_in, brow)) { /* brow is on nidx - row search: collect all bcol in this bro… in MatIncreaseOverlap_SeqSBAIJ() 70 if (PetscBTLookup(table_in, bcol)) { in MatIncreaseOverlap_SeqSBAIJ()
|
| /petsc/src/mat/impls/is/ |
| H A D | matis.c | 1867 if (!PetscBTLookup(work, i)) break; in MatConvert_IS_XAIJ() 1883 if (!PetscBTLookup(work, i)) break; in MatConvert_IS_XAIJ()
|
| /petsc/src/dm/impls/da/ |
| H A D | fdda.c | 788 if (!PetscBTLookup(bt, i)) gidx[i] = -1; in DMCreateMatrix_DA_IS()
|