From 5fa0c4951a660e104a178fe83f0a53ccd85e9550 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 8 Aug 2024 21:25:50 -0400 Subject: [PATCH] sync with upstream --- doc/src/pair_meam.rst | 2 +- src/MEAM/meam.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/pair_meam.rst b/doc/src/pair_meam.rst index 57c40aa6ee..b83baebe91 100644 --- a/doc/src/pair_meam.rst +++ b/doc/src/pair_meam.rst @@ -427,7 +427,7 @@ package. They are only enabled if LAMMPS was built with that package. See the :doc:`Build package ` page for more info. 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' at the beginning of the file ``src/MEAM/meam.h`` and update/recompile LAMMPS. There is no limit on the number of atoms types. diff --git a/src/MEAM/meam.h b/src/MEAM/meam.h index 5a131bdc34..fcba6369d4 100644 --- a/src/MEAM/meam.h +++ b/src/MEAM/meam.h @@ -17,7 +17,7 @@ #include #include -constexpr int maxelt = 5; +constexpr int maxelt = 8; namespace LAMMPS_NS { class Memory;