Ignore:
Timestamp:
Oct 3, 2016, 5:26:53 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_FitPotential_needs_atomicnumbers
Children:
ce0b0c
Parents:
7ec605
Message:

tempcommit: Add ..Potentials need to supply PotentialSubgraph instead of adjacency_list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Potentials/Specifics/ManyBodyPotential_Tersoff.hpp

    r7ec605 rb794f5  
    216216  /** Provides the specific subgraph for this specific empirical potential.
    217217   *
    218    * \return subgraph encoded as boost::graph's adjacency_list
    219    */
    220   boost::adjacency_list<> getSubgraph() const;
     218   * \return subgraph describing the potential's bonding model
     219   */
     220  const PotentialSubgraph& getSubgraph() const
     221  { return subgraph; }
    221222
    222223private:
     
    370371  //!> internal coordinator object for converting arguments_t
    371372  static Coordinator::ptr coordinator;
     373
     374  //!> internal subgraph describing the subgraph modeled by this potential
     375  static const PotentialSubgraph subgraph;
    372376};
    373377
Note: See TracChangeset for help on using the changeset viewer.