Debian Codegraph @

include/BALL/MOLMEC/COMMON/stretchComponent.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_STRETCHCOMPONENT_H
7 #define BALL_MOLMEC_COMMON_STRETCHCOMPONENT_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_QUADRATICBONDSTRETCH_H
18 # include <BALL/MOLMEC/PARAMETER/quadraticBondStretch.h>
19 #endif
20
21 namespace BALL
22 {
23 class ForceField;
24
25 /**
26 * A ForceField component implementing the harmonic potential used
27 * by Amber and CHARMM
28 * \ingroup MOLMEC
29 */
30 class BALL_EXPORT StretchComponent : public ForceFieldComponent
31 {
32 public:
33 BALL_CREATE(StretchComponent)
34
35 /**
36 * Default Constructor
37 */
38 StretchComponent();
39
40 /**
41 * Detailed Constructor
42 */
43 StretchComponent(ForceField& force_field);
44
45 /** Destructor.
46 */
47 virtual ~StretchComponent();
48
49 //@}
50
51 //@}
52 /** @name Accessors
53 */
54 //@{
55
56 /**
57 * @copydoc ForceFieldComponent::updateEnergy()
58 */
59 virtual double updateEnergy();
60
61 /**
62 * @copydoc ForceFieldComponent::updateForces()
63 */
64 virtual void updateForces();
65
66 //@}
67
68 protected:
69 /*_ @name Private Attributes
70 */
71 //_@{
72
73 /*_
74 */
75 std::vector<QuadraticBondStretch::Data> stretch_;
76
77 /*_ The stretch parameters section
78 */
79 QuadraticBondStretch stretch_parameters_;
80
81 //_@}
82 };
83 } // namespace BALL
84
85 #endif // BALL_MOLMEC_COMMON_STRETCHCOMPONENT_H