#include <ref_element.hh>
template<unsigned int dim>
class RefElement< dim >
Definition at line 112 of file ref_element.hh.
template<unsigned int dim>
| static unsigned int RefElement< dim >::line_between_faces |
( |
unsigned int |
f1, |
|
|
unsigned int |
f2 |
|
) |
| |
|
static |
Return index of 1D line, shared by two faces f1 and f2 of the reference tetrahedron. Implemented only for dim == 3.
template<>
| unsigned int RefElement< 3 >::line_between_faces |
( |
unsigned int |
f1, |
|
|
unsigned int |
f2 |
|
) |
| |
template<>
| const unsigned int RefElement< 3 >::line_nodes |
( |
| ) |
|
template<unsigned int dim>
| vec::fixed< dim+1 > RefElement< dim >::node_barycentric_coords |
( |
unsigned int |
nid | ) |
|
|
static |
Return barycentric coordinates of given node.
- Parameters
-
Definition at line 95 of file ref_element.cc.
template<unsigned int dim>
| vec::fixed< dim > RefElement< dim >::node_coords |
( |
unsigned int |
nid | ) |
|
|
static |
Return local coordinates of given node.
- Parameters
-
Definition at line 80 of file ref_element.cc.
template<>
| vec::fixed< 1 > RefElement< 1 >::normal_vector |
( |
unsigned int |
sid | ) |
|
template<>
| vec::fixed< 2 > RefElement< 2 >::normal_vector |
( |
unsigned int |
sid | ) |
|
template<unsigned int dim>
| static arma::vec::fixed<dim> RefElement< dim >::normal_vector |
( |
unsigned int |
sid | ) |
|
|
static |
Compute normal vector to a given side.
- Parameters
-
template<>
| vec::fixed< 3 > RefElement< 3 >::normal_vector |
( |
unsigned int |
sid | ) |
|
template<unsigned int dim>
| unsigned int RefElement< dim >::oposite_node |
( |
unsigned int |
sid | ) |
|
|
inlinestatic |
Returns index of the node that is oposite to side of given index sid. Note: It is dependent on current node and side numbering.
- Parameters
-
Definition at line 211 of file ref_element.hh.
template<unsigned int dim>
| unsigned int RefElement< dim >::permutation_index |
( |
unsigned int |
p[n_nodes_per_side] | ) |
|
|
static |
For a given permutation p of nodes finds its index within side_permutations.
- Parameters
-
Definition at line 206 of file ref_element.cc.
template<>
| const unsigned int RefElement< 3 >::side_lines |
( |
| ) |
|
template<unsigned int dim>
| static double RefElement< dim >::side_measure |
( |
unsigned int |
sid | ) |
|
|
static |
template<>
| double RefElement< 1 >::side_measure |
( |
unsigned int |
sid | ) |
|
template<>
| double RefElement< 2 >::side_measure |
( |
unsigned int |
sid | ) |
|
template<>
| double RefElement< 3 >::side_measure |
( |
unsigned int |
sid | ) |
|
template<>
| const unsigned int RefElement< 1 >::side_nodes |
( |
| ) |
|
template<>
| const unsigned int RefElement< 2 >::side_nodes |
( |
| ) |
|
template<>
| const unsigned int RefElement< 3 >::side_nodes |
( |
| ) |
|
template<>
| const unsigned int RefElement< 1 >::side_permutations |
( |
| ) |
|
template<>
| const unsigned int RefElement< 2 >::side_permutations |
( |
| ) |
|
template<>
| const unsigned int RefElement< 3 >::side_permutations |
( |
| ) |
|
template<unsigned int dim>
template<unsigned int dim>
| const unsigned int RefElement< dim >::n_lines = ( dim == 3 ? 6 : 0) |
|
static |
Number of lines, i.e. object of dimension dim-2 on the boundary of the reference element.
Definition at line 169 of file ref_element.hh.
template<unsigned int dim>
| const unsigned int RefElement< dim >::n_lines_per_side = ( dim == 3 ? 3 : 0) |
|
static |
Number of lines on boundary of one side.
Definition at line 166 of file ref_element.hh.
template<unsigned int dim>
| const unsigned int RefElement< dim >::n_nodes = dim + 1 |
|
static |
template<unsigned int dim>
| const unsigned int RefElement< dim >::n_nodes_per_side = dim |
|
static |
template<unsigned int dim>
| const unsigned int RefElement< dim >::n_side_permutations = (dim+1)*(2*dim*dim-5*dim+6)/6 |
|
static |
Number of permutations of nodes on sides.
dim value
1 1 2 2 3 6
Definition at line 194 of file ref_element.hh.
template<unsigned int dim>
| const unsigned int RefElement< dim >::n_sides = dim + 1 |
|
static |
template<unsigned int dim>
Indices of 1D lines of the 2D sides of an tetrahedron. Nonempty only for dim==3.
Definition at line 179 of file ref_element.hh.
template<unsigned int dim>
template<unsigned int dim>
The documentation for this class was generated from the following files: