#include <RDFParameter.h>
Public Member Functions |
|
virtual bool | extractSection (ForceFieldParameters ¶meters, const String §ion_name) |
Extract the information from the
parameter file. |
|
Constructors and destructors.
|
|
RDFParameter () | |
Default constructor. |
|
RDFParameter (const RDFParameter &rdf_parameter) | |
Copy constructor. |
|
virtual | ~RDFParameter () |
Destructor. |
|
Assignment
|
|
const RDFParameter & | operator= (const RDFParameter &rdf_parameter) |
Assignment operator. |
|
virtual void | clear () |
Clear method. |
|
Accessors
|
|
Position | getIndex (Atom::Type type_i, Atom::Type type_j) const |
Get the index in dependance of atom
types of solute and solvent. |
|
const RadialDistributionFunction & | getRDF (Atom::Type type_i, Atom::Type type_j) const |
Return a radial distribution
function determined by type. |
|
const RadialDistributionFunction & | getRDF (Position index) const |
Return a radial distribution
function determined by index. |
|
Predicates
|
|
bool | hasRDF (Atom::Type solvent_atom_type, Atom::Type solute_atom_type) const |
Find out, whether the parameter file
contained a RDF for a special solute/solvent atom
combination. |
|
bool | hasParameters (Atom::Type solvent_atom_type, Atom::Type solute_atom_type) const |
hasParameters |
|
Protected Attributes |
|
std::vector < RadialDistributionFunction > |
rdf_list_ |
HashMap< Atom::Type,
HashMap < Atom::Type, Position > > |
rdf_indices_ |
BALL::RDFParameter::RDFParameter | ( | const RDFParameter & | rdf_parameter | ) |
Copy constructor.
rdf_parameter | the RDFParameter instance to copy from |
virtual bool BALL::RDFParameter::extractSection | ( | ForceFieldParameters & | parameters, | |
const String & | section_name | |||
) | [virtual] |
Extract the information from the parameter file.
parameters | a ForceFieldParameters instance | |
section_name | the name of the section to be parsed |
Position BALL::RDFParameter::getIndex | ( | Atom::Type | type_i, | |
Atom::Type | type_j | |||
) | const |
Get the index in dependance of atom types of solute and solvent.
type_i | the type of the solvent atom | |
type_j | the type of the solute atom |
const RadialDistributionFunction& BALL::RDFParameter::getRDF | ( | Position | index | ) | const |
Return a radial distribution function determined by index.
index | the index of the radial distribution function in the internal list |
const RadialDistributionFunction& BALL::RDFParameter::getRDF | ( | Atom::Type | type_i, | |
Atom::Type | type_j | |||
) | const |
Return a radial distribution function determined by type.
type_i | the type of the solvent atom | |
type_j | the type of the solute atom |
bool BALL::RDFParameter::hasParameters | ( | Atom::Type | solvent_atom_type, | |
Atom::Type | solute_atom_type | |||
) | const |
hasParameters
bool BALL::RDFParameter::hasRDF | ( | Atom::Type | solvent_atom_type, | |
Atom::Type | solute_atom_type | |||
) | const |
Find out, whether the parameter file contained a RDF for a special solute/solvent atom combination.
solvent_atom_type | the type of the solvent atom | |
solute_atom_type | the type of the solute atom |
const RDFParameter& BALL::RDFParameter::operator= | ( | const RDFParameter & | rdf_parameter | ) |
Assignment operator.
rdf_parameter | the parameter to assign from |