BALL
1.4.79
|
#include <BALL/MOLMEC/PARAMETER/quadraticBondStretch.h>
Classes | |
struct | Data |
struct | Values |
Public Types | |
enum | { UNKNOWN } |
![]() | |
enum | { MAX_FIELDS = 20 } |
Protected Attributes | |
Size | number_of_atom_types_ |
float * | k_ |
float * | r0_ |
bool * | is_defined_ |
String * | names_ |
![]() | |
String | section_name_ |
String | format_line_ |
StringHashMap< Index > | section_entries_ |
StringHashMap< Index > | variable_names_ |
std::vector< String > | entries_ |
std::vector< String > | keys_ |
Size | number_of_variables_ |
std::vector< float > | version_ |
bool | valid_ |
Additional Inherited Members | |
![]() | |
Options | options |
![]() | |
static const String | UNDEFINED |
Molecular Mechanics Parameter: class describing the parameters required for a harmonic stretch potential.
Definition at line 25 of file quadraticBondStretch.h.
anonymous enum |
Enumerator | |
---|---|
UNKNOWN |
Definition at line 30 of file quadraticBondStretch.h.
BALL::QuadraticBondStretch::QuadraticBondStretch | ( | ) |
Default constructor.
|
virtual |
Destructor.
bool BALL::QuadraticBondStretch::assignParameters | ( | QuadraticBondStretch::Values & | parameters, |
Atom::Type | I, | ||
Atom::Type | J | ||
) | 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 |
Clear method
Reimplemented from BALL::ParameterSection.
|
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.
|
virtual |
QuadraticBondStretch::Values BALL::QuadraticBondStretch::getParameters | ( | Atom::Type | I, |
Atom::Type | J | ||
) | const |
Returns the parameters for a given atom type combination.
bool BALL::QuadraticBondStretch::hasParameters | ( | Atom::Type | I, |
Atom::Type | J | ||
) | const |
Queries whether a parameter set is defined for the given atom types.
|
protected |
Definition at line 96 of file quadraticBondStretch.h.
|
protected |
Definition at line 92 of file quadraticBondStretch.h.
|
protected |
Definition at line 98 of file quadraticBondStretch.h.
|
protected |
Definition at line 90 of file quadraticBondStretch.h.
|
protected |
Definition at line 94 of file quadraticBondStretch.h.