add unit conversion to table pair style

This commit is contained in:
Axel Kohlmeyer
2020-06-25 04:31:34 -04:00
parent c6b16577f6
commit 2acf71c3e2
5 changed files with 140 additions and 29 deletions

View File

@ -687,7 +687,7 @@ double utils::get_conversion_factor(const int property, const int conversion)
} else if (conversion == METAL2REAL) {
return 23.060549;
} else if (conversion == REAL2METAL) {
return 0.04336410204284381954;
return 1.0/23.060549;
}
}
return 0.0;