Git Product home page Git Product logo

e2kan2 / metric2ricci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matthewervinchasco/metric2ricci

0.0 0.0 0.0 115 KB

The purpose of this code is to assist academics in Einstein's Theory of General Relativity. This code allows the user to input a spacetime metric of their own design and output the Christoffel symbols, Ricci curvature tensor and Ricci scalar. This code uses the Symbolic Math Toolbox™ in MATLAB® to perform these calculations.

License: Other

metric2ricci's Introduction

Calculate Ricci Curvature Tensors from Spacetime Metrics

Files:

The Metric2Ricci.mlx code contains the function that does the computations using the MATLAB® Symbolic Math Toolbox™.

The ExamplesOfMetrics.mlx code describes and sets up some examples of metric tensors and spacetime metrics.

Purpose:

The primary purpose of this code is to assist academics in solving Einstein's field equations:

equation

This can be a cumbersome task if done by hand. This code allows the user to input a spacetime metric or metric tensor of their own design and output the Christoffel symbols, Ricci tensor and Ricci scalar. They can then, for example, test if the metric is a valid solution to Einstein's field equations.

Matthew E Chasco

Mathworks

Details:

Einstein’s Theory of General Relativity describes how matter and energy curve spacetime, giving rise to what we observe as gravitational forces. The curvature of spacetime can be described in a matrix known as a metric tensor equation. If we want evaluate whether or not a given metric is a solution to the Einstein field equations, we compute the Einstein tensor. The Einstein tensor equation describes the curvature of spacetime in how it relates to the presence of mass and energy described in the stress-energy tensor equation.

equation

The Einstein tensor itself is composed of the Ricci curvature tensor equation and Ricci scalar equation and spacetime metric equation.

equation

The Ricci curvature tensor and Ricci scalar are both composed of Christoffel symbols equation, which are derived from the spacetime metric:

equation

The comma signifies a partial derivative: equation

The Christoffel symbols play an explicit role in the geodesic equation:

equation

The Ricci curvature tensor and scalar can then be described in terms of the Christoffel symbols and spacetime metric:

equation

equation

metric2ricci's People

Contributors

matthewervinchasco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.