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.0.41.tar.gz (17.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for diffforms-0.0.41.tar.gz
Algorithm Hash digest
SHA256 f5c3e3995014f0b7ece65e95bafa7a7a5aba29018e175147839473dfea1296ef
MD5 7ad616bf8c09f43e0be311687fb6b95b
BLAKE2b-256 36a801e05ff35fb5f9bc4717c0e814d15e08b3a8ba775afe1470c9c51a916446

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