// Hydrograph.cpp

#include <vector>
#include "Hydrograph.h"

namespace math1d_cl
{
	std::vector<double>& Hydrograph::getQIn()
	{
		return m_qIn;
	}

	void Hydrograph::setQIn(std::vector<double>& qIn)
	{
		m_qIn = qIn;
	}

	std::vector<double>& Hydrograph::getHIn()
	{
		return m_hIn;
	}

	void Hydrograph::setHIn(const std::vector<double>& hIn)
	{
		m_hIn = hIn;
	}

	std::vector<double>& Hydrograph::getQOut()
	{
		return m_qOut;
	}

	void Hydrograph::setQOut(const std::vector<double>& qOut)
	{
		m_qOut = qOut;
	}

	std::vector<double>& Hydrograph::getHOut()
	{
		return m_hOut;
	}

	void Hydrograph::setHOut(const std::vector<double>& hOut)
	{
		m_hOut = hOut;
	}

	void Hydrograph::clear()
	{
		m_qIn.clear();
		m_hIn.clear();
		m_qOut.clear();
		m_hOut.clear();
	}
}