GMX-DENSORDER(1)

πŸ’– gmx-densorder β€” Calculate surface fluctuations πŸ’–

okay bestie, welcome to gmx-densorder(1) from the GROMACS manual, aka the glow-up page for when you wanna know exactly where your two phases stop vibing with each other and start a whole new surface situation ✨


🌸 NAME 🌸

gmx-densorder β€” bestie's fave little tool for calculating surface fluctuations πŸ’…


✨ SYNOPSIS ✨

gmx densorder [-s [<.tpr>]] [-f [<.xtc/.trr/...>]] [-n [<.ndx>]]
              [-o [<.dat>]] [-or [<.out> [...]]] [-og [<.xpm> [...]]]
              [-Spect [<.out> [...]]] [-b <time>] [-e <time>]
              [-dt <time>] [-[no]w] [-[no]1d] [-bw <real>]
              [-bwn <real>] [-order <int>] [-axis <string>]
              [-method <enum>] [-d1 <real>] [-d2 <real>]
              [-tblock <int>] [-nlevel <int>]

🫢 DESCRIPTION 🫢

okay so picture this: you ran an MD trajectory, you got a two-phase density distribution, and it's just sitting there along one axis being all... 3D and unbothered. not anymore. 😭

gmx densorder takes that two-phase density distribution along an axis, computed over a MD trajectory, and reduces it to 2D surfaces fluctuating in time β€” by doing a fit to a functional profile for interfacial densities. it's giving glow-down in the best way possible. iconic. the way that a whole chunky 3D thing becomes cute lil 2D surfaces that wiggle over time? obsessed.

and if you're the kind of girlie who wants the big picture, a time-averaged spatial representation of the interfaces can be output with the option -tavg. πŸ‘‘


πŸ’… OPTIONS πŸ’…

πŸŽ€ Options to specify input files:

  • -s [<.tpr>] (topol.tpr) β€” Portable xdr run input file. your starting point, the blueprint, the moment before everything pops off.
  • -f [<.xtc/.trr/...>] (traj.xtc) β€” Trajectory: xtc trr cpt gro g96 pdb tng h5md. all those formats? yeah she eats every single one πŸ“
  • -n [<.ndx>] (index.ndx) β€” Index file. tell her who's who in your system, bestie.

🌈 Options to specify output files:

  • -o [<.dat>] (Density4D.dat) (Optional) β€” Generic data file. just vibes, just density, just data.
  • -or [<.out> [...]] (hello.out) (Optional) β€” Generic output file. (yes the default is literally hello.out, we love a friendly queen 🫢)
  • -og [<.xpm> [...]] (interface.xpm) (Optional) β€” X PixMap compatible matrix file. your interfaces, but make it a picture ✨
  • -Spect [<.out> [...]] (intfspect.out) (Optional) β€” Generic output file. spectra girlies rise πŸ™ˆ

πŸ’œ Other options:

  • -b <time> (0) β€” Time of first frame to read from trajectory (default unit ps). where we start the story, bestie.
  • -e <time> (0) β€” Time of last frame to read from trajectory (default unit ps). where we put the pen down.
  • -dt <time> (0) β€” Only use frame when t MOD dt = first time (default unit ps). not every frame makes the cut. it's giving selective. πŸ’€
  • -[no]w (no) β€” View output .xvg, .xpm, .eps and .pdb files. turn it on and she SHOWS you her work.
  • -[no]1d (no) β€” Pseudo-1d interface geometry. the lil pretend-1D version, lowkey cute.
  • -bw <real> (0.2) β€” Binwidth of density distribution tangential to interface.
  • -bwn <real> (0.05) β€” Binwidth of density distribution normal to interface.
  • -order <int> (0) β€” Order of Gaussian filter, order 0 equates to NO filtering. zero means zero, no filter, no cap.
  • -axis <string> (Z) β€” Axis Direction - X, Y or Z. pick your main character axis πŸ‘‘
  • -method <enum> (bisect) β€” Interface location method: bisect, functional. two methods, two girls, both valid.
  • -d1 <real> (0) β€” Bulk density phase 1 (at small z).
  • -d2 <real> (1000) β€” Bulk density phase 2 (at large z).
  • -tblock <int> (100) β€” Number of frames in one time-block average.
  • -nlevel <int> (100) β€” Number of Height levels in 2D - XPixMaps. so many levels. so many pixels. so much slay ✨
ngl bestie, -bw, -bwn, -d1, -d2 and -tblock are doing a lot of heavy lifting for your interface shape β€” set them with intention, not with chaos. 🧚

πŸ”₯ SEE ALSO πŸ”₯

  • gmx(1) β€” the mothership, the main character, go read her next.

More information about GROMACS is available at <http://www.gromacs.org/>. fr fr, go look, iykyk 🌐


2026, GROMACS development team β€” protect them at all costs, they gave us this whole thing 🫢


okay and that's the whole page bestie!! this was GROMACS 2026.4, dropped Oct 02, 2026, and she is sexy, she is free, she is GMX-DENSORDER(1) πŸ’…βœ¨ no cap, go order some densities. periodt. πŸ’–

πŸ“¦ where this page comes from