Changeset 35760a for src/Potentials/Specifics/ConstantPotential.cpp
- Timestamp:
- Oct 3, 2016, 5:34:49 PM (9 years ago)
- Branches:
- Fix_FitPotential_needs_atomicnumbers
- Children:
- 91a3f7
- Parents:
- 6aed89
- git-author:
- Frederik Heber <heber@…> (10/03/16 17:29:46)
- git-committer:
- Frederik Heber <heber@…> (10/03/16 17:34:49)
- File:
-
- 1 edited
-
src/Potentials/Specifics/ConstantPotential.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Potentials/Specifics/ConstantPotential.cpp
r6aed89 r35760a 64 64 const std::string ConstantPotential::potential_token("constant"); 65 65 Coordinator::ptr ConstantPotential::coordinator(Memory::ignore(new OneBody_Constant())); 66 67 static PotentialSubgraph generateSubgraph() 68 { 69 return PotentialSubgraph(); 70 } 71 const PotentialSubgraph ConstantPotential::subgraph(generateSubgraph()); 66 72 67 73 ConstantPotential::ConstantPotential() : … … 195 201 data.getTrainingOutputAverage()[0];// -1.; 196 202 } 197 198 boost::adjacency_list<>199 ConstantPotential::getSubgraph() const200 {201 return boost::adjacency_list<> (0);202 }203
Note:
See TracChangeset
for help on using the changeset viewer.
