
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
24 lines
518 B
C++
24 lines
518 B
C++
#ifndef PROCESSVOLTAGE_H
|
|
#define PROCESSVOLTAGE_H
|
|
|
|
#include "processing.h"
|
|
|
|
//! Process voltage along a line from start to stop coordinates. ATM integration along the axis e.g.: in x, then y then z direction (Future: diagonal integration)
|
|
class ProcessVoltage : public Processing
|
|
{
|
|
public:
|
|
ProcessVoltage(Operator* op, Engine* eng);
|
|
virtual ~ProcessVoltage();
|
|
|
|
virtual void OpenFile(string outfile);
|
|
|
|
virtual int Process();
|
|
|
|
protected:
|
|
ofstream file;
|
|
|
|
vector<FDTD_FLOAT> voltages;
|
|
};
|
|
|
|
#endif // PROCESSVOLTAGE_H
|