Skip to content

Commit

Permalink
tweak the default truncation radius.
Browse files Browse the repository at this point in the history
  • Loading branch information
mabruzzo committed Jul 25, 2024
1 parent 037e679 commit f754356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/disk_galaxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ class ClusteredDiskGalaxy : public DiskGalaxy
inline Real Get_StarCluster_Truncation_Radius(const Parameters& p)
{
if ((20.4 < p.xlen) and (p.xlen < 20.5)) return 9.5;
return p.xlen / 2.0 - 0.2;
return p.xlen / 2.0 - 0.5;
}

inline Real Get_Gas_Truncation_Radius(const Parameters& p)
{
if ((20.4 < p.xlen) and (p.xlen < 20.5)) return 9.9;
return p.xlen / 2.0 - 0.1;
return p.xlen / 2.0 - 0.3;
}

// Forward declare galaxy instances. These are defined in disk_galaxy.cu
Expand Down

0 comments on commit f754356

Please sign in to comment.