Debian Codegraph @

include/BALL/MOLMEC/COMMON/bendComponent.h

raw symbols SCIP
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 // Molecular Mechanics: Amber force field, bond stretch component
5
6 #ifndef BALL_MOLMEC_COMMON_BENDCOMPONENT_H
7 #define BALL_MOLMEC_COMMON_BENDCOMPONENT_H
8
9 #ifndef BALL_COMMON_H
10 # include <BALL/common.h>
11 #endif
12
13 #ifndef BALL_MOLMEC_COMMON_FORCEFIELDCOMPONENT_H
14 # include <BALL/MOLMEC/COMMON/forceFieldComponent.h>
15 #endif
16
17 #ifndef BALL_MOLMEC_PARAMETER_QUADRATICANGLEBEND_H
18 # include <BALL/MOLMEC/PARAMETER/quadraticAngleBend.h>
19 #endif
20
21 namespace BALL
22 {
23 class ForceField;
24 /** Amber bond stretch component
25
26 \ingroup AMBER
27 */
28 class BALL_EXPORT BendComponent : public ForceFieldComponent
29 {
30 public:
31 BALL_CREATE(BendComponent)
32
33 /** @name Constructors and Destructors
34 */
35 //@{
36
37 /**
38 * Default constructor.
39 */
40 BendComponent();
41
42 /**
43 * Detailed Constructor.
44 */
45 BendComponent(ForceField& force_field);
46
47 /**
48 *Destructor.
49 */
50 virtual ~BendComponent();
51
52 //@}
53
54 /** @name Accessors
55 */
56 //@{
57
58 /**
59 * \copydoc ForceFieldComponent::updateEnergy()
60 */
61 virtual double updateEnergy();
62
63 /**
64 * \copydoc ForceFieldComponent::updateForces()
65 */
66 virtual void updateForces();
67
68 //@}
69
70 protected:
71
72 /*_ @name Private Attributes
73 */
74 //_@{
75
76 /*_ pointer to the array of bends
77 */
78 vector<QuadraticAngleBend::Data> bend_;
79
80 QuadraticAngleBend bend_parameters_;
81
82 //_@}
83 };
84 } // namespace BALL
85
86 #endif //BALL_MOLMEC_COMMON_BENDCOMPONENT_H