| /petsc/src/snes/impls/ncg/ |
| H A D | snesncg.c | 91 SNES_NCG *ncg = (SNES_NCG *)snes->data; in SNESSetFromOptions_NCG() local 93 SNESNCGType ncgtype = ncg->type; in SNESSetFromOptions_NCG() 98 …cg_monitor", "Monitor the beta values used in the NCG iterations", "SNES", ncg->monitor ? PETSC_TR… in SNESSetFromOptions_NCG() 99 if (debug) ncg->monitor = PETSC_VIEWER_STDOUT_(PetscObjectComm((PetscObject)snes)); in SNESSetFromOptions_NCG() 100 …cg_type", "NCG Beta type used", "SNESNCGSetType", SNESNCGTypes, (PetscEnum)ncg->type, (PetscEnum *… in SNESSetFromOptions_NCG() 118 SNES_NCG *ncg = (SNES_NCG *)snes->data; in SNESView_NCG() local 123 if (isascii) PetscCall(PetscViewerASCIIPrintf(viewer, " type: %s\n", SNESNCGTypes[ncg->type])); in SNESView_NCG() 159 SNES_NCG *ncg = (SNES_NCG *)snes->data; in SNESNCGSetType_NCG() local 162 ncg->type = btype; in SNESNCGSetType_NCG() 179 SNES_NCG *ncg = (SNES_NCG *)snes->data; in SNESSolve_NCG() local [all …]
|
| /petsc/src/ksp/pc/impls/mg/ |
| H A D | gdsw.c | 266 PetscInt nri, nrg, ncg; in PCMGGDSWCreateCoarseSpace_Private() local 272 PetscCall(MatGetSize(sGf[i], NULL, &ncg)); in PCMGGDSWCreateCoarseSpace_Private() 273 PetscCall(MatSetValues(preallocator, nri, ri, ncg, cidx + c, NULL, INSERT_VALUES)); in PCMGGDSWCreateCoarseSpace_Private() 274 PetscCall(MatSetValues(preallocator, nrg, rg, ncg, cidx + c, NULL, INSERT_VALUES)); in PCMGGDSWCreateCoarseSpace_Private() 306 PetscInt nri, nrg, ncg; in PCMGGDSWCreateCoarseSpace_Private() local 317 PetscCall(MatGetSize(sGf[i], NULL, &ncg)); in PCMGGDSWCreateCoarseSpace_Private() 320 PetscCall(MatSetValues(*cspace, nri, ri, ncg, cidx + c, v, INSERT_VALUES)); in PCMGGDSWCreateCoarseSpace_Private() 323 PetscCall(MatSetValues(*cspace, nrg, rg, ncg, cidx + c, v, INSERT_VALUES)); in PCMGGDSWCreateCoarseSpace_Private()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfvm.c | 24 PetscFVCellGeom *ncg; in DMPlexApplyLimiter_Internal() local 41 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cellgeom, &ncg)); in DMPlexApplyLimiter_Internal() 42 DMPlex_WaxpyD_Internal(dim, -1, cg->centroid, ncg->centroid, v); in DMPlexApplyLimiter_Internal()
|
| /petsc/src/tao/unconstrained/tutorials/output/ |
| H A D | minsurf2_3_snes.out | 21 type: ncg
|
| H A D | minsurf2_4_snes_ngmres_snes_ngmres_select_type-difference.out | 45 type: ncg
|
| H A D | minsurf2_4_snes_ngmres_snes_ngmres_select_type-linesearch.out | 59 type: ncg
|
| /petsc/src/mat/impls/is/ |
| H A D | matis.c | 3276 PetscInt ncg; in MatGetLocalSubMatrix_IS() local 3282 PetscCall(ISLocalToGlobalMappingGetSize(A->cmap->mapping, &ncg)); in MatGetLocalSubMatrix_IS() 3284 …ncg, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Local column index %" PetscInt_FMT " -> %" PetscInt_FM… in MatGetLocalSubMatrix_IS() 3286 if (ncg % cbs) ncg = cbs * (ncg / cbs + 1); in MatGetLocalSubMatrix_IS() 3287 PetscCall(PetscMalloc1(ncg, &idxs)); in MatGetLocalSubMatrix_IS() 3290 for (i = ncl; i < ncg; i++) idxs[i] = -1; in MatGetLocalSubMatrix_IS() 3293 PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)A), ncg, idxs, PETSC_OWN_POINTER, &is)); in MatGetLocalSubMatrix_IS()
|
| /petsc/doc/manual/ |
| H A D | snes.md | 297 - ``ncg``
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Mat.pyx | 568 local columns and ``ncg`` global columns. 572 >>> mat.setSizes([[nrl, nrg], [ncl, ncg]])
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 4161 (mp/cvt/ncg-molecular-weight 29.)
|