Lines Matching refs:a_max
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()
1125 if (a_max >= 1.0) eigs[i] = PetscMax(eigs[i], max_eig * la_min); in DMPlexMetricModify_Private()
1170 PetscReal h_min = 1.0e-30, h_max = 1.0e+30, a_max = 1.0e+15; in DMPlexMetricEnforceSPD() local
1185 PetscCall(DMPlexMetricGetMaximumAnisotropy(dm, &a_max)); in DMPlexMetricEnforceSPD()
1186 a_max = PetscMin(a_max, 1.0e+30); in DMPlexMetricEnforceSPD()
1201 PetscCall(DMPlexMetricModify_Private(1, h_min, h_max, a_max, met, det)); in DMPlexMetricEnforceSPD()
1216 PetscCall(DMPlexMetricModify_Private(nrow, h_min, h_max, a_max, vmet, vdet)); in DMPlexMetricEnforceSPD()
1268 …PetscReal p, h_min = 1.0e-30, h_max = 1.0e+30, a_max = 0.0, factGlob, fact, target, realIntegra… in DMPlexMetricNormalize() local
1325 PetscCall(DMPlexMetricGetMaximumAnisotropy(dm, &a_max)); in DMPlexMetricNormalize()
1326 a_max = PetscMin(a_max, 1.0e+30); in DMPlexMetricNormalize()
1333 if (restrictSizes) PetscCall(DMPlexMetricModify_Private(1, h_min, h_max, a_max, met, det)); in DMPlexMetricNormalize()
1349 if (restrictSizes) PetscCall(DMPlexMetricModify_Private(nrow, h_min, h_max, a_max, Mp, detM)); in DMPlexMetricNormalize()