# Vectorial solution of Laplace using varf

**URL:** <https://community.freefem.org/t/vectorial-solution-of-laplace-using-varf/3025>\
**Category:** General Discussion\
**Created:** [March 9, 2024, 5:38am UTC](https://community.freefem.org/t/vectorial-solution-of-laplace-using-varf/3025 "2024-03-09T05:38:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PoTS](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PoTS](https://community.freefem.org/u/PoTS)\
**Post date:** [March 9, 2024, 5:38am UTC](https://community.freefem.org/t/vectorial-solution-of-laplace-using-varf/3025/1 "2024-03-09T05:38:12Z")

</div>

Hello, dear participants. I solve the problem of elasticity in 2D using varf. I get the solution as a vector [u1,u2]. Is it possible to get directly the arrays u1 and u2 separately using some command in FreeFem++?

---

<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:** [March 9, 2024, 10:05am UTC](https://community.freefem.org/t/vectorial-solution-of-laplace-using-varf/3025/2 "2024-03-09T10:05:19Z")

</div>

Look at the manual or search on the forum, e.g., [A small puzzle about the length of vector valued fespace](https://community.freefem.org/t/a-small-puzzle-about-the-length-of-vector-valued-fespace/2610)

---

<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:** [March 11, 2024, 8:46pm UTC](https://community.freefem.org/t/vectorial-solution-of-laplace-using-varf/3025/3 "2024-03-11T20:46:22Z")

</div>

The simple way is just to copy your solution u1 u2 in an other fe function w1 and w2

Where  
fespace Wh(Th,P2);  
Wh w2=u1,w2=u2;

Now w1 is the vector with only u1 composante.
