Hello,
I defined a function analog to kappa in this tutorial
with kappa.vector.localForm() as loc:
loc.setValues(cells_0, np.full(len(cells_0), 1))
loc.setValues(cells_1, np.full(len(cells_1), 0.1))
Now I would like to use the values of this Function in a Vectorfield, for example I want a vectorfield (0.0, 0.0, respective value of kappa). I already tried multiplying (0.0, 0.0, 1.0)*kappa and some other things but I got
TypeError: can’t multiply sequence by non-int of type ‘Function’