sync with upstream
This commit is contained in:
@ -427,7 +427,7 @@ package. They are only enabled if LAMMPS was built with that package.
|
|||||||
See the :doc:`Build package <Build_package>` page for more info.
|
See the :doc:`Build package <Build_package>` page for more info.
|
||||||
|
|
||||||
The maximum number of elements, that can be read from the MEAM library
|
The maximum number of elements, that can be read from the MEAM library
|
||||||
file, is determined at compile time. The default is 5. If you need
|
file, is determined at compile time. The default is 8. If you need
|
||||||
support for more elements, you have to change the the constant 'maxelt'
|
support for more elements, you have to change the the constant 'maxelt'
|
||||||
at the beginning of the file ``src/MEAM/meam.h`` and update/recompile
|
at the beginning of the file ``src/MEAM/meam.h`` and update/recompile
|
||||||
LAMMPS. There is no limit on the number of atoms types.
|
LAMMPS. There is no limit on the number of atoms types.
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
constexpr int maxelt = 5;
|
constexpr int maxelt = 8;
|
||||||
|
|
||||||
namespace LAMMPS_NS {
|
namespace LAMMPS_NS {
|
||||||
class Memory;
|
class Memory;
|
||||||
|
|||||||
Reference in New Issue
Block a user