from
FELICITY
by Shawn Walker Finite ELement Implementation and Computational Interface Tool for You
L1toL3
% class for processing level 1 - FELICITY Matrix Language
% this changes level 1 code, through a level 2 struct, into what I call level 3
% objects.
classdef L1toL3
properties %(SetAccess=private,GetAccess=private)
MATS
end
methods
function obj = L1toL3(varargin)
if nargin ~= 1
disp('Requires 1 argument!');
disp('First is a Matrices object.');
error('Check the arguments!');
end
obj.MATS = varargin{1};
if ~strcmp(class(obj.MATS),'Matrices')
error('Input must be of type ''Matrices''.');
end
end
end
end
% END %