TDMS
Time Domain Maxwell Solver
Loading...
Searching...
No Matches
TDFieldExporter2D Class Reference

#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

Detailed Description

Structure to hold a field and allow saving it to a file

Member Function Documentation

◆ allocate()

void TDFieldExporter2D::allocate ( int _nI,
int _nK )

Allocate the arrays to hold the field

◆ export_field()

void TDFieldExporter2D::export_field ( SplitField & F,
int stride,
int iteration ) const

Export/save a field

Parameters
FField to save
strideInterval to compute the field component at
iterationIteration number of the main loop. Used in the filename

The documentation for this class was generated from the following file: