openEMS/FDTD/process_hfield.h

42 lines
1.2 KiB
C
Raw Permalink Normal View History

2010-07-19 06:41:53 +00:00
/*
* Copyright (C) 2010 Sebastian Held (sebastian.held@gmx.de)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PROCESS_HFIELD_H
#define PROCESS_HFIELD_H
#include "process_efield.h"
typedef _Complex double complexdouble;
/*! \brief Process H-field at a point
This class calculates the E-field at a point in the FDTD lattice.
Other primitives than \c Point are not supported.
*/
class ProcessHField : public ProcessEField
{
public:
ProcessHField(Operator* op, Engine* eng);
virtual ~ProcessHField();
2010-07-20 09:37:19 +00:00
virtual void InitProcess();
2010-07-19 06:41:53 +00:00
void DefineStartStopCoord(double* dstart, double* dstop);
virtual int Process();
};
#endif // PROCESS_HFIELD_H