charge
Print total charge for selected atoms.
charge [parm <name> | parmindex <#> | <#>] <mask> [out <file>] [name <set>]
parm <name> | parmindex <#>
Topology to calculate charge from.
<mask>
Atom(s) to calculate total charge for (default all).
[out <file>]
File to write total charge to.
[name <set>]
If specified, a data set named <set> will be created containing total charge.
Print the total charge of atoms in <mask>
(in units of electron charge) for selected topology (first loaded topology by default).