Example 11a: Refining a bi-cubic Hermite element

This example tests subdivision of a two-dimensional bi-cubic Hermite element with unit scale factors.

The geometry is one quarter of an annulus. The first element (xi) coordinate runs radially and the second circumferentially. Although linear interpolation would be sufficient for the first element coordinate, it is cubic here to test calculation of the derivatives.


The comfile run by this example is as follows:

# Example 11a

fem define bases;r;$example/2d-hermite;
fem define nodes;r;$example/quarter-annulus;
fem define elements;r;$example/quarter-annulus;

# fem export nodes;quarter-annulus1 as quarter_annulus1
# fem export elements;quarter-annulus1 as quarter_annulus1

fem refine xi 2;

# Remove the unnecessary confusion of scale factors.
fem update scale unit;

fem list elements;quarter-annulus2;

fem export nodes;quarter-annulus2 as quarter_annulus2
fem export elements;quarter-annulus2 as quarter_annulus2

Files used by this example are:

Name                    Modified     Size

example_11a.com 30-Jan-2004 508 2d-hermite.ipbase 30-Jan-2004 1.5k quarter-annulus.ipelem 30-Jan-2004 336 quarter-annulus.ipnode 30-Jan-2004 2.1k view.com 30-Jan-2004 628

Download the entire example:

Name                      Modified     Size

examples_1_11_11a.tar.gz 18-Aug-2006 3.5k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:28 20161
cm-debugSuccessSat Mar 5 00:01:47 20160
mips-irix
cmSuccessSun Aug 19 01:29:16 20072
cm-debugSuccessWed Aug 15 01:31:54 20073
cm-debug-clear-mallocSuccessSat Aug 18 01:22:59 20077
cm-debug-clear-malloc7SuccessMon Aug 20 01:19:56 20077
cm64SuccessSun Aug 19 01:21:50 20072
cm64-debugSuccessTue Aug 21 01:18:28 200710
cm64-debug-clear-mallocSuccessThu Apr 1 10:09:48 20042
rs6000-aix
cmSuccessWed Mar 4 01:06:43 20090
cm-debugSuccessMon Mar 2 01:08:27 20090
cm64SuccessWed Mar 4 01:07:53 20090
cm64-debugSuccessTue Mar 3 01:12:01 20091
x86_64-linux
cmSuccessSun Mar 6 00:01:00 20160
cm-debugSuccessSat Mar 5 00:01:11 20161

Testing status by file: