BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
MOLMEC
PARAMETER
potential1210.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_MOLMEC_PARAMETER_POTENTIAL1210_H
6
#define BALL_MOLMEC_PARAMETER_POTENTIAL1210_H
7
8
#ifndef BALL_FORMAT_PARAMETERSECTION_H
9
# include <
BALL/FORMAT/parameterSection.h
>
10
#endif
11
12
#ifndef BALL_MOLMEC_PARAMETER_ATOMTYPES_H
13
# include <
BALL/MOLMEC/PARAMETER/atomTypes.h
>
14
#endif
15
16
namespace
BALL
17
{
25
class
BALL_EXPORT
Potential1210
26
:
public
ParameterSection
27
{
28
public
:
29
30
enum
31
{
32
UNKNOWN
33
};
34
35
struct
BALL_EXPORT
Values
36
{
37
float
A
;
38
float
B
;
39
};
40
41
struct
BALL_EXPORT
Data
42
{
43
Atom
*
atom1
;
44
Atom
*
atom2
;
45
Values
values
;
46
};
47
48
52
55
Potential1210
() ;
56
59
Potential1210
(
const
Potential1210
& pot1210) ;
60
63
virtual
~
Potential1210
() ;
64
67
virtual
void
clear() ;
68
70
73
79
virtual
bool
extractSection(
ForceFieldParameters
& parameters,
80
const
String
& section_name) ;
81
83
virtual
bool
extractSection(
Parameters
& parameters,
84
const
String
& section_name) ;
85
88
bool
hasParameters(
Atom::Type
I,
Atom::Type
J)
const
;
89
92
Potential1210::Values
getParameters
93
(
Atom::Type
I,
Atom::Type
J)
const
;
94
99
bool
assignParameters
100
(
Potential1210::Values
& parameters,
101
Atom::Type
I,
Atom::Type
J)
const
;
102
104
107
110
const
Potential1210
& operator = (
const
Potential1210
& pot1210) ;
111
113
116
119
bool
operator ==
(
const
Potential1210
& pot1210)
const
;
120
122
123
protected
:
124
125
Size
number_of_atom_types_
;
126
127
std::vector<float>
A_
;
128
129
std::vector<float>
B_
;
130
131
std::vector<bool>
is_defined_
;
132
133
std::vector<String>
names_
;
134
};
135
}
// namespace BALL
136
137
#endif // BALL_MOLMEC_PARAMETER_POTENTIAL1210_H
BALL::ParameterSection
Definition:
parameterSection.h:39
BALL::String
Definition:
string.h:61
BALL::Atom::Type
short Type
Definition:
atom.h:103
BALL::Potential1210::Data::atom1
Atom * atom1
Definition:
potential1210.h:43
BALL::Potential1210::Data
Definition:
potential1210.h:41
BALL::Potential1210::is_defined_
std::vector< bool > is_defined_
Definition:
potential1210.h:131
BALL::Potential1210::number_of_atom_types_
Size number_of_atom_types_
Definition:
potential1210.h:125
BALL::Potential1210::Data::values
Values values
Definition:
potential1210.h:45
BALL::Potential1210
Definition:
potential1210.h:25
BALL::Potential1210::Values::B
float B
Definition:
potential1210.h:38
BALL::Potential1210::Values
Definition:
potential1210.h:35
BALL::Potential1210::A_
std::vector< float > A_
Definition:
potential1210.h:127
BALL::Potential1210::Data::atom2
Atom * atom2
Definition:
potential1210.h:44
BALL::Potential1210::B_
std::vector< float > B_
Definition:
potential1210.h:129
UNKNOWN
UNKNOWN
Definition:
result.h:27
parameterSection.h
BALL::ForceFieldParameters
Definition:
forceFieldParameters.h:29
BALL::operator==
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL::Parameters
Definition:
parameters.h:24
BALL_SIZE_TYPE
BALL::Potential1210::names_
std::vector< String > names_
Definition:
potential1210.h:133
BALL::Atom
Definition:
atom.h:87
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
atomTypes.h
BALL::Potential1210::Values::A
float A
Definition:
potential1210.h:37
Generated by
1.8.7