From b2aed19c88f6a06ace76138d6b57fd3fe08c8635 Mon Sep 17 00:00:00 2001 From: Jacob Gissinger Date: Tue, 23 Apr 2024 23:32:27 -0400 Subject: [PATCH] Update doc/src/compute_count_type.rst Co-authored-by: Axel Kohlmeyer --- doc/src/compute_count_type.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/compute_count_type.rst b/doc/src/compute_count_type.rst index cd72050259..5fbe6175a3 100644 --- a/doc/src/compute_count_type.rst +++ b/doc/src/compute_count_type.rst @@ -80,7 +80,7 @@ atoms like so: compute typevec all count/type atom # number of atoms of each type variable normtypes vector c_typevec/atoms # divide by total number of atoms variable ntypes equal extract_setting(ntypes) # number of atom types - thermo_style custom step v_normtypes[*$(v_ntypes)] # vector variable needs upper limit + thermo_style custom step v_normtypes[*${ntypes}] # vector variable needs upper limit Similarly, bond counts can be normalized by the total number of bonds. The same goes for angles, dihedrals, and impropers (see below).