Ignore:
Timestamp:
Oct 3, 2016, 11:13:52 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_FitPotential_needs_atomicnumbers
Children:
11bab4
Parents:
be20db
git-author:
Frederik Heber <heber@…> (10/03/16 11:13:49)
git-committer:
Frederik Heber <heber@…> (10/03/16 11:13:52)
Message:

Added getSubgraph() to all EmpiricalPotentials.

  • this encodes the specific bonding structure which this potential represents and which allows finding all(!) subgraphs within the fragment graph in the correct manner.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Potentials/EmpiricalPotential.hpp

    rbe20db r0b7036  
    1616
    1717#include <vector>
     18
     19#include <boost/graph/adjacency_list.hpp>
    1820
    1921#include "FunctionApproximation/FunctionArgument.hpp"
     
    8284
    8385protected:
     86  /** Provides the specific subgraph for this specific empirical potential.
     87   *
     88   * \return subgraph encoded as boost::graph's adjacency_list
     89   */
     90  virtual boost::adjacency_list<> getSubgraph() const=0;
     91
    8492  /** Default constructor for class EmpiricalPotential.
    8593   *
Note: See TracChangeset for help on using the changeset viewer.