BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
BALL::QuadraticAngleBend Class Reference

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

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

Classes

struct  Data
 
struct  Values
 

Public Types

enum  { UNKNOWN }
 
- Public Types inherited from BALL::ParameterSection
enum  { MAX_FIELDS = 20 }
 

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
 
- Public Member Functions inherited from BALL::ParameterSection
 ParameterSection ()
 
 ParameterSection (const ParameterSection &parameter_section)
 
virtual ~ParameterSection ()
 
bool extractSection (Parameters &parameters, const String &section_name)
 
const StringgetSectionName () const
 
const StringgetValue (const String &key, const String &variable) const
 
bool has (const String &key, const String &variable) const
 
bool has (const String &key) const
 
bool hasVariable (const String &variable) const
 
Position getColumnIndex (const String &variable) const
 
Size getNumberOfVariables () const
 
Size getNumberOfKeys () const
 
const StringgetValue (Position key_index, Position variable_index) const
 
const StringgetKey (Position key_index) const
 
const ParameterSectionoperator= (const ParameterSection &section)
 
virtual bool isValid () const
 
bool operator== (const ParameterSection &parameter_section) const
 

Protected Attributes

Size number_of_atom_types_
 
vector< Valuesvalues_
 
vector< Indexvalue_index_
 
- Protected Attributes inherited from BALL::ParameterSection
String section_name_
 
String format_line_
 
StringHashMap< Indexsection_entries_
 
StringHashMap< Indexvariable_names_
 
std::vector< Stringentries_
 
std::vector< Stringkeys_
 
Size number_of_variables_
 
std::vector< floatversion_
 
bool valid_
 

Additional Inherited Members

- Public Attributes inherited from BALL::ParameterSection
Options options
 
- Static Public Attributes inherited from BALL::ParameterSection
static const String UNDEFINED
 

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

BALL::QuadraticAngleBend::QuadraticAngleBend ( )

Default constructor.

virtual BALL::QuadraticAngleBend::~QuadraticAngleBend ( )
virtual

Destructor.

Member Function Documentation

bool BALL::QuadraticAngleBend::assignParameters ( QuadraticAngleBend::Values parameters,
Atom::Type  I,
Atom::Type  J,
Atom::Type  K 
) 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::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
QuadraticAngleBend::Values BALL::QuadraticAngleBend::getParameters ( Atom::Type  I,
Atom::Type  J,
Atom::Type  K 
) const

Returns the parameters for a given atom type combination.

bool BALL::QuadraticAngleBend::hasParameters ( Atom::Type  I,
Atom::Type  J,
Atom::Type  K 
) const

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

Member Data Documentation

Size BALL::QuadraticAngleBend::number_of_atom_types_
protected

Definition at line 92 of file quadraticAngleBend.h.

vector<Index> BALL::QuadraticAngleBend::value_index_
protected

Definition at line 96 of file quadraticAngleBend.h.

vector<Values> BALL::QuadraticAngleBend::values_
protected

Definition at line 94 of file quadraticAngleBend.h.