Hi Jamie, I think this is a “feature change”, at some point I repurposed the keystroke ’n’ to “centre on nearest sink particle” rather than advancing forwards in time (which can be achieved by pressing “space”).
If you find this annoying I would be happy to revert to “n” meaning “advance forwards” and could repurpose another keystroke for the centre-on-sink feature. However, this did flag an issue with the starsmasher read, namely that the sink particles are not being recognised for some of these features, so I pushed a bug fix for this. I also made it so that the starsmasher read now reads header quantities, meaning that they can be used as variables in the legend or in calculated quantities. Best wishes, Daniel > On 9 Oct 2020, at 11:13 am, Jamie Lombardi <[email protected]> wrote: > > Hello Daniel, all, > > SPLASH is wonderful, and I've used it for many years. Recently, I started > getting a new error, and I don't know what changed to cause this. The > message is "error: could not find closest sink particle, using origin > instead", and it prevents me from progressing through the snapshots when by > pressing n. I can see the first snapshot with no problem, but as soon as I > press n to advance, the error comes up and the same snapshot is re-rendered. > After upgrading to the latest SPLASH version, I get the same behavior. I > also get the same behavior regardless of whether there are only gas particles > (type 1) or both gas particles and a compact object particle (type 2) in the > simulation. Output with SPLASH_DEBUG=true is appended below up until the > point of the error, which occurs immediately after I press n. > > Daniel, I'll mention that you added StarSmasher file format to the latest > version of SPLASH (thank you!!). I emailed you a sample out file on Feb. 22, > 2020. When I tested my previous and new version of SPLASH on duplicate > copies of that sample out file today, both versions showed this error, even > though I know the previous version worked for me earlier. I'm not sure what > I broke... > > Thank you for any guidance you can offer! > > Regards, > Jamie > > $ splash -f starsmasher out0000.sph out0001.sph > _ _ _ _ _ > _(_) ___ _ __ | | __ _ ___| |__ (_) _ (_) > _ (_) _ / __| '_ \| |/ _` / __| '_ \ _ (_) > (_) _ (_) \__ \ |_) | | (_| \__ \ | | | _ (_) _ > (_) _ |___/ .__/|_|\__,_|___/_| |_| (_) _ (_) > (_) (_)|_| (_) (_) (_)(_) (_)(_) (_)(_) > > ( B | y ) ( D | a | n | i | e | l ) ( P | r | i | c | e ) > > ( v3.0.1 [27th Aug 2020] Copyright (C) 2005-2020 ) > > * SPLASH comes with ABSOLUTELY NO WARRANTY. > This is free software; and you are welcome to redistribute it > under certain conditions (see LICENCE file for details). * > > http://users.monash.edu.au/~dprice/splash > [email protected] or [email protected] > Please cite Price (2007), PASA, 24, 159-173 (arXiv:0709.0832) if you > use SPLASH in print and don't forget to send pics for the gallery > > splash.defaults not found: using default settings > 2 filenames read from command line > ----------------------- out0000.sph ----------------------- > time : 1.6192798439320789E-002 > N_total : 99954 > N data columns : 13 > >> last step ntot = 99954 > DEBUG: ncolumns from data read = 13 > DEBUG: nsteps in file = 1 > splash.units not found > > setting plot limits: steps 1-> 1 cols 1-> 13 > > warning: mean_mu min = max = 1.03E-24 > DEBUG: numplot = 13 ncalc = 0 ndataplots = > 13 > > You may choose from a delectable sample of plots > ------------------------------------------------------- > 1) x 8) density > 2) y 9) specific internal en > 3) z 10) mean_mu > 4) v\dx 11) h > 5) v\dy 12) du/dt > 6) v\dz 13) temperature > 7) particle mass > ------------------------------------------------------- > 14) multiplot [ 4 ] m) set multiplot > ------------------------------------------------------- > d(ata) p(age) o(pts) l(imits) le(g)end h(elp) > r(ender) v(ector) x(sec/rotate) s,S(ave) q(uit) > ------------------------------------------------------- > Please enter your selection now (y axis or option):2 > (x axis) (default=1): > (render) (0=none) ([0:13], default=0): > (vector plot) (0=none, 4=v) ([0:4], default=0): > DEBUG: iplotz = 3 > DEBUG: imulti = F iamrendering = F > DEBUG: required(1:ncolumns) = T T T F F F F F F F F F F > Graphics device/type (? to see list, default /xw): > ----- t = 0.02, dump # 1 ------------------ > DEBUG: in plotstep, allocating local memory... > DEBUG: in plotstep, allocated local memory successfully > DEBUG: itracktype = 0 itrackoffset = 0 > DEBUG: interpolation weights not set because no rendering... > DEBUG: querying colour index range > DEBUG: setting colour table > DEBUG: querying colour table > using colour scheme red > DEBUG: finished colour_set > DEBUG: starting frame loop... > DEBUG: initialising data plots... T T 1 2 99954 > 99954 > DEBUG: iplotz = 3 > DEBUG: setting itrans... > DEBUG: 1 : xmin,max adaptive = -0.82873678084526980 > 0.82873678084526936 > DEBUG: 2 : ymin,max adaptive = -0.82559914511449506 > 0.82559914511449528 > DEBUG: starting coord plot... > DEBUG: entering page setup > x min, max = -.82873678084526980 .82873678084526936 > y min, max = -.82559914511449506 .82559914511449528 > DEBUG: calling setpage... 1 > DEBUG: xmin,xmax,ymin,ymax= -0.82873678084526980 0.82873678084526936 > -0.82559914511449506 0.82559914511449528 > DEBUG: printing axes T T 1 1 1 > DEBUG: setpage ok, querying and saving viewport... > DEBUG: finished page setup > DEBUG: starting particle plot with 99954 particles > -0.11941106894581849 -9.2874214057261817E-002 -6.6338128534802435E-002 > -3.9802731272709689E-002 -1.3267613468660570E-002 1.3267542630963939E-002 > 3.9802939503670288E-002 6.6339152559756712E-002 9.2875986361419666E-002 > -0.14594748574426214 1 1 1 1 > 1 1 1 1 1 1 > 99954 0 0 0 0 0 0 > 0 0 0 0 0 0 > 0 0 0 0 0 0 0 > 0 0 0 0 T F F F F F F F F F F F F F F > F F F F F F F F F > fast-plotted 99954 of 99954 gas particles > -------------- interactive mode commands ----------------------------- > SPACE BAR : skip to next timestep/file > 0,1,2,3..9 and click : go forward/back n timesteps (back=r.click) > left click (or A) : zoom/select > right click (or X or b) : previous timestep > shift+left click : IRREGULAR particle selection > left click on colour bar : change rendering limits > +/- : zoom IN/OUT (_ for out by 20%) > a : (a)dapt plot limits (inside box, over axes or colour bar) > l : (l)og / unlog axis (over x/y axis or colour bar) > o/C/n : re-centre plot on (o)rigin/(C)ursor/(n)earest sink position > backspace: delete annotation (over axes, legend, title or colour bar) > r : (r)eplot current plot > R : (R)eset/remove all range restrictions > p/c : label closest (p)article/plot (c)ircle of interaction > t : t)rack closest particle/turn tracking off (coord plots only) > g : plot a line and find its g)radient > ctrl-t : add text annotation at current position > ctrl-m : toggle Hollywood mode > G/T/H : move le(G)end, (T)itle or (H) vector legend to current position > m/M/i : change colour map (m=next,M=previous,i=invert) (rendered plots > only) > v/V/w : decrease/increase/adapt arrow size on vector plots (Z for x10) > k/K : decrease/increase opacity on opacity-rendered plots (Z for x10) > e/E : use current frame/settings as end point to animation sequence > , . < > : rotate about z axis by +(-) 15,30 degrees (coord plots only) > [ ] { } : rotate about x axis by +/- 15,30 degrees (coord plots only) > / \ ? | : rotate about y axis by +/- 15,30 degrees (coord plots only) > x : take cross section (coord plots only) > u/U/d/D : move cross section/perspective pos. up/down (towards/away from > observer) > s : (s)ave current settings for all steps > q/Q/esc : (q)uit plotting > z/Z(oom) : timestepping, zoom and limits-changing multiplied by 10 > ---------------------------------------------------------------------- > error: could not find closest sink particle, using origin instead > > > -- > You received this message because you are subscribed to the Google Groups > "SPLASH users forum" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/splash-users/b46e739a-39cd-4eae-9710-8ca16b7990c2n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "SPLASH users forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/splash-users/D693714F-DB43-45B1-A286-7437AC0B79B5%40monash.edu.
