Tetrahedron#

To define a tetrahedron, give the 4 vertices (not in a same plane).

Figure made with TikZ

Figure made with TikZ

There is a parameter for each of them: _v1, _v2, _v3 and _v4 taking 3D points.

_nnodes can take one single value, an explicit list of 6 values or a Numbers object and _hsteps can take one real value, an explicit list of 4 real values or a Reals object. If required, give names of main domain and side domains as explained in Geometry definition:

Point a(1.,0.,0.), b(0.,1.,0.), c(0.,0.,1.), d(0.,0.,0.);
Tetrahedron t1(_v1=a, _v2=b, _v3=c, _v4=d, _nnodes=10, _domain_name="Omega",
               _side_names="Gamma");

Let’s summarize information about geometrical keys on tetrahedra:

key(s)

authorized types

examples

_v1 , _v2 , _v3 , _v4

Point

_v1 = Point(1.,0.,0.), _v2 = Point(0.,1.,0.), _v3 = Point(0.,0.,1.), _v4 = Point(0.,0.,0.)