openEMS/FDTD/processcurrent.h
Thorsten Liebig f73bf210ed new ProcessingArray; Processing returns next interval for process()
Processing now uses a timestep interval in which Process() will do it's work
and returns the next interval it doesn't need another Process() call

all Processing routines can be put into these array
and it will take care of calling Process() at the right time
2010-03-10 12:15:14 +01:00

25 lines
424 B
C++

#ifndef PROCESSCURRENT_H
#define PROCESSCURRENT_H
#include "processing.h"
class ProcessCurrent : public Processing
{
public:
ProcessCurrent(Operator* op, Engine* eng);
virtual ~ProcessCurrent();
virtual void OpenFile(string outfile);
virtual void DefineStartStopCoord(double* dstart, double* dstop);
virtual int Process();
protected:
ofstream file;
vector<FDTD_FLOAT> v_current;
};
#endif // PROCESSCURRENT_H