openEMS/FDTD/processcurrent.h

44 lines
1.3 KiB
C
Raw Normal View History

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/>.
*/
#ifndef PROCESSCURRENT_H
#define PROCESSCURRENT_H
#include "processing.h"
class ProcessCurrent : public Processing
{
public:
ProcessCurrent(Operator* op, Engine* eng);
virtual ~ProcessCurrent();
virtual void DefineStartStopCoord(double* dstart, double* dstop);
virtual void InitProcess();
virtual void FlushData();
virtual int Process();
2010-04-19 14:09:41 +00:00
virtual void DumpBox2File( string vtkfilenameprefix, bool dualMesh = false ) const; //!< dump geometry to file
protected:
vector<FDTD_FLOAT> v_current;
vector<_Complex double> FD_currents;
void WriteFDCurrents();
};
#endif // PROCESSCURRENT_H