On Monday, 19 October 2015 07:37:12 UTC+2, Justin wrote: > > > Ok, I was looking through the changes earlier (and will continue > tomorrow). I have made two important checks thus far: > > 1) div(curl(A)) = 0 > 2) curl(grad(f)) = 0 > > Something I'd really like to see changed in the vector module, is the dependence of these operators on the coordinate system. That is, you define the *grad, curl, div* operators for every coordinate system. This is not necessary, because *base_scalar*s and *base_vector*s all contain a reference to their coordinate system instance.
In SymPy, remember to access to parameters passed to the constructor with *obj.args* They both check out. Next, something will have to be done for dot products > to check: > > 3) grad(fg) = f laplacian(g) + 2 * grad(f) (dot) grad(g) + g laplacian(f) > > And, the laplacian will need added to deal with vector laplacian to check: > > 4) curl(curl(A)) = grad(div(A)) - laplacian(A) > > I will see what I can do for this as well. For the time being I'll stay > in the dev environment under his branch. If we are working simultaneously > we might need to do some special merges. > Did you write some code? Did you post it on github? I'll see if I can get a hold of him and see where he is at (or, if you (*Upabjojr > <https://github.com/Upabjojr>) *keep up with posts, message me on here). > Hello there! > I am afraid some sort of pprint() will need to be arranged for this > spherical stuff because, as of now, the base scalars and base vectors > append spherical_ on the normal ones (x, y, z, i, j, k). > > Best would be to pass the names while constructing the coordinate system, as it is done in the differential geometry module: http://docs.sympy.org/latest/modules/diffgeom.html#sympy.diffgeom.CoordSystem Look at the definition of *rect* "with provided names". -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/406aa9a3-be6e-49a9-8e8b-9f62d22c7052%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
