Yes, exactly.
Notice that you would be able to reconstruct correctly the center of mass even using only COM without NOPBC (and without WHOLEMOLECULES).
You can also use less atoms to define the membrane COM, to make the calculation faster.
Finally, I guess (but it depends on the box size relative to the membrane size) that the order in which you place the (subsets of) lipid atoms is not relevant. If the COM position is wrong along x and y, there will be no effect on CV1.c and CV2.c. I guess that just using atom numbering order is fine. However, you should double-check carefully the box size relative to the membrane size. The lipids are usually oriented, if you pick atoms close to the center of the membrane it is less likely that this problem will show up, but on the other hand you will have a less homogeneous distribution of the reaction force on the membrane. You might construct lists with some script, something like:
- go through the first lipid molecule, possible skipping atoms, from the lower to the upper extreme (in z direction)
- then go through the second lipid molecule in the opposite order
- then go through the third lipid molecule in the same order as in the first one.
- etc
Make sure you understand how PBC reconstruction works in PLUMED because it's easy to make mistakes...
Giovanni