Changeset 35760a for src/Potentials/Specifics/PairPotential_Harmonic.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
Legend:
- Unmodified
- Added
- Removed
-
src/Potentials/Specifics/PairPotential_Harmonic.cpp
r6aed89 r35760a 66 66 const std::string PairPotential_Harmonic::potential_token("harmonic_bond"); 67 67 Coordinator::ptr PairPotential_Harmonic::coordinator(Memory::ignore(new TwoBody_Length())); 68 static PotentialSubgraph generateSubgraph() 69 { 70 return PotentialSubgraph(); 71 } 72 const PotentialSubgraph PairPotential_Harmonic::subgraph(generateSubgraph()); 68 73 69 74 PairPotential_Harmonic::PairPotential_Harmonic() : … … 216 221 params[PairPotential_Harmonic::spring_constant] = 1e+0*(random()/(rng_max-rng_min));// 0.2; 217 222 } 218 219 boost::adjacency_list<>220 PairPotential_Harmonic::getSubgraph() const221 {222 return boost::adjacency_list<> (1);223 }
Note:
See TracChangeset
for help on using the changeset viewer.
