#include <quadraticBondStretch.h>
Inheritance diagram for QuadraticBondStretch:
Public Types | |
enum | { UNKNOWN } |
Public Member Functions | |
QuadraticBondStretch () | |
Default constructor. | |
virtual | ~QuadraticBondStretch () throw () |
Destructor. | |
virtual void | clear () throw () |
Clear method. | |
virtual bool | extractSection (ForceFieldParameters ¶meters, const String §ion_name) |
Reads a parameter section from an INI file. | |
virtual bool | extractSection (Parameters ¶meters, const String §ion_name) |
Reads a parameter section from an INI file. | |
bool | hasParameters (Atom::Type I, Atom::Type J) const |
Queries whether a parameter set is defined for the given atom types. | |
QuadraticBondStretch::Values | getParameters (Atom::Type I, Atom::Type J) const |
Returns the parameters for a given atom type combination. | |
bool | assignParameters (QuadraticBondStretch::Values ¶meters, Atom::Type I, Atom::Type J) const |
Assign the parameters for a given atom type combination. | |
Protected Attributes | |
Size | number_of_atom_types_ |
float * | k_ |
float * | r0_ |
bool * | is_defined_ |
String * | names_ |
Molecular Mechanics Parameter: class describing the parameters required for a harmonic stretch potential.
|
Default constructor.
|
|
Destructor.
|
|
Assign the parameters for a given atom type combination. If no parameters are defined for this combination, false is returned and nothing is changed. |
|
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.
Reimplemented from ParameterSection. |
|
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. |
|
Returns the parameters for a given atom type combination.
|
|
Queries whether a parameter set is defined for the given atom types.
|