#include <BALL/MOLMEC/PARAMETER/cosineTorsion.h>

Cosine Torsion.
Molecular Mechanics Parameter: class describing the parameter section required for torsions using a cosine type potential function.
Definition at line 25 of file cosineTorsion.h.
| anonymous enum |
Definition at line 30 of file cosineTorsion.h.
| BALL::CosineTorsion::CosineTorsion | ( | ) |
Default constructor.
| BALL::CosineTorsion::CosineTorsion | ( | const CosineTorsion & | cosine_torsion | ) |
Copy constructor
| virtual BALL::CosineTorsion::~CosineTorsion | ( | ) | [virtual] |
Destructor.
| bool BALL::CosineTorsion::assignParameters | ( | CosineTorsion::Values & | parameters, | |
| Atom::Type | I, | |||
| Atom::Type | J, | |||
| Atom::Type | K, | |||
| Atom::Type | L | |||
| ) | const |
Assign the parameters for a given atom type combination. If no parameters are defined for this combination, false is returned and nothing is changed.
| virtual void BALL::CosineTorsion::clear | ( | ) | [virtual] |
Clear method.
Reimplemented from BALL::ParameterSection.
| virtual bool BALL::CosineTorsion::extractSection | ( | Parameters & | parameters, | |
| const String & | section_name | |||
| ) | [virtual] |
Reads a parameter section from an INI file. This method reads the section given in section_name from ini_file, interprets (if given) a format line, reads the data from this section according to the format, and builds some datastructures for fast and easy acces to the data.
| parameters | the parameters defining the inifile to be read from | |
| section_name | the name of the section to be read (without the squared brackets) |
Reimplemented from BALL::ParameterSection.
| virtual bool BALL::CosineTorsion::extractSection | ( | ForceFieldParameters & | parameters, | |
| const String & | section_name | |||
| ) | [virtual] |
Reads a parameter section from an INI file. This method reads the section given in section_name from ini_file, interprets (if given) a format line, reads the data from this section according to the format, and builds some datastructures for fast and easy acces this data.
| CosineTorsion::Values BALL::CosineTorsion::getParameters | ( | Atom::Type | I, | |
| Atom::Type | J, | |||
| Atom::Type | K, | |||
| Atom::Type | L | |||
| ) | const |
Returns the parameters for a given atom type combination.
| bool BALL::CosineTorsion::hasParameters | ( | Atom::Type | I, | |
| Atom::Type | J, | |||
| Atom::Type | K, | |||
| Atom::Type | L | |||
| ) | const |
Queries whether a parameter set is defined for the given atom types.
| CosineTorsion& BALL::CosineTorsion::operator= | ( | const CosineTorsion & | cosine_torsion | ) |
Assignment operator
| bool BALL::CosineTorsion::operator== | ( | const CosineTorsion & | cosine_torsion | ) | const |
Equality operator
Size BALL::CosineTorsion::number_of_atom_types_ [protected] |
Definition at line 231 of file cosineTorsion.h.
HashMap<Size, Size> BALL::CosineTorsion::torsion_hash_map_ [protected] |
Definition at line 235 of file cosineTorsion.h.
vector<Values> BALL::CosineTorsion::torsions_ [protected] |
Definition at line 233 of file cosineTorsion.h.
1.6.3