#ifndef COLLECT_POTENTIAL_H
#define COLLECT_POTENTIAL_H


#ifndef COLLECT_SCALAR_H
#include "Collect_scalar.h"
#endif

namespace MM
{

class Collect_potential : public Collect_scalar
{
public:
    explicit Collect_potential (Atom_group & atom_group, Text in);

    // Constructor for prototype only.
    //Collect_energy (Prototype const &);

    virtual Monitor *       clone (Atom_group & atom_group,
                                   Text const & args, Text in) const;

    Text                    title      () const {return "Potential";}
    Text                    class_name () const {return "Collect_potential";}
    virtual double          extract_current_value ();
};

}//MM

#endif //COLLECT_POTENTIAL_H
