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
ENERGY
energyProcessor.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: energyProcessor.h,v 1.17 2005/12/23 17:01:43 amoll Exp $
5
//
6
7
#ifndef BALL_ENERGY_ENERGYPROCESSOR_H
8
#define BALL_ENERGY_ENERGYPROCESSOR_H
9
10
#ifndef BALL_COMMON_H
11
# include <
BALL/common.h
>
12
#endif
13
14
#ifndef BALL_KERNEL_ATOMCONTAINER_H
15
# include <
BALL/KERNEL/atomContainer.h
>
16
#endif
17
18
#ifndef BALL_CONCEPT_PROCESSOR_H
19
# include <
BALL/CONCEPT/processor.h
>
20
#endif
21
22
namespace
BALL
23
{
30
class
BALL_EXPORT
EnergyProcessor
31
:
public
UnaryProcessor
<AtomContainer>
32
{
33
34
public
:
35
36
BALL_CREATE
(
EnergyProcessor
)
37
38
41
44
EnergyProcessor
();
45
48
EnergyProcessor
(
const
EnergyProcessor
& proc);
49
52
virtual
~
EnergyProcessor
();
53
55
58
61
const
EnergyProcessor
& operator = (
const
EnergyProcessor
& proc);
62
65
virtual
void
clear();
66
68
71
74
virtual
bool
start();
75
78
virtual
Processor::Result
operator () (
AtomContainer
& fragment);
79
81
84
87
double
getEnergy()
const
;
88
90
93
96
bool
isValid()
const
;
97
100
bool
operator ==
(
const
EnergyProcessor
& proc)
const
;
101
103
104
protected
:
105
106
/*_ this is the Fragment for which the computation is to be done */
107
const
AtomContainer
*
fragment_
;
108
109
/*_ the calculated energy */
110
double
energy_
;
111
112
/*_ the valid flag */
113
bool
valid_
;
114
115
};
116
}
117
118
#endif // BALL_ENERGY_ENERGYPROCESSOR_H
BALL_CREATE
#define BALL_CREATE(name)
Definition:
create.h:62
BALL::AtomContainer
Definition:
atomContainer.h:29
BALL::EnergyProcessor
Definition:
energyProcessor.h:30
BALL::EnergyProcessor::energy_
double energy_
Definition:
energyProcessor.h:110
BALL::EnergyProcessor::fragment_
const AtomContainer * fragment_
Definition:
energyProcessor.h:107
atomContainer.h
BALL::UnaryProcessor
Definition:
processor.h:58
processor.h
BALL::operator==
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL::EnergyProcessor::valid_
bool valid_
Definition:
energyProcessor.h:113
BALL::Processor::Result
int Result
Definition:
processor.h:36
common.h
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.7