"Kahler, a
Python library that implements discrete exterior calculus on arbitrary
Hermitian manifolds. Borrowing techniques and ideas first implemented in PyDEC,
Kahler provides a uniquely general framework for computation using discrete
exterior calculus. Manifolds can have arbitrary dimension, topology, bilinear
Hermitian metrics, and embedding dimension. Kahler comes equipped with tools
for generating triangular meshes in arbitrary dimensions with arbitrary
topology. Kahler can also generate discrete sharp operators and implement de
Rham maps. Computationally intensive tasks are automatically parallelized over
the number of cores detected. The program itself is written in Cython--a
superset of the Python language that is translated to C and compiled for extra
speed. Kahler is applied to several example problems: normal modes of a
vibrating membrane, electromagnetic resonance in a cavity, the quantum harmonic
oscillator, and the Dirac-Kahler equation. Convergence is demonstrated on
random meshes.
Kahler provides three ways of triangulating an N dimensional cube:
- Symmetric Grid
- Asymmetric Grid
- Random Mesh
https://github.com/aeftimia/kahler
https://arxiv.org/abs/1405.7879
No comments:
Post a Comment