On 18/12/15 11:00, Buesing, Henrik wrote:
On 18 Dec 2015, at 10:52, Buesing, Henrik <HBuesing@eonerc.rwth- aachen.de> wrote:
Dear Justin! Dear Lawrence!
So just to be clear... Firedrake reads in the *.msh as well as the *.geo file. So both have to be present? Only the *.msh file is not sufficient?
Oh no, firedrake doesn't touch the geo file. You should only need the msh file.
But going with your example tests/regression/annulus.msh. In the msh file there is no definition of the Physical Line. This is only present in the *.geo file... So how does firedrake know about "9" as index to the boundary?
The physical ids *are* present in the .msh file. The 'elements' list at the end contains both triangles and line segments. In fact the first 16 are the line segments with the physical id 9, in the 3rd column, and its 2 node numbers in the last 2 columns. The rest are the triangles with a physical id of 10 in the 3rd column, and its 3 nodes in the last 3 columns. See the link that Lawrence gave to see what the other columns indicate Cheers Stephan