Code covered by the BSD License  

Highlights from
FELICITY

image thumbnail

FELICITY

by

 

21 Apr 2011 (Updated )

Finite ELement Implementation and Computational Interface Tool for You

GenFELInterpolationCode
% Class for Auto Generating FEM Interpolation Code
classdef GenFELInterpolationCode < Generic_GenFELCode
    properties %(SetAccess='private',GetAccess='private')
    end
    methods
        function obj = GenFELInterpolationCode(varargin)
            
            if nargin ~= 2
                disp('Requires 2 arguments!');
                disp('First  is a string containing the directory where the generated code is placed.');
                disp('Second is a struct of parameters.');
                error('Check the arguments!');
            end
            
            obj = obj@Generic_GenFELCode(varargin{1},varargin{2});
            OUT_str  = '|---> Init GenFELInterpolationCode Object...';
            disp(OUT_str);
            
            obj.Skeleton_Dir  = Get_Skeleton_Dir();
            if ~ischar(obj.Skeleton_Dir)
                error('Input should be a string!');
            end
            if ~isdir(obj.Skeleton_Dir)
                error('Input is not a valid directory!');
            end
        end
    end
end

% END %

Contact us