syntax problem #2883
Replies: 4 comments
-
There are 3 ways to have boundary markers in Firedrake. The simplest one is that all the built-in meshes come with pre-marked boundaries. Just check the help of the built-in mesh function and it will tell you which edge has which marker. In this case, I guess you are probably using
Second, if you read a mesh in from an external meshing program, you can usually mark edges in that program, and Firedrake will honour those markings. Finally, you can mark labels on a mesh using the If you want the mimimal cell diameter in a mesh, you can achieve this with:
|
Beta Was this translation helpful? Give feedback.
-
When I define h = project(CellDiameter(mesh), FunctionSpace(mesh, "DG", 0)).dat.data_ro.min(), an error related to the installation is displayed. error:
Should I reinstall it? |
Beta Was this translation helpful? Give feedback.
-
This is not an installation error. I think you forgot to define |
Beta Was this translation helpful? Give feedback.
-
Thank you you are correct, there is some typo. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone
I tried to label the boundaries of a square domain with the syntax written below but CompliedSubDomain doesn't support in Firedrake, Please provide some alternative.
One more thing, this doesn't work in Firedrake
and I use an alternative h = CellDiameter(mesh) , this create a long error.
Please suggest some alternative syntax which I used in my code to work well.
Beta Was this translation helpful? Give feedback.
All reactions