Scine::Swoose  2.1.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
InteractionTermBase.h
Go to the documentation of this file.
1 
8 #ifndef MOLECULARMECHANICS_INTERACTIONTERMBASE_H
9 #define MOLECULARMECHANICS_INTERACTIONTERMBASE_H
10 
11 namespace Scine {
12 namespace MolecularMechanics {
13 
19  public:
24  void disable() {
25  disabled_ = true;
26  };
27 
32  void enable() {
33  disabled_ = false;
34  };
35 
36  protected:
37  bool disabled_ = false;
38 };
39 
40 } // namespace MolecularMechanics
41 } // namespace Scine
42 
43 #endif // MOLECULARMECHANICS_INTERACTIONTERMBASE_H
void enable()
Enable this term. If it is enabled, the interaction is included in the MM model. Needed for the QM/MM...
Definition: InteractionTermBase.h:32
Base class for all interaction terms.
Definition: InteractionTermBase.h:18
void disable()
Disable this term. If it is disabled, the interaction is included in the MM model. Needed for the QM/MM calculator to switch specific interactions off and on.
Definition: InteractionTermBase.h:24