Commit 1cc77ae2 authored by Mark van Turnhout's avatar Mark van Turnhout
Browse files

some feedback on the model that is being build

parent cdfb1203
......@@ -86,6 +86,8 @@ if ~isfield(param,'indOff'), param.indOff = 0; end % extra offset of indenter fr
for b = 1:numel(basil)
fprintf('building model basil%i...\n', basil(b));
% write param
fid = fopen(sprintf('basil%i_modelparam.m',basil(b)),'w+');
fprintf(fid,'param.basilhome = ''%s'';\n',param.basilhome);
......
......@@ -18,7 +18,7 @@ if ~isfield(param,'ri'), param.ri = 1.5; end % indenter radius
indSE = zeros(2,3);
for b = 1:numel(basil)
tipNR = load(fullfile(num2str(basil(b)),strcat('Indenter_tipNR.txt')));
tip = tipNR(1,:); % indenter centre of mass
R = tipNR(2:4,:); % indenter rotation matrix
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment