Classes
Coarse grain creator

Classes

class  ESBTL::Coarse_creator_two_barycenters< Residue >
class  ESBTL::Coarse_creator_closest_to_barycenter< Residue, FT_ >

Detailed Description

This module gathers all objects provided to create coarse grain atoms from a residue. Such an object must be a class of the following type:

  template <class Residue>
  struct Coarse_creator_concept{
    //a string indicating how the coarse grained model is defined.
    static const std::string info(){ ... }

    // Creates coarse grain atoms from a residue.
    // Output_iterator is an output iterator of coarse grain atoms.
    // the integer returned is the number of coarse grain atoms created.
    template <class Output_iterator>
    int operator()(const Residue& res,Output_iterator out) const{ ... }
  };