| 
| procedure, pass(this)  | init (this, id, p1, p2, p3) | 
|   | Create a trinagular element based upon three points.  
  | 
|   | 
| procedure, pass(this)  | facet_id (this, t, side) | 
|   | Return the edge id for face i as a 2-tuple t.  
  | 
|   | 
| procedure, pass(this)  | facet_order (this, t, side) | 
|   | Return the ordered edge for face i as a 2-tuple t.  
  | 
|   | 
| procedure, pass(this)  | diameter (this) | 
|   | Compute the diameter of a triangular element.  
  | 
|   | 
| procedure, pass(this)  | centroid (this) | 
|   | Compute the centroid of a triangular element.  
  | 
|   | 
| procedure, pass(this)  | equal (this, other) | 
|   | Check if two triangle elements are equal.  
  | 
|   | 
| generic  | operator (this, other) | 
|   | Check if two triangle elements are equal.  
  | 
|   | 
| procedure, pass(this)  | element (this, id, gdim, npts) | 
|   | Create an element with npts.  
  | 
|   | 
| procedure, pass(this)  | free (this) | 
|   | Deallocate an element.  
  | 
|   | 
| procedure, pass(this)  | gdim (this) | 
|   | Get the geometric dimension of an element.  
  | 
|   | 
| procedure, pass(this)  | npts (this) | 
|   | Get the number of points in an element.  
  | 
|   | 
| procedure, pass(this)  | p (this, i) | 
|   | Return a pointer to point i of the element.  
  | 
|   | 
| procedure, pass(this)  | n_points (this) | 
|   | Get the number of points in an element.  
  | 
|   | 
| procedure, non_overridable, pass  | element_point (this, i) | 
|   | Return a pointer to point i of the element.  
  | 
|   | 
| procedure(element_equal), deferred, pass  | equal (this, other) | 
|   | 
| procedure(element_diameter), deferred, pass  | diameter (this) | 
|   | 
| procedure(element_centroid), deferred, pass  | centroid (this) | 
|   | 
| procedure(element_facet_id), deferred, pass  | facet_id (this, t, side) | 
|   | 
| procedure(element_facet_order), deferred, pass  | facet_order (this, t, side) | 
|   | 
| procedure, pass(this)  | id (this) | 
|   | Return the index of an entity.  
  | 
|   | 
| procedure, pass(this)  | set_id (this, id) | 
|   | Update the index of an entity.  
  | 
|   | 
2D element composed of 3 points 
 Node numbering
    3+
     |\
     | \        ^ s
     |  \       |
     |   \      |
    1+----+2    +---> r 
Definition at line 60 of file tri.f90.