Searched refs:a_max (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexmetric.c | 13 …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 41 …lex_metric_a_max", "Maximum tolerated anisotropy", "DMPlexMetricEnforceSPD", a_max, &a_max, NULL)); in DMPlexMetricSetFromOptions() 42 PetscCall(DMPlexMetricSetMaximumAnisotropy(dm, a_max)); in DMPlexMetricSetFromOptions() 495 PetscErrorCode DMPlexMetricSetMaximumAnisotropy(DM dm, PetscReal a_max) in DMPlexMetricSetMaximumAnisotropy() argument 501 …PetscCheck(a_max >= 1.0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Anisotropy must be in [1, inf… in DMPlexMetricSetMaximumAnisotropy() 502 plex->metricCtx->a_max = a_max; in DMPlexMetricSetMaximumAnisotropy() 519 PetscErrorCode DMPlexMetricGetMaximumAnisotropy(DM dm, PetscReal *a_max) in DMPlexMetricGetMaximumAnisotropy() argument 525 *a_max = plex->metricCtx->a_max; in DMPlexMetricGetMaximumAnisotropy() 1053 …cModify_Private(PetscInt dim, PetscReal h_min, PetscReal h_max, PetscReal a_max, PetscScalar Mp[],… in DMPlexMetricModify_Private() argument 1056 …_eig, l_min = 1.0 / (h_max * h_max), l_max = 1.0 / (h_min * h_min), la_min = 1.0 / (a_max * a_max); in DMPlexMetricModify_Private() [all …]
|
| /petsc/src/binding/petsc4py/demo/legacy/dmplex/ |
| H A D | anisotropic_adaptation.py | 27 a_max = 1.0e+05 # Maximum tolerated anisotropy variable 87 dmHess.metricSetMaximumAnisotropy(a_max)
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_dmplex.py | 169 a_max = 1.0e10 185 self.plex.metricSetMaximumAnisotropy(a_max) 202 self.assertTrue(np.isclose(self.plex.metricGetMaximumAnisotropy(), a_max))
|
| /petsc/doc/changes/ |
| H A D | 317.md | 249 …at its `-adaptor_refinement_h_min/h_max/a_max/p` command line arguments become `-dm_plex_metric_h_…
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 2786 def metricSetMaximumAnisotropy(self, a_max: float) -> None: 2793 a_max 2802 cdef PetscReal rval = asReal(a_max) 2816 cdef PetscReal a_max = 0 2817 CHKERR(DMPlexMetricGetMaximumAnisotropy(self.dm, &a_max)) 2818 return toReal(a_max)
|
| /petsc/doc/manual/ |
| H A D | dmplex.md | 724 DMPlexMetricSetMaximumAnisotropy(DM dm, PetscReal a_max); 732 -dm_plex_metric_a_max <a_max>
|
| /petsc/include/petsc/private/ |
| H A D | dmpleximpl.h | 103 PetscReal a_max; /* Maximum tolerated anisotropy */ member
|