Home
last modified time | relevance | path

Searched refs:h_max (Results 1 – 7 of 7) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexmetric.c13 …PetscReal h_min = 1.0e-30, h_max = 1.0e+30, a_max = 1.0e+05, p = 1.0, target = 1000.0, beta = 1.3,… in DMPlexMetricSetFromOptions() local
39 …tric_h_max", "Maximum tolerated metric magnitude", "DMPlexMetricEnforceSPD", h_max, &h_max, NULL)); in DMPlexMetricSetFromOptions()
40 PetscCall(DMPlexMetricSetMaximumMagnitude(dm, h_max)); in DMPlexMetricSetFromOptions()
447 PetscErrorCode DMPlexMetricSetMaximumMagnitude(DM dm, PetscReal h_max) in DMPlexMetricSetMaximumMagnitude() argument
453 …PetscCheck(h_max > 0.0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Metric magnitudes must be in (… in DMPlexMetricSetMaximumMagnitude()
454 plex->metricCtx->h_max = h_max; in DMPlexMetricSetMaximumMagnitude()
471 PetscErrorCode DMPlexMetricGetMaximumMagnitude(DM dm, PetscReal *h_max) in DMPlexMetricGetMaximumMagnitude() argument
477 *h_max = plex->metricCtx->h_max; in DMPlexMetricGetMaximumMagnitude()
1053 static PetscErrorCode DMPlexMetricModify_Private(PetscInt dim, PetscReal h_min, PetscReal h_max, Pe… in DMPlexMetricModify_Private() argument
1056 …PetscReal *eigs, max_eig, l_min = 1.0 / (h_max * h_max), l_max = 1.0 / (h_min * h_min), la_min =… in DMPlexMetricModify_Private()
[all …]
/petsc/src/binding/petsc4py/demo/legacy/dmplex/
H A Danisotropic_adaptation.py26 h_max = 1.0e-01 # Maximum tolerated metric magnitude ~ cell size variable
86 dmHess.metricSetMaximumMagnitude(h_max)
/petsc/src/binding/petsc4py/test/
H A Dtest_dmplex.py168 h_max = 1.0e30
184 self.plex.metricSetMaximumMagnitude(h_max)
201 self.assertTrue(np.isclose(self.plex.metricGetMaximumMagnitude(), h_max))
/petsc/doc/changes/
H A D317.md249 … so that its `-adaptor_refinement_h_min/h_max/a_max/p` command line arguments become `-dm_plex_met…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx2752 def metricSetMaximumMagnitude(self, h_max: float) -> None:
2759 h_max
2768 cdef PetscReal rval = asReal(h_max)
2782 cdef PetscReal h_max = 0
2783 CHKERR(DMPlexMetricGetMaximumMagnitude(self.dm, &h_max))
2784 return toReal(h_max)
/petsc/doc/manual/
H A Ddmplex.md723 DMPlexMetricSetMaximumMagnitude(DM dm, PetscReal h_max);
731 -dm_plex_metric_h_max <h_max>
/petsc/include/petsc/private/
H A Ddmpleximpl.h102 PetscReal h_min, h_max; /* Minimum/maximum tolerated metric magnitudes */ member