The gradient function that returns the gradient vector field of a scalar field returns a dictionnary of vectors. This data structure is probably not very efficient and could be replaced by a numpy array of size (nbpoints,3).
See also the VectorField class that is supposed to come soon ;-)
The gradient function that returns the gradient vector field of a scalar field returns a dictionnary of vectors. This data structure is probably not very efficient and could be replaced by a numpy array of size (nbpoints,3).
See also the VectorField class that is supposed to come soon ;-)