Scienza / Schroedinger

A Schroedinger Equation solver in C++, with flexible basis definition
GNU Lesser General Public License v2.1
31 stars 9 forks source link

Architecture the implementation of graphical library #7

Open AndreaIdini opened 6 years ago

AndreaIdini commented 6 years ago

Thread to evaluate possible pro-cons of Graphical Libraries that can be used in the project. Feel free to edit this message and comment. Cf. wikipedia List

Pandry commented 5 years ago

Soooooo... Let's face it...

In my opinion, Kiwi and GTK are great options... I didn't look to Pygame yet, but it could be fine too Both libui and imgui could be a good choice too

GabrielePisciotta commented 5 years ago

For the moment, I've created a python script to plot the wavefunction and the potential data, using matplotlib. It's inside the build directory, so after running the executable you can run python3 plot.py and visualize the resulting graph.

AndreaIdini commented 5 years ago

@GabrielePisciotta we need a pretty picture for the Facebook Group. Do you have the 2D harmonic oscillator wave function?

GabrielePisciotta commented 5 years ago

@AndreaIdini only 1D actually. I'm changing the solver in a way that it's able to manage 2D (with separable pot.)

Pandry commented 5 years ago

It looks like everyone in the group agreed on using GTK and Gtkmm-PLplot Example of the code

Just writing this for tracking purposes