Chi-Tech
MeshTutorial_02_2DOrthoMesh.h
Go to the documentation of this file.
1/** \page MeshTutorial_02 Mesh Tutorial 2: A 2D Orthogonal Mesh
2
3### Again ... it doesn't get simpler than this
4
5Simply define the x- and y-nodes each in a lua table as shown below and call
6the function chiMeshCreate2DOrthoMesh(). As per usual, a mesh-handler needs to be
7created through chiMeshHandlerCreate() and the whole process is concluded with
8a call to chiVolumeMesherExecute().
9
10\code
11chiMeshHandlerCreate()
12nodesx={0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0}
13nodesy={0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0}
14chiMeshCreateUnpartitioned2DOrthoMesh(nodesx,nodesy)
15chiVolumeMesherExecute();
16\endcode
17
18*/