Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 40) sorted by relevance

12

/petsc/src/ksp/pc/impls/factor/cholesky/
H A Dcholesky.c9 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 Dqr.c19 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 Dqr.h9 PC_Factor hdr; member
/petsc/src/dm/impls/plex/tests/
H A Dex69.c642 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 Dlu.c49 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 Dlu.h9 PC_Factor hdr; member
/petsc/src/vec/vec/impls/mpi/
H A Dpbvec.c146 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 Dtype_traits.hpp126 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 Dicc.h8 PC_Factor hdr; member
H A Dicc.c39 icc->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_ICC()
/petsc/src/ksp/pc/impls/factor/ilu/
H A Dilu.h9 PC_Factor hdr; member
H A Dilu.c22 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.py448 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 Dssils.c127 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_SSILS()
132 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_SSILS()
H A Dssfls.c137 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 Dmatstash.c789 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 Dasils.c310 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_ASILS()
315 PetscCall(KSPSetOptionsPrefix(tao->ksp, tao->hdr.prefix)); in TaoCreate_ASILS()
H A Dasfls.c314 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 Dplexadapt.c261 …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 Dgpcg.c335 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 Dtron.c358 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 Dlmvm.c269 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_LMVM()
/petsc/src/tao/unconstrained/impls/cg/
H A Dtaocg.c299 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_CG()
/petsc/src/tao/unconstrained/impls/owlqn/
H A Dowlqn.c325 PetscCall(TaoLineSearchSetOptionsPrefix(tao->linesearch, tao->hdr.prefix)); in TaoCreate_OWLQN()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c684 …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()

12