GPUE-group / GPUE

GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates.
https://gpue-group.github.io/
Other
38 stars 10 forks source link

Mismatch in input wavefunction and output wavefunction even if they are in the same time step #48

Open jc-oist opened 5 years ago

jc-oist commented 5 years ago

The bug can be replicated as follows:

  1. Perform a ground state and real time evolution, with more than 1 time step in real time evolution. Retrieve the wfc_ev_0 and wfc_evi_0 wavefunctions and create a new data.h5 file using this.
  2. Now only perform the real time evolution using the new data.h5 file. Retrieve the 'new' wfc_ev_0 and wfc_evi_0 wavefucntions.
  3. Compare the density profile of these two wavefunctions, you will see two different density profiles. There should be no difference between the density profiles since they should be the same wavefunctions both in time step = 0.
leios commented 5 years ago

Note that this only seems to be an issue when the wavefunctions are written to the HDF5 file via the provided python scripts in write_data.py.