Skip to content

Commit

Permalink
Updated febioStruct2xml to allow for high speed export, regenerated h…
Browse files Browse the repository at this point in the history
…elp and documentation
  • Loading branch information
Kevin-Mattheus-Moerman committed Feb 18, 2018
1 parent bedc69b commit 63756d8
Show file tree
Hide file tree
Showing 1,095 changed files with 1,604 additions and 1,755 deletions.
Binary file modified data/DICOM/0001_human_calf/IMDAT/IMDAT.mat
Binary file not shown.
257 changes: 211 additions & 46 deletions docs/Contents.m

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DEMO_FEBio_AnyBody_force_analysis.m
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
% Copyright (C) 2018 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion docs/DEMO_FEBio_bar_force.m
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
% Copyright (C) 2018 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion docs/DEMO_FEBio_bar_twist.m
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
% Copyright (C) 2018 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion docs/DEMO_FEBio_beam_bending.m
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
% Copyright (C) 2018 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion docs/DEMO_FEBio_block_tension_compression_shear.m
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
% Copyright (C) 2018 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion docs/DEMO_FEBio_block_uniaxial_compression.m
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
% Copyright (C) 2018 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
Expand Down
23 changes: 0 additions & 23 deletions docs/DEMO_FEBio_multi_scale_analysis.m
Original file line number Diff line number Diff line change
Expand Up @@ -309,29 +309,6 @@
%
% _Kevin Mattheus Moerman_, <[email protected]>

%%
% _*GIBBON footer text*_
%
% License: <https://github.com/gibbonCode/GIBBON/blob/master/LICENSE>
%
% GIBBON: The Geometry and Image-based Bioengineering add-On. A toolbox for
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%
% _*GIBBON footer text*_
%
Expand Down
2 changes: 1 addition & 1 deletion docs/HELP_cell2txtfile.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
% containing just spaces and a non-char entry number. The number entry will
% be converted to a string.

T={'Hello','','World',' ',uint8(125)};
T={'Hello','','World',' ',uint8(125),pi};
filePath=mfilename('fullpath');
fileName=fullfile(fileparts(fileparts(filePath)),'data','temp','temp.txt');
skipOpt=0; %Empty entries will be kept
Expand Down
23 changes: 0 additions & 23 deletions docs/HELP_element2lattice.m
Original file line number Diff line number Diff line change
Expand Up @@ -537,29 +537,6 @@
%
% _Kevin Mattheus Moerman_, <[email protected]>

%%
% _*GIBBON footer text*_
%
% License: <https://github.com/gibbonCode/GIBBON/blob/master/LICENSE>
%
% GIBBON: The Geometry and Image-based Bioengineering add-On. A toolbox for
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%
% _*GIBBON footer text*_
%
Expand Down
7 changes: 4 additions & 3 deletions docs/HELP_febioStruct2xml.m
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@
savePath=fullfile(defaultFolder,'data','temp');
fileName=fullfile(savePath,'tempModel.feb');

[domNode]=febioStruct2xml(febio_spec,fileName); %Exporting to file and domNode
optionStruct.arrayParseMethod=1;
[domNode]=febioStruct2xml(febio_spec,fileName,optionStruct);

%% Viewing the FEBio input file
% The |febView| command can be used to render and XML file in a figure
Expand All @@ -524,8 +525,8 @@
% NOTE: The figure below does not render in documentation due to a
% MATLAB but (or limitation). The code |[hFig]=febView(domNode);| is
% therefore suppressed. (see also |xmlView|);

% [hFig]=febView(fileName);
%%
% |[hFig]=febView(fileName);|

%%
%
Expand Down
23 changes: 0 additions & 23 deletions docs/HELP_hex2tet.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,29 +70,6 @@
%
% _Kevin Mattheus Moerman_, <[email protected]>

%%
% _*GIBBON footer text*_
%
% License: <https://github.com/gibbonCode/GIBBON/blob/master/LICENSE>
%
% GIBBON: The Geometry and Image-based Bioengineering add-On. A toolbox for
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%
% _*GIBBON footer text*_
%
Expand Down
23 changes: 0 additions & 23 deletions docs/HELP_polyRevolve.m
Original file line number Diff line number Diff line change
Expand Up @@ -178,29 +178,6 @@
%
% _Kevin Mattheus Moerman_, <[email protected]>

%%
% _*GIBBON footer text*_
%
% License: <https://github.com/gibbonCode/GIBBON/blob/master/LICENSE>
%
% GIBBON: The Geometry and Image-based Bioengineering add-On. A toolbox for
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%
% _*GIBBON footer text*_
%
Expand Down
23 changes: 0 additions & 23 deletions docs/HELP_subHex.m
Original file line number Diff line number Diff line change
Expand Up @@ -186,29 +186,6 @@
%
% _Kevin Mattheus Moerman_, <[email protected]>

%%
% _*GIBBON footer text*_
%
% License: <https://github.com/gibbonCode/GIBBON/blob/master/LICENSE>
%
% GIBBON: The Geometry and Image-based Bioengineering add-On. A toolbox for
% image segmentation, image-based modeling, meshing, and finite element
% analysis.
%
% Copyright (C) 2017 Kevin Mattheus Moerman
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%
% _*GIBBON footer text*_
%
Expand Down
111 changes: 0 additions & 111 deletions docs/docTools/createDocumentationMarkdown.m

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docTools/removeCodeFooter.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
if ~isempty(targetStartIndex)
targetStartIndex=targetStartIndex(end); %Keep last occurance
T_now=T_now(1:targetStartIndex-1-1); %NB -1 is used to remove %% above target
cell2txtfile(fileName,T_now,0);
cell2txtfile(fileName,T_now,0,0);
end
end
end
Expand Down
Loading

0 comments on commit 63756d8

Please sign in to comment.