Home
last modified time | relevance | path

Searched refs:smooth (Results 1 – 15 of 15) sorted by relevance

/petsc/src/ksp/pc/impls/mg/
H A Dgdsw.c5 static PetscErrorCode PCMGGDSWSetUp(PC pc, PetscInt l, DM dm, KSP smooth, PetscInt Nc, Mat A, Petsc… in PCMGGDSWSetUp() argument
27 PetscCall(KSPGetOptionsPrefix(smooth, &prefix)); in PCMGGDSWSetUp()
28 PetscOptionsBegin(PetscObjectComm((PetscObject)smooth), prefix, "GDSW options", "PC"); in PCMGGDSWSetUp()
67 PetscCall(KSPGetPC(smooth, &smoothpc)); in PCMGGDSWSetUp()
216 PetscErrorCode PCMGGDSWCreateCoarseSpace_Private(PC pc, PetscInt l, DM dm, KSP smooth, PetscInt Nc,… in PCMGGDSWCreateCoarseSpace_Private() argument
231 PetscCall(KSPGetOperatorsSet(smooth, &flg, NULL)); in PCMGGDSWCreateCoarseSpace_Private()
232 PetscCheck(flg, PetscObjectComm((PetscObject)smooth), PETSC_ERR_ORDER, "Amat not set"); in PCMGGDSWCreateCoarseSpace_Private()
233 PetscCall(KSPGetOperators(smooth, &A, NULL)); in PCMGGDSWCreateCoarseSpace_Private()
235 PetscCall(KSPGetOperatorsSet(smooth, NULL, &flg)); in PCMGGDSWCreateCoarseSpace_Private()
236 PetscCheck(flg, PetscObjectComm((PetscObject)smooth), PETSC_ERR_ORDER, "Pmat not set"); in PCMGGDSWCreateCoarseSpace_Private()
[all …]
H A Dmgadapt.c154 KSP smooth; in PCMGComputeCoarseSpace_Internal() local
184 PetscCall(PCMGGetSmoother(pc, l, &smooth)); in PCMGComputeCoarseSpace_Internal()
185 PetscCall(KSPGetDM(smooth, &dm)); in PCMGComputeCoarseSpace_Internal()
186 PetscCall((*coarseConstructor)(pc, l, dm, smooth, Nc, cspace, space)); in PCMGComputeCoarseSpace_Internal()
239 KSP smooth, fsmooth; /* The smoothers on levels l and l+1 */ in PCMGRecomputeLevelOperators_Internal() local
252 PetscCall(PCMGGetSmoother(pc, l, &smooth)); in PCMGRecomputeLevelOperators_Internal()
253 PetscCall(KSPGetOperators(smooth, &A, &B)); in PCMGRecomputeLevelOperators_Internal()
/petsc/src/snes/impls/fas/
H A Dfasfunc.c420 PetscErrorCode SNESFASCycleCreateSmoother_Private(SNES snes, SNES *smooth) in SNESFASCycleCreateSmoother_Private() argument
429 PetscAssertPointer(smooth, 2); in SNESFASCycleCreateSmoother_Private()
450 *smooth = nsmooth; in SNESFASCycleCreateSmoother_Private()
496 PetscErrorCode SNESFASCycleGetSmoother(SNES snes, SNES *smooth) in SNESFASCycleGetSmoother() argument
502 PetscAssertPointer(smooth, 2); in SNESFASCycleGetSmoother()
504 *smooth = fas->smoothd; in SNESFASCycleGetSmoother()
976 PetscErrorCode SNESFASGetSmoother(SNES snes, PetscInt level, SNES *smooth) in SNESFASGetSmoother() argument
983 PetscAssertPointer(smooth, 3); in SNESFASGetSmoother()
987 *smooth = fas->smoothd; in SNESFASGetSmoother()
1005 PetscErrorCode SNESFASGetSmootherDown(SNES snes, PetscInt level, SNES *smooth) in SNESFASGetSmootherDown() argument
[all …]
H A Dfas.c35 static PetscErrorCode SNESFASSetUpLineSearch_Private(SNES snes, SNES smooth) in SNESFASSetUpLineSearch_Private() argument
46 PetscCall(SNESGetLineSearch(smooth, &slinesearch)); in SNESFASSetUpLineSearch_Private()
55 static PetscErrorCode SNESFASCycleSetUpSmoother_Private(SNES snes, SNES smooth) in SNESFASCycleSetUpSmoother_Private() argument
60 PetscCall(PetscObjectCopyFortranFunctionPointers((PetscObject)snes, (PetscObject)smooth)); in SNESFASCycleSetUpSmoother_Private()
61 PetscCall(SNESSetFromOptions(smooth)); in SNESFASCycleSetUpSmoother_Private()
62 PetscCall(SNESFASSetUpLineSearch_Private(snes, smooth)); in SNESFASCycleSetUpSmoother_Private()
67 smooth->vec_sol = snes->vec_sol; in SNESFASCycleSetUpSmoother_Private()
68 smooth->vec_sol_update = snes->vec_sol_update; in SNESFASCycleSetUpSmoother_Private()
69 smooth->vec_func = snes->vec_func; in SNESFASCycleSetUpSmoother_Private()
71 if (fas->eventsmoothsetup) PetscCall(PetscLogEventBegin(fas->eventsmoothsetup, smooth, 0, 0, 0)); in SNESFASCycleSetUpSmoother_Private()
[all …]
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas104 (smooth-mesh/min-skew 0.8)
1650 (dynamesh/smooth/laplace/pseudo-time-step 1.)
1767 (dynamesh/smooth/laplace/pseudo-relax 0.75)
1836 (dpm-to-vof/smooth-vol-vs-rad-interpol? #f)
1975 (dpm/dpm-vof/static-pileup/pack-flag-grad/smooth/num 2)
2443 (dpm/smooth-film-height? #f)
2716 (mg/smooth 0.5)
3600 (turb-damp/smooth-grad? #f)
3970 (granular-temperature/smooth-algebraic-value? #t)
4367 (vof/surf-tens/curv-smooth/w-adh? #f)
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSNES.pyx620 cdef SNES smooth = SNES()
621 CHKERR(SNESFASGetCoarseSolve(self.snes, &smooth.snes))
622 CHKERR(PetscINCREF(smooth.obj))
623 return smooth
637 cdef SNES smooth = SNES()
638 CHKERR(SNESFASGetSmoother(self.snes, clevel, &smooth.snes))
639 CHKERR(PetscINCREF(smooth.obj))
640 return smooth
654 cdef SNES smooth = SNES()
655 CHKERR(SNESFASGetSmootherDown(self.snes, clevel, &smooth.snes))
[all …]
H A DTAO.pyx1852 """Set the smooth L1 epsilon.
/petsc/src/tao/leastsquares/tutorials/output/
H A Dcs1_view_l1dict.out5 L1 smooth epsilon: 1e-06
H A Dcs1_view_l1dict_alt.out5 L1 smooth epsilon: 1e-06
/petsc/doc/manual/
H A Dsnes.md744 SNESFASGetSmoother(SNES snes, PetscInt level, SNES *smooth);
745 SNESFASGetSmootherUp(SNES snes, PetscInt level, SNES *smooth);
746 SNESFASGetSmootherDown(SNES snes, PetscInt level, SNES *smooth);
773 SNESFASGetCoarseSolve(SNES snes, SNES *smooth);
1365 the reduced space, `SNESVINEWTONRSLS`, and semi-smooth `SNESVINEWTONSSLS` solvers.
H A Dksp.md1399 For a multigrid cycle, the interpolator $P$ is intended to accurately reproduce "smooth" functions …
1438 We can easily solve the above problem using QR factorization. However, there are many smooth functi…
H A Dtao.md2418 where $y = Dx$ and $\epsilon$ is the smooth approximation
2423 command line option, while the smooth approximation parameter can be set
/petsc/include/
H A Dpetscksp.h290 …etscErrorCode PCMGCoarseSpaceConstructorFn(PC pc, PetscInt l, DM dm, KSP smooth, PetscInt Nc, Mat …
/petsc/doc/changes/
H A D317.md74 …RR` changes during development and is being exposed to users in order to smooth the transition -- …
/petsc/doc/
H A Dpetsc.bib870 …title = {A {N}ewton-{MR} algorithm with complexity guarantees for nonconvex smooth unconst…
2044 convergence rates for sufficiently smooth problems},
17544 directions are determined by analyzing samples of algebraically smooth error, e.
24593 title = {Piecewise smooth continuation},
24600 title = {Piecewise smooth homotopies},
26650 @Article{ chen.harker:smooth,
28128 @Article{ eckstein.ferris:smooth,
28213 @TechReport{ eckstein:smooth,
31288 @TechReport{ jiang.ralph:smooth,
32996 title = {On the linear convergence of descent methods for convex essentially smooth
[all …]