Giter VIP home page Giter VIP logo

examples's Introduction

Example xAct notebooks

This is a collection of example xAct notebooks that contain common xAct usage patterns. Right click on a file name below and hit "Save link as..." to download a notebook.

ActionVariation_Metric_Fields.nb: General function to vary a Lagrangian

Angular-integration.nb: Example of angular integration on multiple direction vectors (adapted from Post-Newtonian computations)

Bianchi_I_xCoba.nb: Bianchi I Einstein equation using the CTensor framework of xCoba

CCE-system-public.nb: Equations for Cauchy-characteristic extraction, in 1+1+2 form. The angular sector is treated with spin-weighted scalars and raising/lowering operators eth (or edth). A large number of features are demonstrated, including product manifolds and metrics, and multiple metrics on the same manifold. Needs more documentation.

Clifford_Algebra_Traces.nb: Clifford algebra construction in all integer dimensions and fast evaluations of traces of products of Dirac matrices. The tracing function is applied to weak-interaction reaction rates.

ConformalEinsteinEqs.nb: Implementation of the Friedrich's conformal field equations in dimension 4 (metric equations and extended equations).

Conformal_Transformation.nb: Tools to perform conformal transformations and examples. Adapted from a subpart of xPand's code.

CTensorChangeCoords.nb: Simple example of coordinate change using the CTensor framework.

EB-decomp-and-3+1-split.nb: Examples of 3+1 decomposition applied to the Weyl tensor

EDGB-and-DCS-EOMs-and-C-tensors-simplified.nb: Getting equations of motion and simplifying "C-tensors" for Einstein-dilaton-Gauss-Bonnet and dynamical Chern-Simons theories

FriedmannLemaitreMetric_CoordinatesApproach_xCoba.nb: It shows how to define charts and specify the components of the metric so as to obtain the components of the related curvature tensors. Shows also how to change between different charts. Applied to homogeneous cosmology.

Gamma matrices (Dirac algebra).nb: How to treat the algebra of gamma matrices with DefProduct, and canonicalize them to derive many standard identities.

KerrMetric.nb: Some computations for the Kerr metric in Boyer Lindqvist coordinates and the null tetrad. Computation of the surface gravity.

Lagrangian-variation-xPert-VarD.nb: A common usage pattern for varying a Lagrangian with respect to the metric to get Einstein equations

Raychaudhuri.nb: Follows section 9.2 of Wald's book (General Relativity) on the Raychaudhuri equation for a congruence of timelike geodesics

SymManipulatorLovelockExample.nb: Application of the Spinors and SymManipulator package to show the Lovelock tensor is non-dynamical.

Schwarzschild_Metric_Birkhoff_Theorem.nb: Construction of the Schwarzschild metric. Eddington Finkelstein coordinates and surface gravity as simple applications of the CTensor tools of xCoba.

Spherical-vs-Cartesian-Coordinates: Change of coordinates between Cartesian and spherical coordinates in flat 3D. Can be used as a template for setting up change of coordinates.

TimelikeCongruence.nb: 1+3 decomposition of the Ricci and Bianchi identities in dimension 4 with respect to an arbitrary unit timelike vector field. The kinematical quantities and the spatial parts of the Riemann tensor are used to obtain the decompositions.

Warped-product.nb: Minimal example 1) creating a warped product geometry and 2) breaking down the Einstein-Hilbert Lagrangian into the effective lower-dimensional Lagrangian.

examples's People

Contributors

cyrilpitrou avatar duetosymmetry avatar tbackdahl avatar wtbgagoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

the contraction of 5 gamma matrices cannot work properly for other index

Dear Leo,

I download your example Gamma matrices notebook file and it works well on my local laptop.

But I found when I contract 5 gamma matrices with different indexes, the compact results cannot be obtained as showed in my attached screenshot file.
Do you know how to fix this problem?

Best,
Langtian

5-gamma-contraction

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.