| /petsc/src/vec/vec/utils/tagger/tutorials/ |
| H A D | ex1.c | 34 VecTaggerBox *boxes; in main() local 88 PetscCall(VecTaggerComputeBoxes(tagger, vec, &nint, &boxes, &listed)); in main() 105 … PetscCall(PetscViewerASCIIPrintf(viewer, "[%g,%g]", (double)boxes[k].min, (double)boxes[k].max)); in main() 107 …etscRealPart(boxes[k].min), (double)PetscImaginaryPart(boxes[k].min), (double)PetscRealPart(boxes[… in main() 116 PetscCall(PetscFree(boxes)); in main()
|
| /petsc/src/vec/vec/utils/tagger/impls/ |
| H A D | cdf.c | 24 …tedArray(const PetscReal *cArray, PetscInt m, const VecTaggerBoxReal *bxs, VecTaggerBoxReal *boxes) in VecTaggerComputeBox_CDF_SortedArray() argument 34 boxes->min = cArray[PetscMin(minInd, m - 1)]; in VecTaggerComputeBox_CDF_SortedArray() 35 boxes->max = cArray[PetscMax(minInd, maxInd - 1)]; in VecTaggerComputeBox_CDF_SortedArray() 39 …rCode VecTaggerComputeBoxes_CDF_Serial(VecTagger tagger, Vec vec, PetscInt bs, VecTaggerBox *boxes) in VecTaggerComputeBoxes_CDF_Serial() argument 71 PetscCall(VecTaggerComputeBox_CDF_SortedArray(cArray, m, &smpl->box[i], &boxes[i])); in VecTaggerComputeBoxes_CDF_Serial() 91 boxes[i].min = PetscCMPLX(realBoxes.min, imagBoxes.min); in VecTaggerComputeBoxes_CDF_Serial() 92 boxes[i].max = PetscCMPLX(realBoxes.max, imagBoxes.max); in VecTaggerComputeBoxes_CDF_Serial() 104 …rCode VecTaggerComputeBoxes_CDF_Gather(VecTagger tagger, Vec vec, PetscInt bs, VecTaggerBox *boxes) in VecTaggerComputeBoxes_CDF_Gather() argument 116 if (rank == 0) PetscCall(VecTaggerComputeBoxes_CDF_Serial(tagger, gVec, bs, boxes)); in VecTaggerComputeBoxes_CDF_Gather() 118 PetscCallMPI(MPI_Bcast(boxes, bs2, MPIU_SCALAR, 0, PetscObjectComm((PetscObject)vec))); in VecTaggerComputeBoxes_CDF_Gather() [all …]
|
| H A D | absolute.c | 4 …es_Absolute(VecTagger tagger, Vec vec, PetscInt *numBoxes, VecTaggerBox **boxes, PetscBool *listed) in VecTaggerComputeBoxes_Absolute() argument 18 *boxes = bxs; in VecTaggerComputeBoxes_Absolute()
|
| H A D | relative.c | 4 …es_Relative(VecTagger tagger, Vec vec, PetscInt *numBoxes, VecTaggerBox **boxes, PetscBool *listed) in VecTaggerComputeBoxes_Relative() argument 52 *boxes = bxs; in VecTaggerComputeBoxes_Relative()
|
| H A D | or.c | 49 …uteBoxes_Or(VecTagger tagger, Vec vec, PetscInt *numBoxes, VecTaggerBox **boxes, PetscBool *listed) in VecTaggerComputeBoxes_Or() argument 102 *boxes = bxs; in VecTaggerComputeBoxes_Or()
|
| H A D | and.c | 49 …teBoxes_And(VecTagger tagger, Vec vec, PetscInt *numBoxes, VecTaggerBox **boxes, PetscBool *listed) in VecTaggerComputeBoxes_And() argument 122 *boxes = bxs; in VecTaggerComputeBoxes_And()
|
| /petsc/src/vec/vec/utils/tagger/interface/ |
| H A D | tagger.c | 369 …ComputeBoxes(VecTagger tagger, Vec vec, PetscInt *numBoxes, VecTaggerBox *boxes[], PetscBool *list… in VecTaggerComputeBoxes() argument 377 PetscAssertPointer(boxes, 4); in VecTaggerComputeBoxes() 383 PetscUseTypeMethod(tagger, computeboxes, vec, numBoxes, boxes, listed); in VecTaggerComputeBoxes() 425 VecTaggerBox *boxes; in VecTaggerComputeIS_FromBoxes() local 435 PetscCall(VecTaggerComputeBoxes(tagger, vec, &numBoxes, &boxes, &boxlisted)); in VecTaggerComputeIS_FromBoxes() 458 box = boxes[l]; in VecTaggerComputeIS_FromBoxes() 475 PetscCall(PetscFree(boxes)); in VecTaggerComputeIS_FromBoxes()
|
| /petsc/src/vec/vec/utils/tagger/tutorials/output/ |
| H A D | ex1_2.out | 19 Num boxes: 1
|
| H A D | ex1_3.out | 19 Num boxes: 1
|
| H A D | ex1_5.out | 19 Num boxes: 1
|
| H A D | ex1_4.out | 20 Num boxes: 1
|
| H A D | ex1_0.out | 19 Num boxes: 1
|
| H A D | ex1_15.out | 19 Num boxes: 1
|
| H A D | ex1_14.out | 20 Num boxes: 1
|
| H A D | ex1_12.out | 19 Num boxes: 1
|
| H A D | ex1_13.out | 19 Num boxes: 1
|
| H A D | ex1_10.out | 19 Num boxes: 1
|
| H A D | ex1_6.out | 23 Num boxes: 1
|
| H A D | ex1_7.out | 24 Num boxes: 1
|
| H A D | ex1_1.out | 22 Num boxes: 1
|
| H A D | ex1_9.out | 30 Num boxes: 1
|
| H A D | ex1_16.out | 23 Num boxes: 1
|
| H A D | ex1_8.out | 30 Num boxes: 2
|
| H A D | ex1_11.out | 22 Num boxes: 1
|
| H A D | ex1_17.out | 24 Num boxes: 1
|