ComFiT

ComFiT: a Python library for computational field theory with topological defects - Published in JOSS (2024)

https://github.com/vidarsko/comfit

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README and JOSS metadata
  • Academic publication links
  • Committers with academic emails
    2 of 9 committers (22.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Physics Physical Sciences - 40% confidence
Last synced: 4 months ago · JSON representation

Repository

A python library for simulating field theories with topological defects

Basic Info
  • Host: GitHub
  • Owner: vidarsko
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 191 MB
Statistics
  • Stars: 12
  • Watchers: 1
  • Forks: 5
  • Open Issues: 16
  • Releases: 1
Created over 2 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog License

README.md

ComFiT: a python library for computational field theory with topological defects

ComFiT is an open-source Python library for simulating field theories including the Schrdinger equation, damped Gross-Pitaevskii equation, phase-field crystal models, and hydrodynamic models for active nematics. It uses an object-oriented approach to provide functions for system setup, time evolution, data analysis, and visualization. The library features the Exponential Time Differencing method for numerical integration, specifically the ETD2RK and ETD4RK schemes, ensuring accurate time evolution in simulations.

Additionally, ComFiT includes tools for tracking and calculating the density of topological defects in various systems. It also enables users to create and export plots and animations for a clearer understanding of the simulated phenomena.

Try ComFiT with our tutorials!

If you use ComFiT in your research or education, please cite the following paper:


Skogvoll, V., & Rnning, J. (2024). ComFiT: A Python library for computational field theory with topological defects. Journal of Open Source Software, 9(98), 6599. https://doi.org/10.21105/joss.06599


Oscillating 1D Gaussian wave packet in a harmonic oscillator

Figure: Quenching of a disordered state in a Landau system. A 2D simulation of an order parameter (field) in a Landau model with a disordered initial condition. The equilibrium value of the order parameter is non-zero, so as the system relaxes, it spontaneously forms interfaces between regions of different order parameter values.

Oscillating 3D Gaussian wave packet in a harmonic oscillator

Figure: Oscillating 3D Gaussian wave packet in a harmonic oscillator. A 3D simulation of the Schrdinger equation with a Gaussian initial condition (at rest) in a Harmonic oscillator potential. The amplitude of the wavefunction is shown as an isosurface at $50\%$ its maximal value and the argument by the angle color scheme of the figure above.

Documentation

For detailed usage instructions, tutorials and instructions on how to contribute, please refer to our documentation.

Installation

Comfit can be installed from the Python Package Index (PyPI), a repository of software for the Python programming language, by executing the command

bash pip install comfit

Tests

To test the library, run the following command in the root directory of the repository:

bash python -m unittest discover -s ./tests/

License

ComFiT is licensed under the MIT License.

Acknowledgments

We are grateful to Luiza Angheluta for her steady guidance during our years as Ph.D. doctoral research fellows and for introducing us to this field of study, Audun Skaugen for paving the way for the study of these systems in particular and creating the first programs on which this library is built, and Vegard Gjeldvik Jervell, for helping us with the technical python parts and becoming full-fledged software developers.

Owner

  • Name: Vidar Skogvoll
  • Login: vidarsko
  • Kind: user

JOSS Publication

ComFiT: a Python library for computational field theory with topological defects
Published
June 11, 2024
Volume 9, Issue 98, Page 6599
Authors
Vidar Skogvoll ORCID
Department of Physics, University of Oslo, Norway
Jonas Rønning ORCID
Okinawa Institute of Science and Technology, Japan
Editor
Lucy Whalley ORCID
Tags
computational field theory topological defects Bose-Einstein condensates phase-field crystal

GitHub Events

Total
  • Issues event: 25
  • Watch event: 8
  • Issue comment event: 11
  • Push event: 484
Last Year
  • Issues event: 25
  • Watch event: 8
  • Issue comment event: 11
  • Push event: 484

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 1,302
  • Total Committers: 9
  • Avg Commits per committer: 144.667
  • Development Distribution Score (DDS): 0.35
Past Year
  • Commits: 318
  • Committers: 4
  • Avg Commits per committer: 79.5
  • Development Distribution Score (DDS): 0.145
Top Committers
Name Email Commits
Vidar Skogvoll v****o@f****o 846
jonasron 4****n 431
carlfre c****k@g****m 16
Milos Joksimovic 1****s 3
Vegard Falmår v****r@m****m 2
Lucy Whalley l****y@n****k 1
Kyle Niemeyer k****r@f****m 1
Harish P Jain h****1@g****m 1
Florian Knoop f****p@l****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 48
  • Total pull requests: 8
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 31 minutes
  • Total issue authors: 7
  • Total pull request authors: 6
  • Average comments per issue: 1.15
  • Average comments per pull request: 0.0
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 17
  • Pull requests: 0
  • Average time to close issues: 25 days
  • Average time to close pull requests: N/A
  • Issue authors: 4
  • Pull request authors: 0
  • Average comments per issue: 0.29
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • vidarsko (28)
  • jonasron (8)
  • flokno (7)
  • carlfre (3)
  • sharanroongta (2)
  • harishpjain (1)
  • Laetitia825 (1)
Pull Request Authors
  • MilosJoks (6)
  • vidarsko (2)
  • kyleniemeyer (2)
  • lucydot (2)
  • harishpjain (1)
  • flokno (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
setup.py pypi
  • imageio *
  • matplotlib *
  • moviepy ==1.0.3
  • numpy >=1.22.0
  • scikit-image *