Skip to content

Commit

Permalink
Couple more fixes to cylinder.py to satisfy mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bruneau committed Sep 15, 2023
1 parent 89bb101 commit 6fde7a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/fsipy/simulations/cylinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
"""
import numpy as np
from turtleFSI.problems import *
from dolfin import *
from dolfin import HDF5File, Mesh, MeshFunction, assemble, UserExpression, FacetNormal, ds, \
DirichletBC, Measure, inner, parameters

# set compiler arguments
parameters["form_compiler"][
"quadrature_degree"
] = 6 # Not investigated thorougly. See MSc theses of Gjertsen.
parameters["form_compiler"]["quadrature_degree"] = 6
parameters["form_compiler"]["optimize"] = True
# The "ghost_mode" has to do with the assembly of form containing the facet
# normals n('+') within interior boundaries (dS). for 3D mesh the value should
Expand Down

0 comments on commit 6fde7a8

Please sign in to comment.