Triangle
#
To define a triangle, give the 3 vertices.
There is a parameter for each of them: _v1
, _v2
and _v3
. These parameters take 2D or 3D points.
_nnodes
can take one single value, an explicit list of 3 values or a Numbers
object and _hsteps
can take one real value,
an explicit list of 3 real values or a Reals
object.If required, give the names of main domain and side domains as explained in Geometry definition:
Point a(-1.,2.,0.), b(1.,-4.,2.), c(2.,3.,1.);
Triangle t1(_v1=a, _v2=b, _v3=c, _nnodes={10,15,20}, _domain_name="Omega",
_side_names="Gamma");
Let’s summarize information about geometrical keys on triangles:
key(s) |
authorized types |
examples |
---|---|---|
|
|
Hint
Parametrization of the triangle
Note that it is degenarated because