Skip to content

Commit 8b9948b

Browse files
Marc Descoteauxcw-tan
authored andcommitted
Set extvector flag for vector properties
1 parent 6e37b34 commit 8b9948b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compute_allegro.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ ComputeAllegro<peratom>::ComputeAllegro(LAMMPS *lmp, int narg, char **arg) : Com
6464
size_peratom_cols, newton);
6565
} else {
6666
vector_flag = 1;
67+
//As stated in the README, we assume vector properties are extensive
68+
extvector = 1;
6769
size_vector = std::atoi(arg[4]);
6870
if (size_vector <= 0) error->all(FLERR, "Incorrect vector length!");
6971
memory->create(vector, size_vector, "ComputeAllegro:vector");

0 commit comments

Comments
 (0)