| FEAT 3
    Finite Element Analysis Toolbox | 
Reference cell traits structure. More...
#include <shape.hpp>
| Static Public Member Functions | |
| template<typename T_ > | |
| static T_ | centre (int coord_idx) | 
| Returns the coordinate of the reference cell centre.  More... | |
| static int | facet_orientation (int facet_index) | 
| Returns the orientation of a facet.  More... | |
| template<typename T_ > | |
| static T_ | vertex (int vertex_idx, int coord_idx) | 
| Returns the coordinate of a reference cell vertex.  More... | |
| template<typename T_ > | |
| static T_ | volume () | 
| Returns the volume of the reference cell.  More... | |
Reference cell traits structure.
This class template contains information about the reference cell of the corresponding shape, especially the coordinates of the reference cell's vertices.
| Shape_ | The shape whose reference cell is to be determined. | 
| 
 | static | 
Returns the coordinate of the reference cell centre.
| T_ | The desired type of the coordinate. | 
| [in] | coord_idx | The index of the coordinate of the centre that is to be returned. | 
| 
 | static | 
Returns the orientation of a facet.
| [in] | facet_index | The number of the facet to return the orientation for. | 
| 
 | static | 
Returns the coordinate of a reference cell vertex.
| T_ | The desired type of the coordinate. | 
| [in] | vertex_idx | The index of the vertex whose coordinate is to be returned. | 
| [in] | coord_idx | The index of the coordinate of the vertex that is to be returned. | 
| 
 | static | 
Returns the volume of the reference cell.
| T_ | The desired type of the volume. |