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

    r7ec605 rb794f5  
    187187  /** Provides the specific subgraph for this specific empirical potential.
    188188   *
    189    * \return subgraph encoded as boost::graph's adjacency_list
    190    */
    191   boost::adjacency_list<> getSubgraph() const;
     189   * \return subgraph describing the potential's bonding model
     190   */
     191  const PotentialSubgraph& getSubgraph() const
     192  { return subgraph; }
    192193
    193194private:
     
    203204  //!> internal coordinator object for converting arguments_t
    204205  static Coordinator::ptr coordinator;
     206
     207  //!> internal subgraph describing the subgraph modeled by this potential
     208  static const PotentialSubgraph subgraph;
    205209};
    206210
Note: See TracChangeset for help on using the changeset viewer.