From 1158ce068e3b5b391604270bf10c52d0d2f7f4db Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 16 May 2017 19:07:49 -0300 Subject: Sync generator control fixed --- Project/Exponential.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Project/Exponential.cpp') diff --git a/Project/Exponential.cpp b/Project/Exponential.cpp index e0daeef..3ff1842 100644 --- a/Project/Exponential.cpp +++ b/Project/Exponential.cpp @@ -117,3 +117,10 @@ bool Exponential::Solve(double input, double timeStep) m_output = m_aValue * std::exp(m_bValue * input); return true; } + +Element* Exponential::GetCopy() +{ + Exponential* copy = new Exponential(m_elementID); + *copy = *this; + return copy; +} -- cgit