Skip to content
Snippets Groups Projects
Commit ee132ae1 authored by Lambert Theisen's avatar Lambert Theisen
Browse files

Add idea to used actual facet length for CIP

parent f21a54d9
Branches
Tags
3 merge requests!5Update to version 1.1,!3Feat/symmetrization,!2Feat/symmetrization
......@@ -471,6 +471,9 @@ class Solver:
# Define mesh measuers
h = df.CellDiameter(mesh)
h_avg = (h("+") + h("-"))/2.0 # pylint: disable=not-callable
# TODO: Study this, is it more precise?
# fa = df.FacetArea(mesh)
# h_avg_new = (fa("+") + fa("-"))/2.0 # pylint: disable=not-callable
# Setup trial and test functions
w_heat = self.mxd_fspaces["heat"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment