schroedinger solver

2 views
Skip to first unread message

Ondrej Certik

unread,
Oct 4, 2009, 3:02:21 AM10/4/09
to herm...@googlegroups.com
Hi,

I just pushed python wrappers + a simple schroedinger solver for our
C++ hermes. See the README for instructions how to turn them on.
Example:

$ examples/schroedinger/schroedinger

-------------------------------------------
This is Hermes1D - a free ODE solver
based on the hp-FEM and Newton's method,
developed by the hp-FEM group at UNR
and distributed under the BSD license.
For more details visit http://hpfem.org/.
-------------------------------------------
Importing hermes1d
Python initialized
inverting
solving
sorting the eigenvalues
eigenvalues:
-0.124999914632
-0.0556812382878
-0.0351854495991
-0.0111430096155
Output written to solution.gp.
Done.


The main program is in C++, but it uses numpy for solving the
eigenproblem and matplotlib for plotting (a plot will automatically
arise on the screen, see the attachement).


Ondrej

image.png

Pavel Solin

unread,
Oct 4, 2009, 3:07:25 AM10/4/09
to herm...@googlegroups.com
Ondrej - great!!!
--
Pavel Solin
University of Nevada, Reno
http://hpfem.math.unr.edu/people/pavel/
Hermes project: http://hpfem.org/
FEMhub project: http://femhub.org/
Reply all
Reply to author
Forward
0 new messages