MCPcopy Create free account
hub / github.com/CompPhysVienna/n2p2 / ExamplePrediction

Class ExamplePrediction

test/cpp/ExamplePrediction.h:9–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "Vec3D.h"
8
9struct ExamplePrediction : public Example
10{
11 std::string pathData;
12
13 double energy;
14 std::vector<nnp::Vec3D> forces;
15
16 ExamplePrediction();
17
18 ExamplePrediction(std::string name) :
19 pathData("../../examples/nnp-predict")
20 {
21 this->name = name;
22 this->description = std::string("Prediction example \"")
23 + this->name
24 + "\"";
25 this->pathData += "/" + this->name;
26 }
27};
28
29template<>
30void BoostDataContainer<ExamplePrediction>::setup()

Callers 1

setupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected