Home
last modified time | relevance | path

Searched +defs:c +defs:mode (Results 1 – 25 of 37) sorted by relevance

12

/petsc/src/dm/dt/fe/interface/
H A Dfegeom.c19 …reate(PetscQuadrature quad, PetscInt numCells, PetscInt dimEmbed, PetscFEGeomMode mode, PetscFEGeo… in PetscFEGeomCreate()
160 PetscErrorCode PetscFEGeomGetPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, const PetscReal pcoor… in PetscFEGeomGetPoint()
212 PetscErrorCode PetscFEGeomGetCellPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, PetscFEGeom *pgeo… in PetscFEGeomGetCellPoint()
/petsc/src/sys/classes/viewer/interface/
H A Dview.c404 PetscInt c, i = 0, cnt; in PetscViewerRead() local
460 PetscFileMode mode; in PetscViewerReadable() local
502 PetscFileMode mode; in PetscViewerWritable() local
/petsc/src/sys/objects/device/tests/
H A Dex11.cxx19 PetscMemoryAccessMode mode{}; member
136 … const auto check_applied_mode = [&](PetscContainer container, PetscMemoryAccessMode mode) { in TestAllCombinations()
181 …:vector<PetscDeviceContext>>> make_map_entry(PetscObjectId id, PetscMemoryAccessMode mode, T &&...… in make_map_entry()
248 …const auto create_container = [&](PetscContainer *c, const char name[], PetscObjectId *id)… in main()
/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c82 PetscInt n, N, cStart, cEnd, c; in DMGlobalToLocalSolve() local
188 PetscErrorCode DMProjectField(DM dm, PetscReal time, Vec U, PetscPointFn **funcs, InsertMode mode, … in DMProjectField()
311 PetscInt ncols, c; in DMAdaptInterpolator() local
497 …ields_Plex_Internal(DM sw, DM dm, PetscInt Nf, const char *fieldnames[], Vec vec, ScatterMode mode) in DMSwarmProjectFields_Plex_Internal()
613 …nal(DM swarm, DM celldm, PetscInt nfields, DMSwarmDataField dfield[], Vec vecs[], ScatterMode mode) in DMSwarmProjectFields_DA_Internal()
675 …ectFields(DM sw, DM dm, PetscInt nfields, const char *fieldnames[], Vec fields[], ScatterMode mode) in DMSwarmProjectFields()
793 …ields_Plex_Internal(DM sw, DM dm, PetscInt Nf, const char *fieldnames[], Vec vec, ScatterMode mode) in DMSwarmProjectGradientFields_Plex_Internal()
818 …entFields(DM sw, DM dm, PetscInt nfields, const char *fieldnames[], Vec fields[], ScatterMode mode) in DMSwarmProjectGradientFields()
895 for (PetscInt c = 0, p = 0; c < cEnd - cStart; ++c) { in InitializeParticles_Regular() local
920 for (PetscInt c = 0; c < cEnd - cStart; ++c) { in InitializeParticles_Regular() local
[all …]
/petsc/src/vec/vec/utils/tagger/impls/
H A Dandor.c33 …rCode VecTaggerSetSubs_AndOr(VecTagger tagger, PetscInt nsubs, VecTagger *subs, PetscCopyMode mode) in VecTaggerSetSubs_AndOr()
180 …t_Private(PetscInt bs, const VecTaggerBox *a, const VecTaggerBox *b, VecTaggerBox *c, PetscBool *e… in VecTaggerAndOrIntersect_Private()
/petsc/src/dm/interface/
H A Ddm.c615 static PetscErrorCode DMDestroyCoordinates_Private(DMCoordinates *c) in DMDestroyCoordinates_Private()
1128 PetscInt bdof, cdof, dof, off, c, cind; in DMGetLocalToGlobalMapping() local
2778 …lobalToLocalHookAdd(DM dm, PetscErrorCode (*beginhook)(DM dm, Vec g, InsertMode mode, Vec l, Petsc… in DMGlobalToLocalHookAdd()
2794 static PetscErrorCode DMGlobalToLocalHook_Constraints(DM dm, Vec g, InsertMode mode, Vec l, PetscCt… in DMGlobalToLocalHook_Constraints()
2852 PetscErrorCode DMGlobalToLocal(DM dm, Vec g, InsertMode mode, Vec l) in DMGlobalToLocal()
2884 PetscErrorCode DMGlobalToLocalBegin(DM dm, Vec g, InsertMode mode, Vec l) in DMGlobalToLocalBegin()
2930 PetscErrorCode DMGlobalToLocalEnd(DM dm, Vec g, InsertMode mode, Vec l) in DMGlobalToLocalEnd()
2991 …ToGlobalHookAdd(DM dm, PetscErrorCode (*beginhook)(DM global, Vec l, InsertMode mode, Vec g, Petsc… in DMLocalToGlobalHookAdd()
3007 static PetscErrorCode DMLocalToGlobalHook_Constraints(DM dm, Vec l, InsertMode mode, Vec g, PetscCt… in DMLocalToGlobalHook_Constraints()
3070 PetscErrorCode DMLocalToGlobal(DM dm, Vec l, InsertMode mode, Vec g) in DMLocalToGlobal()
[all …]
/petsc/src/ksp/ksp/utils/lmvm/rescale/
H A Dsymbrdnrescale.c11 PetscReal a, b, c, signew; in SymBroydenRescaleUpdateScalar() local
266 PetscReal c = (ldb->alpha - 1.0) * ss_sum; in SymBroydenRescaleUpdateDiagonal() local
506 …C_INTERN PetscErrorCode SymBroydenRescaleReset(Mat B, SymBroydenRescale ldb, MatLMVMResetMode mode) in SymBroydenRescaleReset()
/petsc/src/dm/impls/swarm/
H A Dswarmpic.c344 …ntsUniformCoordinates(DM sw, PetscReal min[], PetscReal max[], PetscInt npoints[], InsertMode mode) in DMSwarmSetPointsUniformCoordinates()
498 …etPointCoordinates(DM sw, PetscInt npoints, PetscReal coor[], PetscBool redundant, InsertMode mode) in DMSwarmSetPointCoordinates()
991 PetscInt Ns, cStart, cEnd, c, dim, d, Nq, q, Np = 0, p, s; in DMSwarmComputeLocalSize() local
1154 PetscInt cStart, cEnd, c; in DMSwarmInitializeCoordinates() local
1301 …ProjectFieldLocal_Swarm(DM dm, PetscReal time, Vec U, PetscPointFn **funcs, InsertMode mode, Vec X) in DMProjectFieldLocal_Swarm()
H A Dswarm.c556 for (PetscInt c = 0; c < Nc; ++c) { in DMSwarmComputeMassMatrix_Private() local
614 for (PetscInt c = 0; c < Nc; ++c) { in DMSwarmComputeMassMatrix_Private() local
623 for (PetscInt c = 0; c < Nc; ++c) rowIDXs[j * Nc + c] = cindices[j] * totNc + c + rStart; in DMSwarmComputeMassMatrix_Private() local
839 for (PetscInt c = 0; c < Nc; ++c) { in DMSwarmComputeMassMatrixSquare_Private() local
2214 PetscInt dim, d, cStart, cEnd, c, p, Nfc; in DMSwarmSetPointCoordinatesRandom() local
2662 const PetscReal *c = &coords[p * bsc]; in DMSwarmComputeMoments() local
2895 for (PetscInt c = 0; c < Ndm; ++c) { in DMSwarmDuplicate() local
2918 PetscErrorCode DMLocalToGlobalBegin_Swarm(DM dm, Vec l, InsertMode mode, Vec g) in DMLocalToGlobalBegin_Swarm()
2924 PetscErrorCode DMLocalToGlobalEnd_Swarm(DM dm, Vec l, InsertMode mode, Vec g) in DMLocalToGlobalEnd_Swarm()
2940 PetscErrorCode DMGlobalToLocalBegin_Swarm(DM dm, Vec g, InsertMode mode, Vec l) in DMGlobalToLocalBegin_Swarm()
[all …]
/petsc/src/mat/impls/aij/seq/lusol/
H A Dlusol.c194 int mode = 5; in MatSolve_LUSOL() local
300 static PetscErrorCode MatLUFactorSymbolic_LUSOL(Mat F, Mat A, IS r, IS c, const MatFactorInfo *info) in MatLUFactorSymbolic_LUSOL()
/petsc/src/mat/impls/aij/seq/kokkos/
H A Daijkok.kokkos.cxx63 static PetscErrorCode MatAssemblyEnd_SeqAIJKokkos(Mat A, MatAssemblyType mode) in MatAssemblyEnd_SeqAIJKokkos()
411 const char *mode; in MatMultTranspose_SeqAIJKokkos() local
441 const char *mode; in MatMultHermitianTranspose_SeqAIJKokkos() local
493 const char *mode; in MatMultTransposeAdd_SeqAIJKokkos() local
524 const char *mode; in MatMultHermitianTransposeAdd_SeqAIJKokkos() local
807 Mat_SeqAIJ *c; in MatProductNumeric_SeqAIJKokkos_SeqAIJKokkos() local
1525 …for (PetscInt c = 0; c < m; c++) { // walk n steps to see what column indices we… in MatInvertVariableBlockDiagonal_SeqAIJKokkos() local
1537 for (PetscInt c = 0; c < m; c++) B(r, c) = 0.0; in MatInvertVariableBlockDiagonal_SeqAIJKokkos() local
/petsc/include/
H A Dpetscviewer.h194 #define PetscOptionsViewer(a, b, c, d, e, f) PetscOptionsViewer_Private(PetscOptionsObject, a, b, c… argument
307 …ode()", ) static inline PetscErrorCode PetscViewerVUSetMode(PetscViewer viewer, PetscFileMode mode) in PetscViewerVUSetMode()
/petsc/src/dm/impls/moab/
H A Ddmmbutil.cxx198 …x &genCtx, PetscInt m, PetscInt n, PetscInt k, PetscInt a, PetscInt b, PetscInt c, moab::Tag &glob… in DMMoab_GenerateVertices_Private()
252 …x &genCtx, PetscInt m, PetscInt n, PetscInt k, PetscInt a, PetscInt b, PetscInt c, moab::Tag &glob… in DMMoab_GenerateElements_Private()
502 PetscInt a, b, c, n, global_size, global_rank; in DMMoabCreateBoxMesh() local
785 …PetscBool by_rank, PetscInt numproc, PetscInt dim, PetscInt nghost, MoabReadMode mode, PetscInt db… in DMMoab_GetReadOptions_Private()
/petsc/src/vec/vec/utils/
H A Dprojection.c549 PetscErrorCode VecISCopy(Vec vfull, IS is, ScatterMode mode, Vec vreduced) in VecISCopy()
658 PetscErrorCode VecISSet(Vec V, IS S, PetscScalar c) in VecISSet()
703 PetscErrorCode VecISShift(Vec V, IS S, PetscScalar c) in VecISShift()
/petsc/src/dm/impls/plex/
H A Dplexfem.c59 …exGetFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscFEGeomMode mode, PetscFEGeo… in DMPlexGetFEGeom()
82 …storeFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscFEGeomMode mode, PetscFEGeo… in DMPlexRestoreFEGeom()
254 …rivate(PetscInt dim, PetscReal t, const PetscReal X[], PetscInt Nc, PetscScalar *mode, PetscCtx ct… in DMPlexProjectRigidBody_Private()
302 Vec mode[6]; in DMPlexCreateRigidBody() local
393 Vec *mode; in DMPlexCreateRigidBodies() local
743 PetscInt Nf, f, g, Np, cpf, cpg, fdof, gdof, r, c = 0; in DMPlexBasisTransformPointTensor_Internal() local
1136 PetscInt c; in zero() local
1469 …, coordDim, numFields, numComponents = 0, qNc, Nq, cellHeight, cStart, cEnd, c, field, fieldOffset; in DMPlexComputeL2DiffLocal() local
1594 …PetscInt dim, coordDim, qNc = 0, Nq = 0, numFields, numComponents = 0, cStart, cEnd, c, fi… in DMComputeL2GradientDiff_Plex() local
1737 PetscInt qNc, Nq, totNc, cStart = 0, cEnd, c, dsNf; in DMComputeL2FieldDiff_Plex() local
[all …]
H A Dplex.c127 PetscInt cdim, pStart, pEnd, vStart, vEnd, cStart, cEnd, c, depth, cellHeight, t; in DMPlexGetFieldTypes_Internal() local
311 for (PetscInt c = 0; c < Nc[f]; ++c, ++l) { in DMPlexVecView1D() local
424 PetscInt dim, Nf, f, Nc, comp, vStart, vEnd, cStart, cEnd, c, N, level, step, w = 0; in VecView_Plex_Local_Draw_2D() local
914 PetscInt dim, pStart, pEnd, cStart, cEnd, c; in DMPlexView_Ascii_Geometry() local
1055 PetscInt dof, off, c; in DMPlexView_Ascii() local
1147 …PetscInt numLabels, l, numColors, numLColors, dim, d, depth, cStart, cEnd, c, vStart, vEnd, v,… in DMPlexView_Ascii() local
1538 PetscInt i, c, cStart, cEnd, cum, numVertices, ect, ectn, cellHeight; in DMPlexView_Ascii() local
1950 …PetscInt dim, vStart, vEnd, cStart, cEnd, c, cDegree, edgeDiv, lineColor = PETSC_DETERMINE, ce… in DMPlexView_Draw() local
2094 PetscInt cStart, cEnd, c; in DMView_Plex() local
3445 PetscInt dof, off, c; in DMPlexSetCone() local
[all …]
H A Dplexsfc.c60 Ijk c; in ZCodeSplit() local
69 static ZCode ZEncode(Ijk c) in ZEncode()
339 static PetscErrorCode DMCoordAddPeriodicOffsets_Private(DM dm, Vec g, InsertMode mode, Vec l, Petsc… in DMCoordAddPeriodicOffsets_Private()
727 …for (PetscInt c = 0; c < p2d_count; c++) PetscCheck(periodic2donor[2 * c + 1] != donor_vertex, com… in DMPlexCorrectOrientationForIsoperiodic() local
773 for (PetscInt c = 0; c < periodic_cone_size; c++) { in DMPlexCorrectOrientationForIsoperiodic() local
914 PetscInt c = closure[2 * j]; in DMPlexCreateIsoperiodicPointSF_Private() local
947 PetscInt c = closure[2 * j]; in DMPlexCreateIsoperiodicPointSF_Private() local
/petsc/src/dm/dt/fe/tests/
H A Dex2.c94 …ngeGetFEGeom(IS cellIS, DMField coordField, PetscQuadrature quad, PetscFEGeomMode mode, PetscFEGeo… in CellRangeGetFEGeom()
177 PetscInt dim, Nb, b, Nc, c, Np, p; in TestEvaluation() local
/petsc/src/vec/is/section/interface/
H A Dsection.c98 PetscInt numFields, f, c, pStart, pEnd, p; in PetscSectionCopy_Internal() local
590 PetscInt c; in PetscSectionSetFieldComponents() local
2029 PetscInt nF, f, c, pStart, pEnd, p, maxCdof = 0; in PetscSectionCreateSubsection() local
2153 for (PetscInt c = 0; c < len; ++c) { in PetscSectionCreateComponentSubsection() local
2298 PetscInt numFields, f, c, numSubpoints = 0, pStart, pEnd, p, spStart, spEnd, subp; in PetscSectionCreateSubplexSection_Private() local
2778 PetscInt f, c; in PetscSectionReset() local
2849 …vate(PetscInt *baseArray, PetscSection s, PetscInt point, const PetscInt values[], InsertMode mode) in VecIntSetValuesSection_Private()
3094 PetscInt numFields, f, c, numPoints, pStart, pEnd, p; in PetscSectionPermute() local
3226 …Section section, PetscObject obj, PetscInt depth, PetscInt clSize, PetscCopyMode mode, PetscInt *c… in PetscSectionSetClosurePermutation_Internal()
/petsc/src/mat/impls/dense/mpi/
H A Dmpidense.c379 static PetscErrorCode MatAssemblyBegin_MPIDense(Mat mat, MatAssemblyType mode) in MatAssemblyBegin_MPIDense()
393 static PetscErrorCode MatAssemblyEnd_MPIDense(Mat mat, MatAssemblyType mode) in MatAssemblyEnd_MPIDense()
1625 Mat_MPIDense *c; in MatDenseGetSubMatrix_MPIDense() local
1698 Mat_MPIDense *c; in MatDenseRestoreSubMatrix_MPIDense() local
2069 …Mat_MPIDense *a = (Mat_MPIDense *)A->data, *b = (Mat_MPIDense *)B->data, *c = (… in MatTransposeMatMultNumeric_MPIDense_MPIDense() local
2265 …Mat_MPIDense *a = (Mat_MPIDense *)A->data, *b = (Mat_MPIDense *)B->data, *c = (… in MatMatTransposeMultNumeric_MPIDense_MPIDense_Cyclic() local
2349 …Mat_MPIDense *a = (Mat_MPIDense *)A->data, *b = (Mat_MPIDense *)B->data, *c = (… in MatMatTransposeMultNumeric_MPIDense_MPIDense_Allgatherv() local
2669 PetscErrorCode MatDenseScatter_Private(PetscSF sf, Mat X, Mat Y, InsertMode mode, ScatterMode smode) in MatDenseScatter_Private()
/petsc/src/mat/impls/aij/seq/aijmkl/
H A Daijmkl.c313 static PetscErrorCode MatAssemblyEnd_SeqAIJMKL(Mat A, MatAssemblyType mode) in MatAssemblyEnd_SeqAIJMKL()
715 …Mat_SeqAIJMKL *a = (Mat_SeqAIJMKL *)A->spptr, *b = (Mat_SeqAIJMKL *)B->spptr, *c = (Mat_SeqAI… in MatMatMultNumeric_SeqAIJMKL_SeqAIJMKL_Private() local
809 …Mat_SeqAIJMKL *a = (Mat_SeqAIJMKL *)A->spptr, *p = (Mat_SeqAIJMKL *)P->spptr, *c = (Mat_SeqAI… in MatPtAPNumeric_SeqAIJMKL_SeqAIJMKL_SymmetricReal() local
/petsc/src/mat/impls/sell/mpi/
H A Dmpisell.c282 static PetscErrorCode MatAssemblyBegin_MPISELL(Mat mat, MatAssemblyType mode) in MatAssemblyBegin_MPISELL()
296 PetscErrorCode MatAssemblyEnd_MPISELL(Mat mat, MatAssemblyType mode) in MatAssemblyEnd_MPISELL()
839 Mat a, b, c, d; in MatEqual_MPISELL() local
/petsc/src/mat/impls/blockmat/seq/
H A Dblockmat.c540 Mat_SeqAIJ *c; in MatCreateSubMatrix_BlockMat() local
596 static PetscErrorCode MatAssemblyEnd_BlockMat(Mat A, MatAssemblyType mode) in MatAssemblyEnd_BlockMat()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h905 PetscInt c, cStart, cEnd; in DMSetUp_pforest() local
1515 PetscInt cStart, cEnd, c, vStart, vEnd, v, fStart, fEnd, f; in DMPlexCreateConnectivity_pforest() local
2273 PetscInt count, c; in DMPforestGetCellSFNodes() local
2543 PetscInt c = i + offset; in DMPforestGetTransferSF_Point() local
3059 PetscInt c; in DMPforestLabelsInitialize() local
3153 PetscInt s, c = -1, l; in DMPforestLabelsInitialize() local
3592 PetscInt closureSize, c, coordStart, coordEnd, coordDim; in DMPforestMapCoordinates_Cell() local
3866 for (int c = 0; c < P4EST_CHILDREN; c++) { in PforestCheckLocalizeCell() local
3914 for (PetscInt c = 0, pos = off; c < P4EST_CHILDREN; c++) { in PforestLocalizeCell() local
4893 …eal, const PetscReal[], PetscInt, PetscScalar *, void *), void **ctxs, InsertMode mode, Vec localX) in DMProjectFunctionLocal_pforest()
[all …]
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c1374 const PetscInt c = cellsArray[i]; in PCPatchCreateCellPatchDiscretisationInfo() local
1494 const PetscInt c = cellsArray[i]; in PCPatchCreateCellPatchDiscretisationInfo() local
1583 const PetscInt c = cellsArray[i]; in PCPatchCreateCellPatchDiscretisationInfo() local
1731 PetscInt pStart, pEnd, ncell, offset, c, i, j; in PCPatchCreateMatrix_Private() local
2073 PetscInt i, c, d; in PCPatchComputeOperator_Internal() local
2340 PetscErrorCode PCPatch_ScatterLocal_Private(PC pc, PetscInt p, Vec x, Vec y, InsertMode mode, Scatt… in PCPatch_ScatterLocal_Private()
2476 PetscInt cStart, cEnd, c, Nf, f, numGlobalBcs = 0, *globalBcs, *Nb, **cellDofs; in PCSetUp_PATCH() local

12