einsteinpy / riccipy Goto Github PK
View Code? Open in Web Editor NEWDevelopment Halted for indefinite time!
License: MIT License
Development Halted for indefinite time!
License: MIT License
For a given vector , we need a method for calculating the covariant derivative given by:
The covariant derivative should be implemented as an operator, however, the contraction of the input vector with the Christoffel symbols implies that the covariant derivative is not compatible with the current API for tensors.
I propose to simply model the covariant derivative as a tensor operator similar to the DiffOperator in partial.py
where it is a subclass of ~sympy.tensor.tensor.TensExpr
and defines the __mul__
and __rmul__
magic methods to return an expression of the form provided by the equation above.
Python 3.5 is soon going to die. Let's not support Python 3.5 in this!
For some reason the API has it that
Currently, the left hand side yields the correct value while the right hand side sums the diagonal components of the array representing the tensor literally.
However this is only an issue with contractions on a single tensor (not a product of tensors), and when the contraction yields a scalar. Meaning that the calculation of the Ricci tensor is fine, but the Ricci scalar is not.
It's very important to provide a minimum bridge between the usefulness and compact symbolic manipulations provided by RicciPy and the numerical functions required by EinsteinPy. As such RicciPy should provide a convenient way to produce numpy-like functions with ~sympy.lambdify
to return either numpy arrays or functions for individual components.
Having a global data structure for managing array replacement is not efficient and causes conflicts in multithreading/multiprocessing. It would be best to find a way to construct the necessary replacement dictionary from within expand_tensor
from the arguments of the passed expression.
Create a directory for storing a collection of different exact solutions to the EFE and provide a means by which these files can be used to initialize a Metric
object.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.