Issue in MultiMesh with 1D meshes

Issue #1053 new
yang zhou created an issue

Dear all

the code below works well for 2D mesh, but encountered error with 1D mesh.

Dolfin verison: 2018.1.0

from dolfin import *

# Create meshes
#mesh_0 = UnitSquareMesh(16, 16)
#mesh_1 = UnitSquareMesh(4, 4)
mesh_0 = UnitIntervalMesh(16)
mesh_1 = UnitIntervalMesh(4)

# Build multimesh
multimesh = MultiMesh()
multimesh.add(mesh_0)
multimesh.add(mesh_1)
multimesh.build()

Comments (1)

  1. yang zhou reporter

    Still interested in if this is a bug? Error info:

    *** -------------------------------------------------------------------------
    *** DOLFIN encountered an error. If you are not able to resolve this issue
    *** using the information listed below, you can ask for help at
    ***
    ***     fenics-support@googlegroups.com
    ***
    *** Remember to include the error message listed below and, if possible,
    *** include a *minimal* running example to reproduce the error.
    ***
    *** -------------------------------------------------------------------------
    *** Error:   Unable to compute bounding box tree.
    *** Reason:  Dimension must be a number between 1 and 0.
    *** Where:   This error was encountered inside GenericBoundingBoxTree.cpp.
    *** Process: 0
    *** 
    *** DOLFIN version: 2018.1.0
    *** Git changeset:  948dc42cc4e06ed9227d0201ad50f94ac94cbf9f
    *** -------------------------------------------------------------------------
    
  2. Log in to comment