
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
25 lines
424 B
C++
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
|