2010-03-01 18:35:28 +00:00
# ifndef PROCESSVOLTAGE_H
# define PROCESSVOLTAGE_H
# include "processing.h"
2010-03-02 13:54:50 +00:00
//! 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)
2010-03-01 18:35:28 +00:00
class ProcessVoltage : public Processing
{
public :
ProcessVoltage ( Operator * op , Engine * eng ) ;
virtual ~ ProcessVoltage ( ) ;
2010-03-02 13:54:50 +00:00
virtual void OpenFile ( string outfile ) ;
2010-03-01 18:35:28 +00:00
2010-03-10 11:15:14 +00:00
virtual int Process ( ) ;
2010-03-01 18:35:28 +00:00
protected :
2010-03-02 13:54:50 +00:00
ofstream file ;
2010-03-01 18:35:28 +00:00
vector < FDTD_FLOAT > voltages ;
} ;
# endif // PROCESSVOLTAGE_H