1. 18 Oct, 2016 2 commits
  2. 14 Oct, 2016 5 commits
  3. 13 Oct, 2016 6 commits
  4. 12 Oct, 2016 4 commits
  5. 11 Oct, 2016 1 commit
    • Peter W. Draper's avatar
      Merge branch 'fix_super_pointer' into 'master' · ce5d0537
      Peter W. Draper authored
      Fix super pointer
      
      Updated the logic setting the `super` pointer and creating the "hierarchical" tasks (i.e. init, kick, ghost, etc.). Changes involve:
      
       - Getting rid of the `g_super` pointer. We have only one `super` cell per hierarchy.
       - Set the `super` pointer in a new routine.
       - Have only one routine to construct the hierarchical task to avoid overwriting things.
       - Moved the external gravity task to be a self with a new kind of sub-type.
      
      The last item is necessary for the following reason. If we want to run with only external gravity (no hydro, no normal gravity), which is useful to test this aspect individually, we need to create the tasks. Now, we only create the init/kick tasks for super cells, i.e. cells that have at least one self or pair. So I promoted the external_gravity task to be a self with a new sub_type. 
      
      IMO that's more clean now. What do you think ?
      
      Fix #215.
      
      See merge request !259
      ce5d0537
  6. 10 Oct, 2016 12 commits
  7. 09 Oct, 2016 3 commits
  8. 07 Oct, 2016 4 commits
  9. 06 Oct, 2016 3 commits
    • Matthieu Schaller's avatar
      Merge branch 'gizmo_set_internal_energy' into 'master' · c69268c3
      Matthieu Schaller authored
      Gizmo set internal energy
      
      This updates both the conserved and the primitive variables in `hydro_set_internal_energy()` and `hydro_set_entropy()`, and closes #221.
      
      See merge request !265
      c69268c3
    • Bert Vandenbroucke's avatar
    • Matthieu Schaller's avatar
      Merge branch 'isothermal_riemann_solver' into 'master' · 91adabde
      Matthieu Schaller authored
      Added an exact isothermal Riemann solver.
      
      Using an isothermal equation of state requires the use of a specialized Riemann solver. Based on the book of Toro, I derived the corresponding equations and implemented an (exact) Riemann solver that solves them. The results obtained for the 1D Sod shock with GIZMO_SPH and EOS_ISOTHERMAL_GAS match those obtained with GADGET2_SPH and EOS_ISOTHERMAL_GAS, and also agree with the analytic solution (which also makes use of the isothermal Riemann solver).
      
      Writing a TRRS isothermal solver is quite straightforward. I still have to look into the HLLC solver and see if it is possible to make an isothermal version of that.
      
      I have a short document in which the equations for the isothermal Riemann problem are derived, and a Python script that can be used to get the analytic solution for a Sod shock type problem with an isothermal eos. If you are interested in these documents, I can also add them to the repository. The isothermal Riemann problem is not solved in Toro, so there is not really a reference for this.
      
      See merge request !264
      91adabde