Skip to content

Bone5505/Differential-Forms

Repository files navigation

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

About

A symbolic differential form library for python

Topics

Resources

Stars

Watchers

Forks

Languages