nls

Non-linear Schrodinger Equation Solver

https://github.com/daskol/nls

Science Score: 26.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
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

equation nls physics-simulation quantum-mechanics schrodinger-equation

Keywords from Contributors

interactive serializer packaging network-simulation shellcodes hacking autograding observability genomics embedded
Last synced: 6 months ago · JSON representation

Repository

Non-linear Schrodinger Equation Solver

Basic Info
  • Host: GitHub
  • Owner: daskol
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 246 KB
Statistics
  • Stars: 13
  • Watchers: 3
  • Forks: 6
  • Open Issues: 0
  • Releases: 1
Topics
equation nls physics-simulation quantum-mechanics schrodinger-equation
Created about 10 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Build Status Coverage Status PyPi Downloads

Non-linear Schrodinger Equation Solver(NLS)

Description

Package to solve non-linear Schrodinger equation written with Fortran 95 and Python 2.

NLS is scientific package that provides ability to solve effeffectively non-linear schrodinger equation with reservoir. These equation describes exciton-polariton condensation in microcavities. NLS is built on native fortran code and is based on certain natural abstraction layer that wraps native solver. These features are reason that makes calcualtions with NLS fast.

Features

  • core written with native Fortran
  • wrapped with Python interaface
  • [DEV] executables written with native Fortran
  • [DEV] support for multithreading computation
  • [DEV] support for distributed computation

Gaussian Ring Pumping

Usage

Fortran executable

  1. Change directory to src/
  2. Run make
  3. Change directory to test/
  4. Run make and then run ./test_nls
  5. Change directory to bin/
  6. Run ./solve in order to start calculation
  7. Visualize solution with python2 src/visualize.py

Python module

  1. Change directory to src/
  2. Run make glue in order to build python lib in bin/ directory that incapsulate native code
  3. Use python to import native module in a way

python from nls.native import nls print(nls.version())

  1. Or use python to import python wrap in a way

python from nls import Problem model = Problem().model() model.report() model.solve() model.visualize() model.show()

Testing

Requirements

  1. Fortran compiler
  2. Python libraries numpy with f2py extension, matplotlib, and scipy.

Credits

© Daniel Bershatsky, 2015-2016

Owner

  • Name: Daniel Bershatsky
  • Login: daskol
  • Kind: user
  • Location: Russia, Moscow
  • Company: @skoltech-ai

GitHub Events

Total
  • Watch event: 2
  • Delete event: 1
  • Push event: 1
  • Pull request event: 2
  • Create event: 1
Last Year
  • Watch event: 2
  • Delete event: 1
  • Push event: 1
  • Pull request event: 2
  • Create event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 106
  • Total Committers: 2
  • Avg Commits per committer: 53.0
  • Development Distribution Score (DDS): 0.057
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
daskol d****y@s****u 100
dependabot[bot] 4****] 6
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 months
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.14
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 7
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 13 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (7)
Top Labels
Issue Labels
Pull Request Labels
dependencies (7)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 191 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 2
  • Total maintainers: 1
pypi.org: nls

NLS: Non-Linear Schrodinger equation solver.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 191 Last month
Rankings
Dependent packages count: 7.3%
Dependent repos count: 11.8%
Forks count: 13.3%
Average: 15.0%
Stargazers count: 17.1%
Downloads: 25.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • Flask ==1.0.2
  • Jinja2 >=2.10.1
  • MarkupSafe ==0.23
  • Werkzeug ==0.15.3
  • cycler ==0.10.0
  • itsdangerous ==0.24
  • matplotlib *
  • numpy *
  • pyparsing ==2.1.1
  • python-dateutil ==2.5.2
  • pytz ==2016.3
  • scipy *
  • six ==1.10.0
pyproject.toml pypi
setup.py pypi