| /petsc/src/ksp/pc/impls/factor/cholesky/ |
| H A D | cholesky.c | 9 PC_Factor hdr; member 32 if (dir->hdr.reusefill && pc->setupcalled) ((PC_Factor *)dir)->info.fill = dir->hdr.actualfill; in PCSetUp_Cholesky() 38 if (dir->hdr.inplace) { in PCSetUp_Cholesky() 92 dir->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_Cholesky() 96 if (!dir->hdr.reuseordering) { in PCSetUp_Cholesky() 122 dir->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_Cholesky() 157 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_Cholesky() 181 if (dir->hdr.inplace) { in PCApply_Cholesky() 194 if (dir->hdr.inplace) { in PCMatApply_Cholesky() 207 if (dir->hdr.inplace) { in PCApplySymmetricLeft_Cholesky() [all …]
|
| /petsc/src/ksp/pc/impls/factor/qr/ |
| H A D | qr.c | 19 if (dir->hdr.reusefill && pc->setupcalled) ((PC_Factor *)dir)->info.fill = dir->hdr.actualfill; in PCSetUp_QR() 22 if (dir->hdr.inplace) { in PCSetUp_QR() 42 dir->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_QR() 46 dir->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_QR() 77 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_QR() 101 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCApply_QR() 112 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCMatApply_QR() 123 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCApplyTranspose_QR()
|
| H A D | qr.h | 9 PC_Factor hdr; member
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex69.c | 642 PetscCall(PetscCommDestroy(&(*dm)->hdr.comm)); in CreateQuadMesh1() 643 PetscCall(PetscCommDuplicate(comm, &(*dm)->hdr.comm, &(*dm)->hdr.tag)); in CreateQuadMesh1() 644 PetscCallMPI(MPI_Comm_get_attr((*dm)->hdr.comm, Petsc_CreationIdx_keyval, &get_tmp, &iflg)); in CreateQuadMesh1() 645 …PetscCheck(iflg, (*dm)->hdr.comm, PETSC_ERR_ARG_CORRUPT, "MPI_Comm does not have an object creatio… in CreateQuadMesh1() 647 (*dm)->hdr.cidx = (*cidx)++; in CreateQuadMesh1() 775 PetscCall(PetscCommDestroy(&(*dm)->hdr.comm)); in CreateHexMesh1() 776 PetscCall(PetscCommDuplicate(comm, &(*dm)->hdr.comm, &(*dm)->hdr.tag)); in CreateHexMesh1() 777 PetscCallMPI(MPI_Comm_get_attr((*dm)->hdr.comm, Petsc_CreationIdx_keyval, &get_tmp, &iflg)); in CreateHexMesh1() 778 …PetscCheck(iflg, (*dm)->hdr.comm, PETSC_ERR_ARG_CORRUPT, "MPI_Comm does not have an object creatio… in CreateHexMesh1() 780 (*dm)->hdr.cidx = (*cidx)++; in CreateHexMesh1()
|
| /petsc/src/ksp/pc/impls/factor/lu/ |
| H A D | lu.c | 49 if (dir->hdr.reusefill && pc->setupcalled) ((PC_Factor *)dir)->info.fill = dir->hdr.actualfill; in PCSetUp_LU() 55 if (dir->hdr.inplace) { in PCSetUp_LU() 93 dir->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_LU() 99 if (!dir->hdr.reuseordering) { in PCSetUp_LU() 116 dir->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_LU() 151 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_LU() 175 if (dir->hdr.inplace) { in PCApply_LU() 188 if (dir->hdr.inplace) { in PCMatApply_LU() 201 if (dir->hdr.inplace) { in PCApplyTranspose_LU() 214 if (dir->hdr.inplace) { in PCMatApplyTranspose_LU()
|
| H A D | lu.h | 9 PC_Factor hdr; member
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pbvec.c | 146 VecAssemblyHeader *hdr = (VecAssemblyHeader *)sdata; in VecAssemblySend_MPI_Private() local 154 if (hdr->count || (x->first_assembly_done && x->sendptrs[rankid].ints)) { in VecAssemblySend_MPI_Private() 155 …PetscCallMPI(MPIU_Isend(x->sendptrs[rankid].ints, hdr->count, MPIU_INT, rank, tag[0], comm, &req[0… in VecAssemblySend_MPI_Private() 156 …PetscCallMPI(MPIU_Isend(x->sendptrs[rankid].scalars, hdr->count, MPIU_SCALAR, rank, tag[1], comm, … in VecAssemblySend_MPI_Private() 158 if (hdr->bcount || (x->first_assembly_done && x->sendptrs[rankid].intb)) { in VecAssemblySend_MPI_Private() 159 …PetscCallMPI(MPIU_Isend(x->sendptrs[rankid].intb, hdr->bcount, MPIU_INT, rank, tag[2], comm, &req[… in VecAssemblySend_MPI_Private() 160 …PetscCallMPI(MPIU_Isend(x->sendptrs[rankid].scalarb, hdr->bcount * bs, MPIU_SCALAR, rank, tag[3], … in VecAssemblySend_MPI_Private() 169 VecAssemblyHeader *hdr = (VecAssemblyHeader *)rdata; in VecAssemblyRecv_MPI_Private() local 176 if (hdr->count) { in VecAssemblyRecv_MPI_Private() 177 PetscCall(PetscSegBufferGet(x->segrecvint, hdr->count, &frame->ints)); in VecAssemblyRecv_MPI_Private() [all …]
|
| /petsc/include/petsc/private/cpp/ |
| H A D | type_traits.hpp | 126 struct is_derived_petsc_object_impl<T, decltype(T::hdr)> : conditional_t<std::is_class<T>::value &&… 134 int hdr; member 138 _p_PetscObject hdr; member 144 _p_PetscObject hdr; member
|
| /petsc/src/ksp/pc/impls/factor/icc/ |
| H A D | icc.h | 8 PC_Factor hdr; member
|
| H A D | icc.c | 39 icc->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_ICC()
|
| /petsc/src/ksp/pc/impls/factor/ilu/ |
| H A D | ilu.h | 9 PC_Factor hdr; member
|
| H A D | ilu.c | 22 if (!ilu->hdr.inplace) PetscCall(MatDestroy(&((PC_Factor *)ilu)->fact)); in PCReset_ILU() 95 if (ilu->hdr.inplace) { in PCSetUp_ILU() 135 ilu->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_ILU() 139 if (!ilu->hdr.reuseordering) { in PCSetUp_ILU() 155 ilu->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_ILU()
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _utility.py | 448 mega_header_lines = [(hdr, hfi) for hdr, hfi in mega_header_lines if hdr not in diags]
|
| /petsc/src/tao/complementarity/impls/ssls/ |
| H A D | ssils.c | 127 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_SSILS() 132 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_SSILS()
|
| H A D | ssfls.c | 137 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_SSFLS() 142 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_SSFLS()
|
| /petsc/src/mat/utils/ |
| H A D | matstash.c | 789 MatStashHeader *hdr = (MatStashHeader *)sdata; in MatStashBTSSend_Private() local 793 …PetscCallMPI(MPIU_Isend(stash->sendframes[rankid].buffer, hdr->count, stash->blocktype, rank, tag[… in MatStashBTSSend_Private() 794 stash->sendframes[rankid].count = hdr->count; in MatStashBTSSend_Private() 806 MatStashHeader *hdr = (MatStashHeader *)rdata; in MatStashBTSRecv_Private() local 811 PetscCall(PetscSegBufferGet(stash->segrecvblocks, hdr->count, &frame->buffer)); in MatStashBTSRecv_Private() 812 …PetscCallMPI(MPIU_Irecv(frame->buffer, hdr->count, stash->blocktype, rank, tag[0], comm, &req[0])); in MatStashBTSRecv_Private() 813 frame->count = hdr->count; in MatStashBTSRecv_Private()
|
| /petsc/src/tao/complementarity/impls/asls/ |
| H A D | asils.c | 310 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_ASILS() 315 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_ASILS()
|
| H A D | asfls.c | 314 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_ASFLS() 319 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_ASFLS()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexadapt.c | 261 …PetscCall(PetscOptionsGetString(NULL, dm->hdr.prefix, "-dm_plex_coarsen_bd_label", bdLabelName, si… in DMPlexCoarsen_Internal() 263 …PetscCall(PetscOptionsGetString(NULL, dm->hdr.prefix, "-dm_plex_coarsen_rg_label", rgLabelName, si… in DMPlexCoarsen_Internal()
|
| /petsc/src/tao/quadratic/impls/gpcg/ |
| H A D | gpcg.c | 335 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_GPCG() 342 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_GPCG()
|
| /petsc/src/tao/bound/impls/tron/ |
| H A D | tron.c | 358 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_TRON() 362 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_TRON()
|
| /petsc/src/tao/unconstrained/impls/lmvm/ |
| H A D | lmvm.c | 269 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_LMVM()
|
| /petsc/src/tao/unconstrained/impls/cg/ |
| H A D | taocg.c | 299 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_CG()
|
| /petsc/src/tao/unconstrained/impls/owlqn/ |
| H A D | owlqn.c | 325 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_OWLQN()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 684 …PetscCall(PetscInfo(v, "Writing Vec %s storage version %d.%d.%d\n", v->hdr.name, version->major, v… in VecView_Plex_HDF5_Internal() 1052 …PetscCall(PetscInfo(dm, "Writing DM %s storage version %d.%d.%d\n", dm->hdr.name, version->major, … in DMPlexTopologyView_HDF5_Internal() 1289 …PetscCall(PetscOptionsGetBool(NULL, dm->hdr.prefix, "-dm_plex_view_coordinate_section", &viewSecti… in DMPlexCoordinatesView_HDF5_Internal() 1462 …PetscCall(PetscOptionsGetBool(NULL, dm->hdr.prefix, "-dm_plex_omit_celltypes", &omitCelltypes, NUL… in DMPlexLabelsView_HDF5_Internal() 1581 PetscCall(PetscOptionsGetBool(NULL, dm->hdr.prefix, "-dm_plex_view_labels", &viewLabels, NULL)); in DMPlexView_HDF5_Internal() 2151 PetscCall(PetscInfo(dm, "Loading DM %s in serial\n", dm->hdr.name)); in DMPlexTopologyLoad_HDF5_Legacy_Private() 2635 PetscCall(PetscInfo(dm, "Loading DM %s in parallel\n", dm->hdr.name)); in DMPlexTopologyLoad_HDF5_Private() 2841 …PetscCall(PetscInfo(dm, "Loading DM %s storage version %d.%d.%d\n", dm->hdr.name, version->major, … in DMPlexLoad_HDF5_Internal()
|