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.
src/
make
test/
make
and then run ./test_nls
bin/
./solve
in order to start calculationpython2 src/visualize.py
src/
make glue
in order to build python lib in bin/
directory that incapsulate native code from nls.native import nls
print(nls.version())
from nls import Problem
model = Problem().model()
model.report()
model.solve()
model.visualize()
model.show()
numpy
with f2py
extension, matplotlib
, and scipy
.© Daniel Bershatsky, 2015-2016