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/PairPotential_Harmonic.hpp

    r7ec605 rb794f5  
    189189  /** Provides the specific subgraph for this specific empirical potential.
    190190   *
    191    * \return subgraph encoded as boost::graph's adjacency_list
    192    */
    193   boost::adjacency_list<> getSubgraph() const;
     191   * \return subgraph describing the potential's bonding model
     192   */
     193  const PotentialSubgraph& getSubgraph() const
     194  { return subgraph; }
    194195
    195196private:
     
    205206  //!> internal coordinator object for converting arguments_t
    206207  static Coordinator::ptr coordinator;
     208
     209  //!> internal subgraph describing the subgraph modeled by this potential
     210  static const PotentialSubgraph subgraph;
    207211};
    208212
Note: See TracChangeset for help on using the changeset viewer.