CrystalFp
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Enumerations
Enumerator
Pages
CrystalFp
CrystalFpScatterplot.h
Go to the documentation of this file.
1
2
3
4
#ifndef CRYSTALFPSCATTERPLOT_H
5
#define CRYSTALFPSCATTERPLOT_H
6
7
#include "
CrystalFp.h
"
8
namespace
cfp
9
{
10
42
class
CrystalFpScatterplot
43
{
44
public
:
47
CrystalFpScatterplot
();
48
51
~CrystalFpScatterplot
();
52
53
70
void
setNamedParam
(
const
std::string& aName,
const
std::string& aValue);
71
79
size_t
initScatterplot
(
const
CrystalFp
*aCfp);
80
83
enum
ValueType
84
{
85
VAL_TOTAL_ENERGY
,
86
VAL_PER_ATOM_ENERGY
,
87
VAL_STRESS
,
88
VAL_GROUP
,
89
VAL_STEP
90
};
91
97
void
getPoints
(
float
* aCoords)
const
;
98
107
void
getValues
(
float
* aValues,
ValueType
aValueType)
const
;
108
115
float
stepScatterplot
(
float
aTimestep);
116
122
void
perturbPositions
(
void
);
123
126
enum
DiagnosticType
127
{
128
DIAG_DISTANCES
,
129
DIAG_BINNED_DISTANCES
,
130
DIAG_DO_NOTHING
131
};
132
142
size_t
initDiagnostic
(
DiagnosticType
aDiagnostic);
143
149
void
getDiagnosticValues
(
float
* aCoords,
float
* aValues)
const
;
150
154
void
dumpParams
(
void
)
const
;
155
156
private
:
157
void
colorByGroup(
size_t
aNumPoints,
float
*aResult)
const
;
158
float
computeCost(
void
)
const
;
159
160
private
:
161
const
CrystalFp
* mCrystalFp;
162
163
private
:
164
struct
CrystalFpScatterplotImpl;
165
struct
CrystalFpScatterplotImpl* mPimpl;
166
};
167
168
}
169
#endif
170
Generated on Fri Oct 19 2012 16:07:32 for CrystalFp by
1.8.2