You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For consistency with Classic MW, we have been reporting energies in electron volts. However, electron volts aren't "natural" mass/length/time units (like MKS or the amu - nanometer - femtosecond units we use internally) and often we need to convert between electron volts and MLT units.
However, there are currently some inconsistencies regarding exactly when this conversion is made.
We convert gravitational and friction units from an eV basis to MLT when we parse them from an MML file.
But radial bond strengths are not converted to an MLT basis when we parse them from MML file. (They are converted to eV/nm^2).
We convert gravitational potential energy from MLT into eV just before reporting potential energy.
However, the Lennard Jones and Coulomb calculators use one system of units for calculating force and another for calculating energy, so the potential energy calculator needs to remember that, unlike gravitational potential energy, potential energy reported by these calculators don't need to be converted to eV.
This is error prone and confusing. A consistent way of dealing with this would be to
Adopt a policy of converting all MML parameters (friction, gravitational field strength, radial bond strength, etc) to an MLT basis on point of ingestion (when parsing the MML file).
During simulation, accumulate all kinetic and potential energy calculations (etc) in MLT units, and convert to eV if necessary just before outputing the value for human consumption.
The text was updated successfully, but these errors were encountered:
For consistency with Classic MW, we have been reporting energies in electron volts. However, electron volts aren't "natural" mass/length/time units (like MKS or the amu - nanometer - femtosecond units we use internally) and often we need to convert between electron volts and MLT units.
However, there are currently some inconsistencies regarding exactly when this conversion is made.
This is error prone and confusing. A consistent way of dealing with this would be to
The text was updated successfully, but these errors were encountered: