The EOSPolicy classes often rely directly on converting between mass density and number density with mb, but mb contains a unit conversion, too. Thus these calculations will be incorrect. It may be simplest for EOS to store a baryon mass in both code units and EOS units, with the latter set by the EOS and the former set by the unit conversion.
The
EOSPolicyclasses often rely directly on converting between mass density and number density withmb, butmbcontains a unit conversion, too. Thus these calculations will be incorrect. It may be simplest forEOSto store a baryon mass in both code units and EOS units, with the latter set by the EOS and the former set by the unit conversion.