The current amber writer counts the dihedrals as they are stored in the datalayer. As Amber only supports charmm dihedrals, we need to now how many equivalent charmm dihedrals (both types and actual dihedrals) are stored in the datalayer. Additionally, we need to distinguish among those dihedrals that contain hydrogens and those that don't.
The current amber writer counts the dihedrals as they are stored in the datalayer. As Amber only supports charmm dihedrals, we need to now how many equivalent charmm dihedrals (both types and actual dihedrals) are stored in the datalayer. Additionally, we need to distinguish among those dihedrals that contain hydrogens and those that don't.