27 #include <utility/keys/Key4Tuple.hh>
28 #include <utility/keys/Key3Tuple.hh>
29 #include <utility/pointer/access_ptr.hh>
30 #include <utility/pointer/owning_ptr.hh>
31 #include <utility/pointer/ReferenceCount.hh>
39 #include <utility/vector1.hh>
50 mm_torsion_library_( scoring::
ScoringManager::get_instance()->get_MMTorsionLibrary() )
54 mm_torsion_library_( mmtl )
67 mm_atomtype_set.key1(),
68 mm_atomtype_set.key2(),
69 mm_atomtype_set.key3(),
70 mm_atomtype_set.key4() );
74 score += ( (i->second).key1() * ( 1+cos( (i->second).key2() * angle - (i->second).key3() ) ) );
103 Real dscore_dang = 0;
107 mm_atomtype_set.key1(),
108 mm_atomtype_set.key2(),
109 mm_atomtype_set.key3(),
110 mm_atomtype_set.key4() );
119 dscore_dang += (-1 * (i->second).key1() * (i->second).key2() * sin( (i->second).key2() * angle - (i->second).key3() ) );