2010-03-11 15:47:40 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 Thorsten Liebig (Thorsten.Liebig@gmx.de)
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2010-03-04 10:53:58 +00:00
|
|
|
#ifndef PROCESSCURRENT_H
|
|
|
|
#define PROCESSCURRENT_H
|
|
|
|
|
2010-06-28 17:45:19 +00:00
|
|
|
#include "processintegral.h"
|
2010-03-04 10:53:58 +00:00
|
|
|
|
2010-06-28 17:45:19 +00:00
|
|
|
class ProcessCurrent : public ProcessIntegral
|
2010-03-04 10:53:58 +00:00
|
|
|
{
|
|
|
|
public:
|
2010-12-07 15:47:23 +00:00
|
|
|
ProcessCurrent(Engine_Interface_Base* eng_if);
|
2010-03-04 10:53:58 +00:00
|
|
|
virtual ~ProcessCurrent();
|
|
|
|
|
2015-06-18 19:45:22 +00:00
|
|
|
virtual std::string GetProcessingName() const {return "current integration";}
|
2011-01-18 09:34:13 +00:00
|
|
|
|
2015-06-18 19:45:22 +00:00
|
|
|
virtual std::string GetIntegralName(int row) const;
|
2011-01-18 09:34:13 +00:00
|
|
|
|
2011-07-13 07:36:23 +00:00
|
|
|
virtual void DefineStartStopCoord(double* dstart, double* dstop);
|
|
|
|
|
2010-08-11 10:28:09 +00:00
|
|
|
//! Integrate currents flowing through an area
|
|
|
|
virtual double CalcIntegral();
|
2010-06-28 16:05:03 +00:00
|
|
|
|
2010-06-28 17:45:19 +00:00
|
|
|
protected:
|
2010-03-04 10:53:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PROCESSCURRENT_H
|