Skip to main content

A symbolic differential form library with exterior calculus operations and sympy integration. Applications involve General Relativity and differentialform descriptions of Manifolds.

Project description

General

The Diffform python package implements differential forms and poly-forms from differential geometry. It includes some of the usual operations found in exterior calculus, include exterior product, differential operator. The main advatage of this package over other differential form packages ( e.g. pycartan ) is that it allows for polyforms and there is no dependence on basis forms.

This package is a part-time project during my PhD so updates should be suspected to end eventually. Bugs and mistakes may (possibly will) be prevalent.

Documentation will be implemented when I find the time, when I have time I will try to implement comments in the class/functions as a rudamentary form of documentation.

ToDo List

This is the list of possible implementation, in an approximate order of priority (interest to me):

  • Differential Forms
  • Exterior Product
  • Simplification of Forms
  • Exterior Differential Operator
  • Substitution of factors/forms
  • Vector fields
  • Generic tensor product
  • Insertion of vector fields
  • Generic Tensor Contractions
  • [-] Implement substitution for Tensors
  • Hodge star given metric/frame (In Progress)
  • Fallback to symbolic Hodge star without basis (or if form isn't in basis)
  • Solving 1-form simple linear equations
  • Vector Field Commutator

Dependencies

Make sure you have the following python packages:

  • wheel (needed for installing through pip)
  • sympy

Installation

Package should be uploaded to pip fairly frequently and is currently under diffforms

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diffforms-0.1.2.tar.gz (17.8 kB view details)

Uploaded Source

File details

Details for the file diffforms-0.1.2.tar.gz.

File metadata

  • Download URL: diffforms-0.1.2.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for diffforms-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5a4685398438adcfc514cab666a1f64c26b98daa624dd041bdd7d639f3a94aab
MD5 7be16671a08e5ebaef31b45e2a39822b
BLAKE2b-256 12e96b75634fa8e69fc1288308842a4b47cac4de23398ae15ac64b4870f55991

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page