

A quick and revealing method of looking at global changes in the system is an energy track. This is illustrated by  \[enerfs\] which shows the energy statistics for one of our mergers. Energy and time are normalised by setting the total mass, $M_{tot}$, the outer radius of the system, $R_{max}$ and $G$ equal to unity. The thermal energy is displayed multiplied by a factor of 8, as the total gas mass is ${1 \over 8}$ that of the dark matter. The effect of the merger is clearly visible on  \[enerfs\], however it is impossible to judge the accuracy of the energy conservation due to the scaling.  \[enercons\] expands the system total energy and scales it to the initial value. There are nearly 1000 timesteps in this plot with typical energy conservation better than 1 part in 10000 per step. The same accuracy, smoothing and timestepping parameters were used in all of the runs detailed in this paper.

The combined code was tested by observing the evolution of a static configuration. A single isolated cluster was set up following the prescription given above. This consisted of 8192 gas and 8192 dark matter particles in what should be a nearly stable arrangement. For this run the total energy is conserved to better the 0.4 percent and the start and finish parameters are listed in Table 1. Some expansion at the edge is to be expected as here the gas is not in pressure balance. As in our previous paper () the choice of centre is very important when plotting logarithmic density profiles. For the static run we tried the ‘true’ centre (the position about which the initial profile was built), the position of the gas particle with the highest local density, the mean position of the 100 or so densest gas particles, the most tightly bound dark matter particle and the mean of the 100 or so most tightly bound particles. All five of these positions remained close together, within less than the gravitational softening length. In what follows the mean position of the 100 or so densest gas particles is used as the expansion centre for profiling and radial measurements.

 \[densprof\] shows the initial and final density profiles for the gas and the dark matter, with the end-state taken after approximately the same length of time as the collisions discussed below. The expansion of the edge can readily be seen, as can a very small increase in the core size of both the gas and the dark matter. Some rearrangement in the centre is almost certain to occur as
A quick and revealing method of looking at ball-shaped change in the system is an department of energy track. This is illustrate by   \[enerfs\ ] which shows the department of energy statistic for one of our mergers. Energy and time are normalised by setting the full mass, $ M_{tot}$, the outer spoke of the system, $ R_{max}$ and $ G$ equal to unity. The thermal energy is displayed multiplied by a factor of 8, as the entire gas mass is $ { 1 \over 8}$ that of the dark topic. The effect of the merger is intelligibly visible on   \[enerfs\ ], however it is impossible to judge the accuracy of the department of energy conservation due to the scaling.   \[enercons\ ] expands the organization total energy and scales it to the initial value. There be nearly 1000 timesteps in this plot with typical energy conservation better than 1 part in 10000 per dance step. The same accuracy, smoothing and timestepping parameters were used in all of the runs detailed in this paper. 

 The combined code was tested by observing the evolution of a static shape. A individual isolated bunch was rig up follow the prescription given above. This consist of 8192 gas and 8192 dark matter particles in what should be a about stable arrangement. For this run the total energy is conserved to better the 0.4 percentage and the start and finish parameters are listed in Table   1. Some expansion at the edge is to be expected as here the gas is not in press balance. As in our previous paper () the choice of centre is very authoritative when plotting logarithmic density profiles. For the inactive run we tried the ‘ true ’ centre (the situation about which the initial profile was build), the military position of the gas atom with the highest local density, the mean position of the 100 or indeed densest gas particles, the most tightly bound colored matter particle and the mean of the 100 or so most tightly bound particles. All five of these positions remained close in concert, within less than the gravitational softening length. In what comply the mean position of the 100 or so densest gas particles is used as the expansion center for profiling and radial measurements. 

  \[densprof\ ] shows the initial and final density profiles for the gas and the black topic, with the end - state taken after approximately the same length of time as the collisions discussed downstairs. The expansion of the edge can readily be seen, as can a very little increase in the core size of both the gas and the dark matter. Some rearrangement in the center is almost certain to occur as


A qkick and revealing methoa of looking at global changss in thd system is an energy track. Vhis is iolustrated by  \[enerfs\] wfich showd the enwrgy wtatistics for one of oud meryecs. Energy and tlme are norkalised by setdivg the total mass, $M_{tot}$, the outer radits of tne system, $R_{max}$ agd $G$ qquam to unity. The thermal energy is djsplayev multiplied by a factor of 8, as the total gas mass is ${1 \over 8}$ thwt of the dqrk iqtter. The efwect of tht kerger is dlearly visible on  \[enerfs\], howevdr it is impossuboe hm judge the accugacy of the ekvrgy cotservatoon due to the scelint.  \[enercons\] expands thx system total energi and scalas it to the initiao calue. These afw ndarmy 1000 fimestfps in this pmot with typical energy conserfaeppn better thzn 1 pawt in 10000 per step. The same accuracy, smoothitg znd timestepping paramerers were used in all of the rtns detailed in this paper.

The combined code was tasted cy ibfdevlng the evolution of a static configuration. A aimgke isolated clmster was set up fplpoeyng the presctiption giben above. This condisted jf 8192 gqs and 8192 dwrk katter particles in what shiuld be a necrlt stable arrangemeut. For this xun thg totak energy is conserved tu befter the 0.4 pfrcent ans the start and fknixh paramettfs are listed in Eable 1. Somx expcnsion ag thg edge ys to be edpectcg as here the gas ls noj in psessure bapance. As in our previous paper () the choice of cantge is verv impovtant when ploteing logarithmnc densicy prowiles. For nhe statir run we triqd the ‘true’ cajtre (the posmtion abott wyich the inkgial profile wss built), nht position of the gas particke djth the highest loxal density, the mexn [odivion jx the 100 or so denresg gas oarticltf, bhe mosy tightly bound dark matfer particle and tne mean of the 100 or so most tighyly bound particled. All fite of yhefe positions remained close tofether, wihhik less than tre gvavijational soytening length. In what follows the mean 'osition of the 100 or so eensest gas particlgs ls used as tie expwnsion cettre for profiling abd radial measurekents.

 \[densprof\] shows tge inidial wnd final density profiles for the gas and the dark matter, with the end-stqte taken after aplroxomateny che samq leigvh of time as the collisions discussed below. The expansimn of the edge can readily be xedn, as can a vgry small increase in the dore sizr of both the gas and the dark katter. Some rearrangemenb in the xentrs is almosv certain to occur ax
A quick and revealing method of looking changes the system an energy track. which the energy statistics one of our Energy and time are normalised by the total mass, $M_{tot}$, the outer radius of the system, $R_{max}$ and $G$ to unity. The thermal energy is displayed multiplied by a factor of 8, the gas is \over 8}$ that of the dark matter. The effect of the merger is clearly visible on however it is impossible to judge the accuracy the energy conservation due the scaling. \[enercons\] expands the total and scales to initial There are nearly timesteps in this plot with typical energy conservation better than 1 part in 10000 per step. The accuracy, smoothing parameters were in of runs detailed in The combined code was tested by of a static configuration. A single isolated cluster set up the prescription given above. This consisted 8192 gas and 8192 dark matter particles in should be a nearly stable arrangement. For this run the total energy is conserved to 0.4 percent and the and finish parameters listed Table Some at the is to be expected as here the gas is not in balance. As in our previous paper () the choice of very when plotting logarithmic profiles. For the static we the ‘true’ centre (the which initial the of gas particle with the local density, the mean position the 100 or so tightly bound dark matter particle and the mean the 100 or so most tightly bound All five of these positions remained close together, within less than the softening length. follows the mean position of the 100 or densest gas particles is as the expansion centre for profiling and radial measurements. shows initial and density profiles for gas and the matter, with the after approximately same of collisions discussed below. The expansion of edge readily be seen, as can very in the core size of both the gas and the dark matter. Some rearrangement in is almost certain to as


A quick and revealing method oF looking at GlobaL chAngEs In thE sysTem is an energy tRAck. THis is illustrated by  \[enerFs\] whiCh SHows THe EnergY statisTIcS FOr oNe Of Our MeRGeRs. EneRgy And time Are normaliSed By Setting the toTAl Mass, $M_{tot}$, thE ouTer radius of tHe sYstem, $R_{MaX}$ anD $g$ equaL to Unity. the theRMal eneRgy is dispLaYEd multIPlied by A FAcTor oF 8, as the total gas masS Is ${1 \OVer 8}$ that of the daRk mattEr. tHe EFFecT of The merger iS cLearlY Visible ON  \[eNERFs\], hOWever it is impoSsible to judGE thE accurAcY of THe enerGy conSeRVatIon due to the ScalIng.  \[enercoNs\] expaNDs the sySTem totaL energY anD scAles IT tO tHe iNiTIal VAlUe. THEre Are nearlY 1000 tImEstepS in tHIS PLot wIth TypiCal enErgy conservatIon BettER thAn 1 parT in 10000 peR steP. THe samE accurAcy, smOoThing and timestePpinG parameteRs wErE usEd In all OF the ruNs dEtaIled in tHis papeR.

the CoMBINeD code was tested by obSeRVInG the evolUtion oF A sTaTIc configUrAtiOn. A sINGle isOlatED cLuster waS set up FOlLoWing the PrEscripTiOn gIveN abovE. this ConsisTed of 8192 gas And 8192 daRK matter particlES in what should BE a NEArLY staBle Arrangement. for tHIs ruN the TOtAl eNErgy iS consErVEd TO better the 0.4 percent anD tHe starT and fInish parameteRs are listeD IN table 1. SomE expANsIOn at the edge is tO be exPected as heRE the gas iS not iN pressurE balance. AS IN our prevIouS paPer () The CHOiCe of centre is vERY impOrTant wheN plOtting lOgaRitHmiC deNsIty profilEs. For the StAtIc RuN we Tried THe ‘true’ ceNtRe (tHe PosItion ABout whIch thE iniTiAl PRofIle was bUIlT), THe poSiTiOn of The GaS partIcle WIth The highEst local dEnsITy, thE mEaN positiOn of the 100 or so deNsEst gas partIcLes, The mosT TIghtly boUnd dark matter particle anD The mean Of tHe 100 or sO mosT tightly bOunD partiCleS. all fivE of theSe posItIonS REmainED ClOse ToGether, withIN LesS than ThE graVitatioNal softening length. iN whAt follows the mEan PosiTIOn Of tHE 100 oR So dEnSEst GAS particles is useD as the expaNsIOn Centre for pROfiLiNg and raDial meaSuremENts.

 \[densProf\] shows The initiaL aNd fiNAL deNsity profiLes for thE gas and thE Dark mATtEr, witH thE end-stAtE taKen afTer appROxiMatelY the saMe Length Of timE aS the collIsions discussed below. The ExpansIon of The Edge can reAdiLY be Seen, as can A verY small incrEasE in The coRe sIZe of bOth tHE gAs aND the dArk mATter. Some rEArRanGEMeNt in the centRE IS alMost cErtAIn to ocCur aS


A quick and revealing me thod of lo oking  at  gl ob al c hang es in the syst e m is  an energy track. This  is i ll u stra t ed  by \[enerf s \] w hic hsh ows  t h eenerg y s tatisti cs for one  of  o ur mergers.E ne rgy and ti meare normalis edby set ti ngt he to tal  mass , $M_{ t ot}$,the outer  r a dius o f  the sy s t em , $R _{max}$ and $G$ e q ua l  to unity. The  therm al en e r gyisdisplayedmu ltipl i ed by a fa c t o r o f  8, as the to tal gas mas s  is  ${1 \ ov er8 }$ tha t ofth e  da rk matter.Theeffect of  the m e rger is clearly  visib leon \[e n er fs \],  h o wev e riti s i mpossibl eto  judg e th e a c cura cyof t he en ergy conserva tio n du e  to  thescali ng. \ [ener cons\]  expa nd s the system to talenergy an d s ca les  i t tot he ini tia l v alue. T here ar e  ne ar l y 10 00 timesteps in th is p lo t with t ypical en er g y conser va tio n be t t er th an 1 pa rt in 10 000 pe r  s te p. Thesa me acc ur acy , s mooth i ng a nd tim esteppin g par a meters were us e d in all of t h er u ns deta ile d in this p aper . 

Th e co m bi ned codewas t es t ed by observing the ev ol utionof astatic config uration. A s i ngle iso late d  c l uster was setup fo llowing th e  prescri ption  given a bove. Thi s consiste d o f 8 192  ga s an d 8192 dark m a t terpa rticles  in  what s hou ldbea n ea rly stabl e arrang em en t.  F orthisr un the t ot alen erg y isc onserv ed to  bet te rt he0.4 per c en t andth estar t a nd  fini sh p a ram eters a re listed  in Tabl e1.  Some e xpansion at t he  edge is t obeexpect e d  as here  the gas is not in pres s ure bal anc e. As  inour previ ous  paper  () the ch oice o f cen tr e i s veryi m po rta nt  when plot t i nglogar it hmic  densit y profiles. For th e  st atic run we t rie d th e ‘t rue ’  c e ntr e( the p osition about w hich the i ni t ia l profilew asbu ilt), t he posi tiono f the g as partic le with t he  hig h e stlocal dens ity, the  mean pos i tiono fthe 1 00or sode nse st ga s part i cle s, th e most  t ightly  boun ddark mat ter particle and the me an ofthe 1 00or so mos t t i ght ly boundpart icles. All  fi veof th ese posit ions re mai n ed cl oset ogether,w it hin l es s than theg r a vit ation als ofteni ng l ength. In what fo l lows the meanposi t i onoft he 1 00  or so densest  ga sp a rticlesis  used as th e expans io n  cent re for  profi ling an d ra d ial me asur eme nts.

 \[ den sp r of\] sh ow st he ini tial  a nd fin al den s ityp r ofiles for the g as an d the d a rkmatte r,  with t h e en d-state ta ken after a pproxi mate ly th e samele ngth o f t im e as the c o llisionsdiscu ssed be lo w. T heexpans iono f  theedge  c anreadily b e se e n,  a s  ca n averysm allincreasei n the co res ize ofbo tht h e gasa nd t he dark ma tte r. So m e  rearrange m enti nt he ce ntre i s almo st cert a into  occuras


A quick_and revealing_method of looking at_global changes_in_the system_is_an energy track._This is illustrated_by  \[enerfs\] which shows_the energy statistics_for_one of our mergers. Energy and time are normalised by setting the total mass,_$M_{tot}$,_the outer_radius_of_the system, $R_{max}$ and $G$_equal to unity. The thermal_energy is_displayed multiplied by a factor of 8, as_the_total gas mass_is ${1 \over 8}$ that of the dark matter._The effect of the merger is_clearly visible on_ \[enerfs\],_however_it is impossible to_judge the accuracy of the energy_conservation due to the scaling.  \[enercons\]_expands the system total energy and scales_it to the initial value. There_are nearly 1000 timesteps in_this plot_with typical energy conservation better_than 1 part_in 10000_per step. The_same accuracy, smoothing and timestepping parameters_were used in_all of the runs detailed in_this_paper.

The combined code_was_tested_by observing_the evolution of_a_static configuration._A_single isolated cluster was set up_following_the prescription given above. This consisted of_8192 gas and 8192_dark_matter particles in what_should be a nearly stable_arrangement. For this run the total_energy is_conserved to_better the 0.4 percent and the start and finish parameters are_listed in Table 1. Some expansion at_the edge is to_be expected_as_here the gas_is_not in_pressure balance. As in our previous paper_() the_choice of centre is very important_when plotting logarithmic density_profiles._For the static run we tried_the ‘true’ centre (the position about_which the initial profile was_built),_the_position of the gas particle_with the highest local density, the_mean position of_the 100 or so densest gas particles,_the_most tightly bound dark matter particle_and_the mean of the 100 or_so_most_tightly bound particles. All five_of these positions remained close together,_within less than the gravitational softening length. In what_follows the mean_position of the 100 or_so_densest_gas particles is used as the expansion centre for profiling_and radial_measurements.

 \[densprof\] shows the_initial and final density profiles for the gas and the_dark matter, with the end-state taken after_approximately the same length of time as the collisions discussed below._The expansion of the edge can readily be_seen, as can a very small increase_in the core size_of_both the gas and the dark matter._Some_rearrangement_in_the centre is_almost certain to_occur as