#ifndef COLLECT_PRESSURE_H
#define COLLECT_PRESSURE_H

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

#ifndef PRESSURE_H
#include "Pressure.h"
#endif

namespace MM
{

class Collect_pressure : public Collect_scalar
{
    Pressure            pressure_;

public:
    explicit Collect_pressure (Model & model, Text in);

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


    Text                title      () const {return "Pressure";}
    Text                class_name () const {return "Collect_pressure";}
    virtual double      extract_current_value ();
};

}//MM

#endif //COLLECT_PRESSURE_H
