← Back to team overview

dolfin team mailing list archive

meshfuntion demo error

 

When running src/demo/meshfunction/dolfin-meshfunction, I get the following
(wrong) error message:

Reading mesh from file mesh2D.xml.gz.
Reading real-valued mesh function from file meshfunction.xml.
Reading mesh from file meshfunction.xml.
*** Error: Size of mesh function (9) does not match size of mesh (1 entities
of dimension 16) [XMLMeshFunction.cpp:162: readMeshFunction()]


The meshfunction.xml file _is_ wrong, containing 9 entities of dimension 1,
whereas there should be 16. The error message is, however, quite misleading.

The fixes should be trivial.

Ola


Follow ups