cons-laws

Crates.iocons-laws
lib.rscons-laws
version0.1.5
sourcesrc
created_at2021-08-06 17:30:30.543509
updated_at2022-08-24 17:03:03.187048
descriptionParticle methods to solve 1D conservation laws
homepage
repositoryhttps://github.com/FedericoStra/cons-laws
max_upload_size
id432518
size155,858
Federico Stra (FedericoStra)

documentation

README

Particle methods for 1D conservation laws

Crates.io docs.rs GitHub Workflow Status MIT license Lines of code

This crate implements the deterministic particle schemes described in the article Entropy solutions of non-local scalar conservation laws with congestion via deterministic particle method, E. Radici, F. Stra (2021), https://arxiv.org/abs/2107.10760.

You can cite the article as

@online{RadiciStra2021,
    title={Entropy solutions of non-local scalar conservation laws with congestion via deterministic particle method}, 
    author={Emanuela Radici and Federico Stra},
    year={2021},
    eprint={2107.10760},
    archivePrefix={arXiv},
    primaryClass={math.AP},
    url={https://arxiv.org/abs/2107.10760}
}

This is a reimplementation in Rust of the Julia package ConservationLawsParticles.jl.

The goal of this crate is to solve non-local conservation laws with congestion of the form

∂ₜρ + divₓ[ρ⋅v(ρ)⋅(V - ∂ₓW⋆ρ)] = 0

via deterministic particle schemes. Plotting the trajectories of the particles produces images such as trajectories

Commit count: 59

cargo fmt