Some of you know me as I have a few minor contributions to sympy and I
helped a bit with GCI. I would like to know whether it is possible for
me to apply for a GSoC project this year?
About the project I have in mind: It is the tensor module. It is quite
bare-bones at the moment. I would like to make sufficiently general to
be useful in (for example):
- Einstein equations in general relativity
- Integrating Feynman diagrams (it has to do with a tensor product of
the space of Lorenz and the space of Dirac)
- nonlinear optics, linear elasticity, fluid mechanics, etc
The first two of those will be directly useful for me.
There is a package for Mathematica (called Ricci) that may serve as an
example but I have just started looking at it. I've also checked the
related issues in the issue tracker.
And about eligibility for the GSoC: I am still a student (4th year
physics in France).
So if you are interested I can prepare a more in-depth presentation of
the potential project.
Stefan
Stefan
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
Stefan
This is great. I think we definitely need to improve that module.
You've already completed the patch requirement, so I would spend time
discussing your idea with the community. Once you've got a solid
idea, you can start writing an application (though it's still early,
so don't worry about this too much yet).
I know very little about the physics, but I have studied tensors in a
general setting in a course on differential geometry (general meaning
that we regularly look at things like T^{i_1, ..., i_n}_{j_n, ...,
j_m} without specifying n or m). So this is something to consider
when planning the module. Many tensor calculations can be computed
with a symbolic number of indices.
Of couse, this is not necessary if you don't want to do it. Just
giving you a little food for thought :)
Aaron Meurer
Thanks for the feedback. I will try to prepare some kind of a
blueprint (at least some imaginary code examples) and then we can
discuss them.
Matt has also sent me https://github.com/sympy/sympy/wiki/Linear-Algebra-Vision
There are some points from it that were not in my vision of the
potential project so I will pay some more attention to them in the
discussion.
Stefan
This would be really cool. This was my very first "application" of sympy, to see
whether it can derive the Schwarzschild metric or not
(examples/advanced/relativity.py)
> - Integrating Feynman diagrams (it has to do with a tensor product of
> the space of Lorenz and the space of Dirac)
I tried to do this using brute force --- simply write the 4x4 matrices
explicitly,
multiply them out and then try to simplify the results, see
examples/advanced/qft.py
But it is a mess. I didn't figure out how to simplify this. So I think
a better approach
is to implement the "trace technology" using tensors.
Is this what you have in mind? There are packages for this in Mathematica,
so we should follow what they do.
> - nonlinear optics, linear elasticity, fluid mechanics, etc
Do you have something concrete in mind?
For example here I have derivation of Euler equations from the 4D
relativistic tensor:
http://theoretical-physics.net/dev/src/fluid-dynamics/general.html#perfect-fluids
it'd be nice to do this in sympy.
Anyway, any of the above would be really cool to have. These physical
projects really add value to SymPy, and typically show some deficiencies
in our simplification or manipulation.
>
> The first two of those will be directly useful for me.
> There is a package for Mathematica (called Ricci) that may serve as an
> example but I have just started looking at it. I've also checked the
> related issues in the issue tracker.
>
> And about eligibility for the GSoC: I am still a student (4th year
> physics in France).
>
> So if you are interested I can prepare a more in-depth presentation of
> the potential project.
You should definitely apply for GSoC as a student.
I am available to mentor projects like these.
Maybe Sean could become a mentor this year? :)
Wigner-Eckart theorem and irreducible spherical tensor operators are
also very useful. Here I
have an example how to use it to derive the formula for an integral of
three spherical
harmonics:
http://theoretical-physics.net/dev/src/math/spherical-harmonics.html#gaunt-coefficients
Ondrej
Ricci,
MathTensor,
FeynCalc
Were your referring to some other packages that I can look into? I
would like to check the established solution before I start designing
an API and so on.
2012/2/7 Ondřej Čertík <ondrej...@gmail.com>:
There is a good list here:
http://en.wikipedia.org/wiki/Tensor_software
I am aware of GRTensorII for Maple.
Cadabra is really good too for tensors, see here the examples:
http://cadabra.phi-sci.com/examples.html
(Search also this list for "Cadabra", you'll find a few threads.)
> would like to check the established solution before I start designing
> an API and so on.
Definitely.
Ondrej
Maybe you want also to look at xAct and related packages?
The code is GPL, maybe this can be a benefit
even given that sympy uses a BSD license.
I have to admit that I never really used it though.