|
TDMS
Time Domain Maxwell Solver
|
#include <field.h>
Public Member Functions | |
| void | allocate (int _nI, int _nK) |
| void | export_field (SplitField &F, int stride, int iteration) const |
Public Attributes | |
| mxArray * | matlab_array = nullptr |
| double ** | array = nullptr |
| std::string | folder_name = "" |
Private Attributes | |
| int | nI = 0 |
| int | nK = 0 |
Structure to hold a field and allow saving it to a file
| void TDFieldExporter2D::allocate | ( | int | _nI, |
| int | _nK ) |
Allocate the arrays to hold the field
| void TDFieldExporter2D::export_field | ( | SplitField & | F, |
| int | stride, | ||
| int | iteration ) const |
Export/save a field
| F | Field to save |
| stride | Interval to compute the field component at |
| iteration | Iteration number of the main loop. Used in the filename |