# Bondary conditions from label vector

**URL:** <https://community.freefem.org/t/bondary-conditions-from-label-vector/2943>\
**Category:** General Discussion\
**Created:** [February 7, 2024, 5:26pm UTC](https://community.freefem.org/t/bondary-conditions-from-label-vector/2943 "2024-02-07T17:26:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![larismartins](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/larismartins/32/2712_2.png) [@larismartins](https://community.freefem.org/u/larismartins)\
**Post date:** [February 7, 2024, 5:26pm UTC](https://community.freefem.org/t/bondary-conditions-from-label-vector/2943/1 "2024-02-07T17:26:01Z")

</div>

Hello everyone,

is it possible to set boundary conditions from a vector os labels?

for exemple, I have a vectoor

```auto
label = [1,2];

```

and I want to ser boundary conditions on the boundarys from this vector, like

```auto
+ on(label, u=0);

```

does that work on freefem++?
