Example 13a: Generating a circular Voronoi mesh.

This example calculates a 2d Voronoi mesh from a Delaunay triangulation.


The comfile run by this example is as follows:

# Example_13a Calculating a 2d circular Voronoi mesh

fem
fem def para;r;circle;example # Redefine parameters for Voronoi arrays

fem def node;r;circle;example # Define nodal points of circle  
fem def base;r;circle;example # Define 2d simplex basis functions
fem def elem;r;circle;example # Define 2d simplex elements. The Voronoi mesh will be
                              # calculated from these elements
fem update delaunay           # Update the Delaunay triangulation, in case not Delaunay
fem def mesh;r;circle;example # Read in the parameters for the Voronoi mesh. This will
                              # involve giving each node a type, either boundary (B), 
                              # internal boundary (IB) or internal (I)

Additional testing commands:

FEM list voronoi
FEM list voronoi total

Files used by this example are:

Name             Modified     Size

example_13a.com 20-Nov-2001 742 circle.ipbase 10-Apr-2000 1.0k circle.ipelem 10-Apr-2000 38k circle.ipmesh 20-Jan-2003 840 circle.ipnode 10-Apr-2000 13k circle.ippara 12-Nov-2002 5.8k test_output.com 10-Apr-2000 40

Download the entire example:

Name                      Modified     Size

examples_1_13_13a.tar.gz 18-Aug-2006 17k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:31 20160
cm-debugSuccessSat Mar 5 00:01:52 20161
mips-irix
cmSuccessSun Aug 19 01:26:38 20074
cm-debugSuccessWed Aug 15 01:20:36 20076
cm-debug-clear-mallocSuccessSat Aug 18 01:24:40 20079
cm-debug-clear-malloc7SuccessMon Aug 20 01:22:09 20079
cm64SuccessSun Aug 19 01:25:13 20073
cm64-debugSuccessTue Aug 21 01:20:33 20076
cm64-debug-clear-mallocSuccessThu Apr 1 10:10:02 20043
rs6000-aix
cmSuccessWed Mar 4 01:06:47 20090
cm-debugSuccessMon Mar 2 01:06:14 20091
cm64SuccessWed Mar 4 01:06:47 20091
cm64-debugSuccessTue Mar 3 01:11:34 20091
x86_64-linux
cmSuccessSun Mar 6 00:01:00 20160
cm-debugSuccessSat Mar 5 00:01:11 20160

Testing status by file:


Html last generated: Sun Mar 6 05:50:06 2016

Input last modified: Mon Jan 20 12:30:30 2003


CMISS Help / Examples / 1 / 13 / 13a