# Boundary condition on mesh

**URL:** <https://community.freefem.org/t/boundary-condition-on-mesh/911>\
**Category:** General Discussion\
**Created:** [April 13, 2021, 9:40am UTC](https://community.freefem.org/t/boundary-condition-on-mesh/911 "2021-04-13T09:40:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [April 14, 2021, 7:29am UTC](https://community.freefem.org/t/boundary-condition-on-mesh/911/2 "2021-04-14T07:29:24Z")

</div>

Sorry,

Your question too vague,

you can get the list of label of mesh3 Th

```
  int[int] labs = labels(Th); 
  cout << labs < endl; 

```

or you can build the surface mesh  
load “msh3”  
laid “medit”  
Th = buildBdMesh(Th); // build the surface mesh  
meshS Th1 = Th.Gamma;  
plot(Th1,wait=1);  
medit(“Th1”,Th1); // to see label of region of Th1 …

---

_[View the full topic](https://community.freefem.org/t/boundary-condition-on-mesh/911)._
