Skip to content

New struphy structure - very object oriented

Stefan Possanner requested to merge data_class into devel

"cc_lin_mhd_6d" has been adapted to the new structure. A new code "lin_mhd" has been added and set as default.

  • new DATA object for saving via pointers
  • delete "data.hdf5" if no restart
  • adapted import statement for control variate
  • rename pic_equilibrium -> kinetic_equilibrium
  • added /mhd_init and /kinetic_init folders under struphy/
  • Florian's MHD operators work in new format (matrix-free version not yet transferred)
  • new structure for kinetic_equil: similar as mhd_equil
  • Added kinetic_init and Gaussian normalized to 1
  • included flat evaluation in prepare_args, flat evaluation available for all routines via prepare_args
  • kinetic initialization done similar to MHD
  • removed if mpi_rank==0 and if nuh>0 statements (except for creation of DATA object)
  • added pre-conditioners; this required a fix in mass_matrices_2d because evaluation routines now automatically flatten
  • Initilaize MHD and KIN automatically, variables as attributes
  • added modules for substeps of Poisson splitting
  • added test for codes, replaced struphy_tree by tree in binary
  • adapt lin_mhd to gvec equilibrium

Merge request reports