# Define initial value of an function

Hi,
the initial value of a solution v(x,t) of an equation is defined by: v(x,0)= v_0 \times Id_{[0,x_0]} where Id_{[0,x_0]} (x) is equal to 1 when x \in [0,x_0], else it’s equal to 0.
My question is: in FreeFem++, how we define Vold the initial value of v?