Ignore:
Timestamp:
Oct 3, 2016, 11:26:02 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_FitPotential_needs_atomicnumbers
Children:
de81b9
Parents:
0b7036
Message:

Extractors now need a subgraph and the set of particle types.

Location:
src/FunctionApproximation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/FunctionApproximation/Extractors.cpp

    r0b7036 r11bab4  
    160160FunctionModel::list_of_arguments_t Extractors::reorderArgumentsByParticleTypes(
    161161    const FunctionModel::list_of_arguments_t &listargs,
    162     const ParticleTypes_t &_types
     162    const ParticleTypes_t &_types,
     163    const boost::adjacency_list<> &_subgraph
    163164    )
    164165{
     
    313314FunctionModel::list_of_arguments_t Extractors::filterArgumentsByParticleTypes(
    314315    const FunctionModel::arguments_t &args,
    315     const ParticleTypes_t &_types
     316    const ParticleTypes_t &_types,
     317    const boost::adjacency_list<> &_subgraph
    316318    )
    317319{
  • src/FunctionApproximation/Extractors.hpp

    r0b7036 r11bab4  
    104104   *
    105105   * \param listargs list of arguments to reorder each
    106    * \param _types particle type vector
     106   * \param _types particle type vector which gives the order of the distance arguments
     107   * \param _subgraph specifies the subgraph which we need to find in the arguments
    107108   * \return reordered args
    108109   */
    109110  FunctionModel::list_of_arguments_t reorderArgumentsByParticleTypes(
    110111      const FunctionModel::list_of_arguments_t &eachargs,
    111       const ParticleTypes_t &_types
     112      const ParticleTypes_t &_types,
     113      const boost::adjacency_list<> &_subgraph
    112114      );
    113115
     
    118120   *
    119121   * \param args arguments to reorder
    120    * \param _types particle type vector
     122   * \param _types particle type vector which gives the order of the distance arguments
     123   * \param _subgraph specifies the subgraph which we need to find in the arguments
    121124   * \return filtered list of args
    122125   */
    123126  FunctionModel::list_of_arguments_t filterArgumentsByParticleTypes(
    124127      const FunctionModel::arguments_t &args,
    125       const ParticleTypes_t &_types
     128      const ParticleTypes_t &_types,
     129      const boost::adjacency_list<> &_subgraph
    126130      );
    127131
Note: See TracChangeset for help on using the changeset viewer.