-
- Downloads
There was an error fetching the commit references. Please try again later.
Added units for masses and charges
I added the possibility to personalize charge and mass units in the same way as length, energy, and time units were treated so far. Notice that since two new cmd() strings have been added to set units from an MD code, it is necessary to increase the API version to 4. I also added the appropriate developer documentation. Fixes #179
Showing
- developer-doc/mdTemplate.txt 7 additions, 0 deletionsdeveloper-doc/mdTemplate.txt
- src/cltools/Driver.cpp 8 additions, 0 deletionssrc/cltools/Driver.cpp
- src/core/Atoms.h 2 additions, 0 deletionssrc/core/Atoms.h
- src/core/MDAtoms.cpp 9 additions, 2 deletionssrc/core/MDAtoms.cpp
- src/core/PlumedMain.cpp 16 additions, 2 deletionssrc/core/PlumedMain.cpp
- src/setup/Units.cpp 14 additions, 0 deletionssrc/setup/Units.cpp
- src/tools/Units.cpp 41 additions, 1 deletionsrc/tools/Units.cpp
- src/tools/Units.h 45 additions, 0 deletionssrc/tools/Units.h
Loading
Please register or sign in to comment