#ifndef BOND_GROUP_CACHE_H
#define BOND_GROUP_CACHE_H

#ifndef ARRAY_H
#include "Array.h"
#endif

#ifndef BOND_CACHE_H
#include "Bond_cache.h"
#endif

#ifndef ATOM_GROUP_CACHE_H
#include "Atom_group_cache.h"
#endif

namespace MM
{
class Bond_group;
class Atom_group_cache;

class Bond_group_cache : public  Atom_group_cache
{
protected:
    Bond_group &            bond_group_;
    Array <Bond_cache>      bond_;

public:
    explicit    Bond_group_cache (Bond_group & bond_group, 
                                  Atom_group & atom_group);

   //void        set_lock (bool on);

    void        cache_bonds ();
};

}//MM

#endif //BOND_GROUP_CACHE_H
