openEMS/matlab/InitFDTD.m

8 lines
119 B
Matlab

function FDTD = InitFDTD(NrTS, endCrit)
FDTD.ATTRIBUTE.NumberOfTimesteps=NrTS;
FDTD.ATTRIBUTE.endCriteria=endCrit;