BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Classes | Public Types | Public Member Functions | Protected Attributes
BALL::QuadraticAngleBend Class Reference

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

Inheritance diagram for BALL::QuadraticAngleBend:
BALL::ParameterSection

List of all members.

Classes

struct  Data
struct  Values

Public Types

enum  { UNKNOWN }

Public Member Functions

 QuadraticAngleBend ()
virtual ~QuadraticAngleBend ()
virtual void clear ()
virtual bool extractSection (ForceFieldParameters &parameters, const String &section_name)
virtual bool extractSection (Parameters &parameters, const String &section_name)
bool hasParameters (Atom::Type I, Atom::Type J, Atom::Type K) const
QuadraticAngleBend::Values getParameters (Atom::Type I, Atom::Type J, Atom::Type K) const
bool assignParameters (QuadraticAngleBend::Values &parameters, Atom::Type I, Atom::Type J, Atom::Type K) const

Protected Attributes

Size number_of_atom_types_
vector< Valuesvalues_
vector< Indexvalue_index_

Detailed Description

QuadraticAngleBend. Molecular Mechanics Parameter: class describing the parameters required to implement a harmonic potential describing angle bends.

Definition at line 28 of file quadraticAngleBend.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
UNKNOWN 

Definition at line 33 of file quadraticAngleBend.h.


Constructor & Destructor Documentation

Default constructor.

Destructor.


Member Function Documentation

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::QuadraticAngleBend::clear ( ) [virtual]

Clear method.

Reimplemented from BALL::ParameterSection.

virtual bool BALL::QuadraticAngleBend::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.

virtual bool BALL::QuadraticAngleBend::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:
parametersthe parameters defining the inifile to be read from
section_namethe name of the section to be read (without the squared brackets)
Returns:
bool - true if the section could be read, false otherwise

Reimplemented from BALL::ParameterSection.

Returns the parameters for a given atom type combination.

Queries whether a parameter set is defined for the given atom types.


Member Data Documentation

Definition at line 92 of file quadraticAngleBend.h.

Definition at line 96 of file quadraticAngleBend.h.

Definition at line 94 of file quadraticAngleBend.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines