This is an old revision of the document!
Extrusion and optionally interpolation using a DEM (Digital Elevation Model) of a 2-dimensional footprint mesh into a 3-dimensional. The numbering of boundaries is according to the footprint with an offset introduced by all new boundaries on the bedrock (lowest numbers) and the free surface. If interpolation using DEM's is applied, the resulting interpolated free surface should have an unique projection to the interpolation surface of the bedrock. This is equal to the condition that angles of slopes with respect to the X-Y plane have to be below 90 degrees, else negative volumes will result from an extrusion.
'Compilation command:
'<br>
Usually cc stands for the system C-compiler. If not so, please, replace with the corresponding command of your system.
<pre>cc ExtrudeMesh.c -o ExtrudeMesh -lm</pre>
'Calling command:
'
<pre>ExtrudeMesh</pre>
displays information on options if no arguments are given.
'Mandatory arguments:
'
<pre>ExtrudeMesh inputdir outputdir levels extrudedepth N baseline Gl percentage ratio</pre>
{| border=1<br>
inputdir |
|
outputdir |
|
levels |
|
extrudedepth |
|
N |
|
baseline |
|
GL |
|
percentage |
|
ratio |
|
'Optional arguments:
'
<pre>ExtrudeMesh inputdir outputdir levels extrudedepth N GL percentage ratio DEM cutoff wexp noval</pre>
{| border=1<br>
DEM |
|
cutoff |
|
wexp |
|
noval |
|