# Facets that can be in multiple structures

**URL:** <https://molflow-forum.web.cern.ch/t/facets-that-can-be-in-multiple-structures/516>\
**Category:** Ideas & suggestions\
**Created:** [January 5, 2023, 10:54pm UTC](https://molflow-forum.web.cern.ch/t/facets-that-can-be-in-multiple-structures/516 "2023-01-05T22:54:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alan](https://molflow-forum.web.cern.ch/user_avatar/molflow-forum.web.cern.ch/alan/32/730_2.png) [@alan](https://molflow-forum.web.cern.ch/u/alan)\
**Post date:** [January 5, 2023, 10:54pm UTC](https://molflow-forum.web.cern.ch/t/facets-that-can-be-in-multiple-structures/516/1 "2023-01-05T22:54:00Z")

</div>

I have a vacuum system made of long tubes separated by apertures so it natural to it break into separate structures to improve computational performance. However, I would like to get a pressure profile along the whole length through multiple structures. Currently I have to have separate transparent analysis facets in each structure and stitch the data together in excel…pain in the ass. If a facet could be in multiple structures (comma delimited list) then it could solve my problem.

---

<div class="post-metadata">

**Author:** ![maarton](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@maarton](https://molflow-forum.web.cern.ch/u/maarton)\
**Post date:** [January 6, 2023, 8:18am UTC](https://molflow-forum.web.cern.ch/t/facets-that-can-be-in-multiple-structures/516/2 "2023-01-06T08:18:30Z")

</div>

Hello Alan,

This can already be achieved through an undocumented feature: putting “all” in the structure field will add the facet to all structures. It was added exactly for your use case (sampling facet spanning through multiple structures):  
 ![Screenshot 2023-01-06 at 9.16.33 AM](https://molflow-forum.web.cern.ch/uploads/default/original/1X/d76c55f5bd463b97e0bf49c7df72b47dd6eac253.png)

It will be relatively easy to add support for your proposed comma-separated list, that also supports ranges. The _Select facet by number_ already supports such a field, so I can copy-paste the parsing code…

 ![Screenshot 2023-01-06 at 9.19.12 AM](https://molflow-forum.web.cern.ch/uploads/default/original/1X/af23ba4ca98579e2949b3087d7032691155d6de8.png)

Cheers, Marton

---

<div class="post-metadata">

**Author:** ![rkerseva](https://molflow-forum.web.cern.ch/user_avatar/molflow-forum.web.cern.ch/rkerseva/32/15_2.png) [@rkerseva](https://molflow-forum.web.cern.ch/u/rkerseva)\
**Post date:** [January 6, 2023, 3:29pm UTC](https://molflow-forum.web.cern.ch/t/facets-that-can-be-in-multiple-structures/516/3 "2023-01-06T15:29:00Z")

</div>

Hello Alan, and happy new year to you.

You simply use the same facet copied all along the N different structures for each structure, and then add up the N the vectors of the pressure profile or texture elements.  
Each of the N structures will have zeros along the profile or textures at locations outside of the respective structures, but that’s not va problem at all.  
Cheers.

---

<div class="post-metadata">

**Author:** ![alan](https://molflow-forum.web.cern.ch/user_avatar/molflow-forum.web.cern.ch/alan/32/730_2.png) [@alan](https://molflow-forum.web.cern.ch/u/alan)\
**Post date:** [January 9, 2023, 7:35am UTC](https://molflow-forum.web.cern.ch/t/facets-that-can-be-in-multiple-structures/516/4 "2023-01-09T07:35:34Z")

</div>

Happy New Years. Yes, “All” works just fine for this case, thanks. You should add it to the documentation when you get a chance 🙂
