| Crates.io | dyntri-edt2d |
| lib.rs | dyntri-edt2d |
| version | 0.9.0 |
| created_at | 2025-02-27 11:41:00.977325+00 |
| updated_at | 2025-07-07 09:25:40.787024+00 |
| description | Direct Monte Carlo sampler of 2D Euclidean Dynamical Triangulations. |
| homepage | https://gitlab.com/dynamical-triangulation/dyntri-rs |
| repository | https://gitlab.com/dynamical-triangulation/dyntri-rs |
| max_upload_size | |
| id | 1571632 |
| size | 53,774 |
Dynamical Triangulations in Rust
The dyntri-core crate aims to form a base and provide standard triangulation and graph structures,
which DT generators can use to provide interoperability and make use of the provided observables.
The dyntri-edt2d and dyntri-cdt2d crates provide implementations of 2D Euclidean and Causal Dynamical Triangulation generators respectively.
This repository is a major refactor of the old dyntri crate, with a focus on interoperability and simplicity.
Add the following dependencies via crates.io for the latest release versions.
Alternatively, if you would like the latest development version you can use cargo's
feature to add dependencies directly from a git repository.
Create a Rust project and to Cargo.toml add:
[dependencies]
dyntri-core = { git = "https://gitlab.com/dynamical-triangulation/dyntri-rust.git" }
# Add desired triangulation generators
dyntri-cdt2d = { git = "https://gitlab.com/dynamical-triangulation/dyntri-rust.git" }
dyntri-edt2d = { git = "https://gitlab.com/dynamical-triangulation/dyntri-rust.git" }
This will use the most recent commit of the main branch.
It is also possible to use other versions of the library, for options see the Cargo docs
Check out the /examples directories of the different crates to see examples of use.
To make visualizations of the triangulations look at the dyntri-visualization
crate.