Commit 0c6bb1e2 authored by Mark Abraham's avatar Mark Abraham Committed by Andrey Alekseenko
Browse files

Optimize grompp VDW parameter-generation allocations

parent 086ebc88
......@@ -95,6 +95,7 @@ void generate_nbparams(CombinationRule comb,
cPrefetch.emplace_back(*atypes->atomNonBondedParamFromAtomType(i, 0),
*atypes->atomNonBondedParamFromAtomType(i, 1));
interactions->interactionTypes.reserve(nr * nr);
switch (ftype)
case F_LJ:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment