Skip to content

Commit

Permalink
Merge pull request #305 from unibas-dmi-hpc/realnewton-patch-1
Browse files Browse the repository at this point in the history
Update ParticlesData and fix reversed Atmin and Atmax
  • Loading branch information
sekelle authored Sep 21, 2022
2 parents 8992481 + 7232e0f commit cb4aa8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sph/include/sph/particles_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ class ParticlesData : public FieldStates<ParticlesData<T, I, AccType>>
// Min. Atwood number in ramp function in momentum equation (crossed/uncrossed selection)
// Complete uncrossed option (Atmin>=1.d50, Atmax it doesn't matter).
// Complete crossed (Atmin and Atmax negative)
constexpr static T Atmax = 0.1;
constexpr static T Atmin = 0.2;
constexpr static T Atmin = 0.1;
constexpr static T Atmax = 0.2;
constexpr static T ramp = 1.0 / (Atmax - Atmin);

// AV switches floor and ceiling
Expand Down

0 comments on commit cb4aa8d

Please sign in to comment.