Ilmar Wilbers skrev den 04/04-2008 følgende: > I get the following error when running python test.py: > > One or more unit tests failed for mesh (Python): > EE...........No cells marked for refinement, assuming uniform mesh > refinement. > .No cells marked for refinement, assuming uniform mesh refinement. > ...... > ====================================================================== > ERROR: Compute boundary of boundary > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "./test.py", line 104, in testBoundaryBoundary > b0 = BoundaryMesh(mesh) > NameError: global name 'BoundaryMesh' is not defined > > ====================================================================== > ERROR: Compute boundary of mesh > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "./test.py", line 97, in testBoundaryComputation > boundary = BoundaryMesh(mesh) > NameError: global name 'BoundaryMesh' is not defined > > ---------------------------------------------------------------------- > Ran 20 tests in 0.551s
After the new PyDOLFIN layout, BoundaryMesh is put into the dolfin.dolfin namespace. I think it should be moved up one level. Ola > FAILED (errors=2) > > How do we fix this? > > ilmar > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
