Changeset 55c494 for src/Potentials
- Timestamp:
- May 19, 2021, 7:06:29 PM (4 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- b3bd7d
- Parents:
- 15fc6a
- git-author:
- Frederik Heber <frederik.heber@…> (05/14/21 09:52:02)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
- Location:
- src/Potentials
- Files:
- 
      - 2 edited
 
 - 
          
  PotentialFactory.cpp (modified) (1 diff)
- 
          
  PotentialFactory.hpp (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      src/Potentials/PotentialFactory.cppr15fc6a r55c494 172 172 } 173 173 174 EmpiricalPotential const * const PotentialFactory::getDefaultPotential(const enum PotentialTypes &_type) const { 175 return const_cast<EmpiricalPotential const * const>(getDefaultPotential(getNameForType(_type))); 176 } 177 178 174 179 CONSTRUCT_SINGLETON(PotentialFactory) 
- 
      src/Potentials/PotentialFactory.hppr15fc6a r55c494 44 44 public: 45 45 46 /** Returns a default potential to which only we have access. 47 * 48 */ 49 EmpiricalPotential const * const getDefaultPotential(const enum PotentialTypes &_type) const; 50 51 46 52 /** Creates an instance of the requested potential. 47 53 * 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
