Changeset 3f8238
- Timestamp:
- May 19, 2021, 7:06:29 PM (4 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- c4afdf3
- Parents:
- 0c8989
- git-author:
- Frederik Heber <frederik.heber@…> (05/14/21 20:49:47)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
- Location:
- src/Potentials
- Files:
-
- 9 edited
-
EmpiricalPotential.hpp (modified) (1 diff)
-
Specifics/ConstantPotential.hpp (modified) (1 diff)
-
Specifics/FourBodyPotential_Improper.hpp (modified) (1 diff)
-
Specifics/FourBodyPotential_Torsion.hpp (modified) (1 diff)
-
Specifics/ManyBodyPotential_Tersoff.hpp (modified) (1 diff)
-
Specifics/PairPotential_Harmonic.hpp (modified) (1 diff)
-
Specifics/PairPotential_LennardJones.hpp (modified) (1 diff)
-
Specifics/PairPotential_Morse.hpp (modified) (1 diff)
-
Specifics/ThreeBodyPotential_Angle.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Potentials/EmpiricalPotential.hpp
r0c8989 r3f8238 88 88 virtual const BindingModel& getBindingModel() const=0; 89 89 90 /** 91 * Returns the number of particle types associated with the potential. 92 * 93 * \return number of particle types 94 */ 95 virtual unsigned int getParticleTypeNumber() const=0; 96 90 97 protected: 91 98 /** Default constructor for class EmpiricalPotential. -
src/Potentials/Specifics/ConstantPotential.hpp
r0c8989 r3f8238 191 191 { return bindingmodel; } 192 192 193 /** 194 * Returns the number of particle types associated with the potential. 195 * 196 * \return number of particle types 197 */ 198 unsigned int getParticleTypeNumber() const 199 { return 0; } 200 193 201 private: 194 202 //!> parameter vector with parameters as in enum parameter_enum_t -
src/Potentials/Specifics/FourBodyPotential_Improper.hpp
r0c8989 r3f8238 67 67 { return bindingmodel; } 68 68 69 /** 70 * Returns the number of particle types associated with the potential. 71 * 72 * \return number of particle types 73 */ 74 unsigned int getParticleTypeNumber() const 75 { return 4; } 76 69 77 private: 70 78 -
src/Potentials/Specifics/FourBodyPotential_Torsion.hpp
r0c8989 r3f8238 198 198 { return bindingmodel; } 199 199 200 /** 201 * Returns the number of particle types associated with the potential. 202 * 203 * \return number of particle types 204 */ 205 unsigned int getParticleTypeNumber() const 206 { return 4; } 207 200 208 protected: 201 209 virtual result_t function_theta( -
src/Potentials/Specifics/ManyBodyPotential_Tersoff.hpp
r0c8989 r3f8238 220 220 { return bindingmodel; } 221 221 222 /** 223 * Returns the number of particle types associated with the potential. 224 * 225 * \return number of particle types 226 */ 227 unsigned int getParticleTypeNumber() const 228 { return 2; } 229 222 230 private: 223 231 /** This function represents the cutoff \f$ f_C \f$. -
src/Potentials/Specifics/PairPotential_Harmonic.hpp
r0c8989 r3f8238 193 193 { return bindingmodel; } 194 194 195 /** 196 * Returns the number of particle types associated with the potential. 197 * 198 * \return number of particle types 199 */ 200 unsigned int getParticleTypeNumber() const 201 { return 2; } 202 195 203 private: 196 204 //!> parameter vector with parameters as in enum parameter_enum_t -
src/Potentials/Specifics/PairPotential_LennardJones.hpp
r0c8989 r3f8238 194 194 { return bindingmodel; } 195 195 196 /** 197 * Returns the number of particle types associated with the potential. 198 * 199 * \return number of particle types 200 */ 201 unsigned int getParticleTypeNumber() const 202 { return 2; } 203 196 204 private: 197 205 /** Sets some sensible default parameter values. -
src/Potentials/Specifics/PairPotential_Morse.hpp
r0c8989 r3f8238 195 195 { return bindingmodel; } 196 196 197 /** 198 * Returns the number of particle types associated with the potential. 199 * 200 * \return number of particle types 201 */ 202 unsigned int getParticleTypeNumber() const 203 { return 2; } 204 197 205 private: 198 206 //!> parameter vector with parameters as in enum parameter_enum_t -
src/Potentials/Specifics/ThreeBodyPotential_Angle.hpp
r0c8989 r3f8238 195 195 { return bindingmodel; } 196 196 197 /** 198 * Returns the number of particle types associated with the potential. 199 * 200 * \return number of particle types 201 */ 202 unsigned int getParticleTypeNumber() const 203 { return 3; } 204 197 205 private: 198 206 result_t
Note:
See TracChangeset
for help on using the changeset viewer.
