These look like the optional type annotations. I think they were introduced in Python 3.6, while Firedrake requires Python 3.5+
You are probably running Python 3.5.x then. Just remove those colon types, or alternatively try Python 3.6.
Thanks for all the helpful information. I am starting to understand but not quiet there yet.
I was able to generate the mesh but when I try running your script I get the following problem. Is there a different syntax we should be using?
(firedrake) fpoulin@domlt32:~/Dropbox/Research_Christine/Notebooks/TestGeometry$ python membrane.py quadrant.mshFile "membrane.py", line 11def main(meshfile: str) -> None:^SyntaxError: invalid syntax
What I understand is I should be specifying a label to the boundary and use this label to impose the BC's. I tried importing your geometry into my notebook and that seemed to go okay but when I try plotting I get the Assertion error.
Any more help would be greatly appreciated.
I am curious to see what you find does the trick.
As for my coastline problem, the good news is that I can now import the geometry. The bad news is that when I solve the weak for of the PDE it does not impose the Dirichlet BCs.