Scine::Sparrow
5.0.0
Library for fast and agile quantum chemical calculations with semiempirical methods.
Main Page
Related Pages
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
Observers.h
Go to the documentation of this file.
1
7
#ifndef SPARROW_OBSERVERS_H
8
#define SPARROW_OBSERVERS_H
9
10
#include <
Utils/Typenames.h
>
11
12
namespace
Scine {
13
namespace
Sparrow {
14
namespace
RealTimeSpectroscopy {
15
16
class
GradientObserver
{
17
public
:
18
void
notifyGradient(
const
Utils::GradientCollection
& gradient);
19
20
private
:
21
virtual
void
notifyGradientImpl(
const
Utils::GradientCollection
& gradient) = 0;
22
};
23
24
inline
void
GradientObserver::notifyGradient(
const
Utils::GradientCollection
& gradient) {
25
notifyGradientImpl(gradient);
26
}
27
28
}
// namespace RealTimeSpectroscopy
29
}
// namespace Sparrow
30
}
// namespace Scine
31
32
#endif // SPARROW_OBSERVERS_H
Typenames.h
Scine::Utils::GradientCollection
Scine::Sparrow::RealTimeSpectroscopy::GradientObserver
Definition:
Observers.h:16
src
Sparrow
Sparrow
Implementations
RealTimeSpectroscopy
Utils
Observers.h
Generated by
1.8.5