Skip to content

Visualising 1D mesh embedded in 2D segfaults #68

@Jannertje

Description

@Jannertje

In Example 7 of MFEM, we look at a surface mesh: a 2D mesh of triangles embedded in 3D space.

For my own research, I want to take this a step easier and look at a 1D mesh of segments embedded in 2D space.
From the MFEM side, I think things work well enough. However, when I try to visualize this mesh inside GLVis, I get a segmentation fault. I do realise GLVis is not made to visualise 1D data, but still it may be beneficial to debug the segfault.

This is the mesh I am using:

MFEM mesh v1.0

dimension
1

elements
4
1 1 0 1
1 1 1 2
1 1 2 3
1 1 3 0

boundary
0

vertices
4
2
-1 -1
1 -1
1 1
-1 1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions