2010-04-04 17:48:36 +00:00
|
|
|
function FDTD = InitFDTD(NrTS, endCrit, varargin)
|
2010-03-22 22:15:04 +00:00
|
|
|
|
|
|
|
FDTD.ATTRIBUTE.NumberOfTimesteps=NrTS;
|
|
|
|
FDTD.ATTRIBUTE.endCriteria=endCrit;
|
|
|
|
|
2010-04-04 17:48:36 +00:00
|
|
|
for n=1:(nargin-2)/2
|
|
|
|
FDTD.ATTRIBUTE.(varargin{2*n-1})=varargin{2*n};
|
|
|
|
end
|
2010-03-22 22:15:04 +00:00
|
|
|
|