Below is a demonstration of the features of the testGibbon function


clear; close all; clc;




testGibbon can be used to run the help and demo (documentation) file for GIBBON. By default the function will run all help and demo files in test mode. However the user may select just the help files or just the demo files and choose publish mode instead of test mode.

Optional inputs: testSet --- 'all', 'help', or 'demo' testMode ---'test' or 'pub' i.e. test run the file or publish the file approveQuestion --- 1 or 0, For 1 the user will be asked to proceed to the next file. If no is answered the file is opened for editing startInd --- e.g. 1 for the first file


testGibbon -> Test file:2 of 117 HELP_addConstraintsLevel_FEB.m
Adding Constraints level
<?xml version="1.0" encoding="utf-8"?>
      <rigid_body mat="2">
         <fixed bc="Rx"/>
         <fixed bc="Ry"/>
         <fixed bc="Rz"/>
         <prescribed bc="x" lc="1">3.1415927e+00</prescribed>
         <prescribed bc="y" lc="1">1.0000000e+00</prescribed>
         <prescribed bc="z" lc="1">-5.0000000e+00</prescribed>
testGibbon -> Test file:3 of 117 HELP_addContactLevel_FEB.m
Adding Contact field
----> Defining contact
----> Setting contact parameters
----> Defining contact surface pair
<?xml version="1.0" encoding="utf-8"?>
      <contact type="sticky">
         <surface set="Contact_master_indentor" type="master"/>
         <surface set="Contact_slave_gel" type="slave"/>

GIBBON www.gibboncode.org

Kevin Mattheus Moerman, [email protected]