# Fespaces in vectorized formulation

**URL:** <https://community.freefem.org/t/fespaces-in-vectorized-formulation/3055>\
**Category:** General Discussion\
**Created:** [March 21, 2024, 8:24am UTC](https://community.freefem.org/t/fespaces-in-vectorized-formulation/3055 "2024-03-21T08:24:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.lbolok](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@m.lbolok](https://community.freefem.org/u/m.lbolok)\
**Post date:** [March 21, 2024, 8:24am UTC](https://community.freefem.org/t/fespaces-in-vectorized-formulation/3055/1 "2024-03-21T08:24:24Z")

</div>

Hi,  
Is it correct to have different fespaces and solve a vectorized equation as:

fespace Vh(Omega, P2);  
fespace Ph(Omega, P1);  
Vh wr,wz,urs,uzs;  
Ph hs,q;

problem Myproblem([hs,urs,uzs],[q,wr,wz])  
=int2d(Omega)((y\*[hs,urs,uzs])'\*[q,wr,wz]))…

if yes, how do the coordinates x or y work?

---

<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 21, 2024, 5:39pm UTC](https://community.freefem.org/t/fespaces-in-vectorized-formulation/3055/2 "2024-03-21T17:39:08Z")

</div>

It work and x y are the coordinate of the quadrature point use to compute the integral.
