
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
508 B
C++
25 lines
508 B
C++
#ifndef PROCESSFIELDS_TD_H
|
|
#define PROCESSFIELDS_TD_H
|
|
|
|
#include "processfields.h"
|
|
|
|
class ProcessFieldsTD : public ProcessFields
|
|
{
|
|
public:
|
|
ProcessFieldsTD(Operator* op, Engine* eng);
|
|
virtual ~ProcessFieldsTD();
|
|
|
|
virtual int Process();
|
|
|
|
//! Set the length of the filename timestep pad filled with zeros (default is 8)
|
|
void SetPadLength(int val) {pad_length=val;};
|
|
|
|
protected:
|
|
int pad_length;
|
|
|
|
void DumpNoInterpol(ofstream &file);
|
|
void DumpCellInterpol(ofstream &file);
|
|
};
|
|
|
|
#endif // PROCESSFIELDS_TD_H
|