OK, UFC may be clear but then DOLFIN is wrong. DOLFI N provides a local/global option for UFCCell, and DOLFIN breaks if the wrong option is used. There are demos that use ufc::cell::index to index into a MeshFunction, in which case it must be the local index, but UFC says that it's the global index.
OK, UFC may be clear but then DOLFIN is wrong. DOLFI N provides a local/global option for UFCCell, and DOLFIN breaks if the wrong option is used. There are demos that use ufc::cell::index to index into a MeshFunction, in which case it must be the local index, but UFC says that it's the global index.