Skip to content

Commit da636dc

Browse files
committed
Adjusted scatter in mass size relation
1 parent e521e87 commit da636dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/egg-gencat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,15 +1095,15 @@ int phypp_main(int argc, char* argv[]) {
10951095
out.disk_radius = 2.8*e10(fz + 0.2*(out.m - 9.35));
10961096

10971097
if (!no_random) {
1098-
out.disk_radius *= e10(0.25*randomn(seed, ngal));
1098+
out.disk_radius *= e10(0.17*randomn(seed, ngal));
10991099
}
11001100

11011101
// Use similar size for bulges of disk-dominated galaxies
11021102
vec1u idd = where(out.bt < 0.5);
11031103
out.bulge_radius[idd] = 2.8*e10(fz[idd] + 0.2*(out.m[idd] - 9.35));
11041104

11051105
if (!no_random) {
1106-
out.bulge_radius[idd] *= e10(0.25*randomn(seed, idd.size()));
1106+
out.bulge_radius[idd] *= e10(0.17*randomn(seed, idd.size()));
11071107
}
11081108

11091109
vec1d psize = propsize(out.z, cosmo);

0 commit comments

Comments
 (0)