#ifndef EQUILIBRATION_INTENTION_H
#define EQUILIBRATION_INTENTION_H

#ifndef INTENTION_FRAME_H
#include "Intention_frame.h"
#endif

namespace MM
{

class Equilibration_intention : public Intention_frame
{
public:        
    explicit            Equilibration_intention (Protocol_stage & stage)
        : Intention_frame ("Equilibration", stage) {;}

    bool    check()
    {
        Duration_unit unit;     unit.from_text (stage_.option ("Length"));
        if (unit.steps() == 0)
        {
            set_message ("No steps in simulation.");
            return false;
        }

        set_message ("");
        return true;
    }

    void    apply ()        {;}
    bool    was_reached ()  {return true;}
};

}//MM

#endif //EQUILIBRATION_INTENTION_H
