generate_mesh keyword arguments


105
views
0
4 months ago by
How can I use backend='tetgen' argument on generate_mesh in dolfin 2017? I have an old code with mesh = generate_mesh(domain, 0.2, backend='tetgen') that gives me the following error on dolfin 2017:

mesh = generate_mesh(domain, 0.2, backend='tetgen')
TypeError: generate_mesh() takes no keyword arguments
Aborted (core dumped)

Thanks,
Farhad
Community: FEniCS Project

1 Answer


2
4 months ago by
I found the answer. I should write it as:
mesh = generate_mesh(domain, 0.2, 'tetgen')
Please login to add an answer/comment or follow this question.

Similar posts:
Search »