# Inconsistency with mesh labels being recognized

**URL:** <https://community.freefem.org/t/inconsistency-with-mesh-labels-being-recognized/520>\
**Category:** General Discussion\
**Created:** [July 25, 2020, 3:14am UTC](https://community.freefem.org/t/inconsistency-with-mesh-labels-being-recognized/520 "2020-07-25T03:14:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgonzalez49](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jgonzalez49](https://community.freefem.org/u/jgonzalez49)\
**Post date:** [July 25, 2020, 3:14am UTC](https://community.freefem.org/t/inconsistency-with-mesh-labels-being-recognized/520/1 "2020-07-25T03:14:36Z")

</div>

I’m having an issue with the way a cube’s labels are being recognized in an example piece of code. In one example script, I group together the boundary conditions 1-6 and it works fine (though it doesn’t serve my need to apply a given value to each boundary separately):

```
+ on(1,2,3,4,5,6, u1=fi1, u2=0, u3=0)

```

But when I break out the boundary conditions into different lines, one for each face of the cube (this does fit my need), like this:

```
+ on(1, u1=fi1, u2=0, u3=0)
+ on(2, u1=fi2, u2=0, u3=0)
+ on(3, u1=fi3, u2=0, u3=0)
+ on(4, u1=fi4, u2=0, u3=0)
+ on(5, u1=fi5, u2=0, u3=0)
+ on(6, u1=fi6, u2=0, u3=0)

```

it complains with this error:

Warning: – Your set of boundary condition is incompatible with the mesh label.  
lab 0 nb 400  
lab 1 nb 200  
lab 2 nb 200  
lab 3 nb 200  
lab 4 nb 200

Can anyone point me to the correct way to break apart the boundary conditions?

(Note: I have also opened up a parallel github issue here:  
[https://github.com/FreeFem/FreeFem-sources/issues/147](https://github.com/FreeFem/FreeFem-sources/issues/147)  
It contains the full code samples as this forum will not allow a new user to upload files)

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [July 25, 2020, 5:34am UTC](https://community.freefem.org/t/inconsistency-with-mesh-labels-being-recognized/520/2 "2020-07-25T05:34:41Z")

</div>

There is not need to post both here and on GitHub, let’s try to solve this on the issue there.
