2010-03-11 09:56:19 +00:00
|
|
|
#ifndef OPENEMS_H
|
|
|
|
#define OPENEMS_H
|
|
|
|
|
|
|
|
class Operator;
|
|
|
|
class Engine;
|
|
|
|
class ProcessingArray;
|
|
|
|
|
|
|
|
class openEMS
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
openEMS();
|
|
|
|
~openEMS();
|
|
|
|
|
|
|
|
int SetupFDTD(const char* file);
|
|
|
|
|
|
|
|
void RunFDTD();
|
|
|
|
|
|
|
|
void Reset();
|
|
|
|
|
2010-03-11 14:48:55 +00:00
|
|
|
void SetEnableDumps(bool val) {Enable_Dumps=val;}
|
|
|
|
|
2010-03-11 09:56:19 +00:00
|
|
|
protected:
|
|
|
|
//! Number of Timesteps
|
|
|
|
int NrTS;
|
2010-03-11 14:48:55 +00:00
|
|
|
bool Enable_Dumps;
|
2010-03-11 09:56:19 +00:00
|
|
|
Operator* FDTD_Op;
|
|
|
|
Engine* FDTD_Eng;
|
|
|
|
ProcessingArray* PA;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OPENEMS_H
|