#include <ref_element.hh>
template<unsigned int dim>
class RefElement< dim >
Definition at line 113 of file ref_element.hh.
template<unsigned int dim>
template<unsigned int dim>
template<unsigned int dim>
template<unsigned int dim>
template<unsigned int dim>
template<unsigned int dim>
For given barycentric coordinates on the face returns barycentric coordinates on the ref. element. Barycentric order: (local_coords, complanatory)
Definition at line 210 of file ref_element.cc.
template<unsigned int dim>
auto RefElement< dim >::barycentric_on_face |
( |
const BaryPoint & |
barycentric, |
|
|
unsigned int |
i_face |
|
) |
| |
|
static |
For given barycentric coordinates on the ref element returns barycentric coordinates on the ref. element of given face. Assumes that the input point is on the face. Barycentric order: (local_coords, complanatory)
Definition at line 196 of file ref_element.cc.
template<unsigned int dim>
auto RefElement< dim >::centers_of_subelements |
( |
unsigned int |
sub_dim | ) |
|
|
static |
template<unsigned int dim>
If the given barycentric coordinate is in the ref. element, return unchanged. If the given barycentric coordinate is out of the ref. element, project it on the surface of the ref. element.
Definition at line 243 of file ref_element.cc.
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>
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 125 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 110 of file ref_element.cc.
template<unsigned int dim>
Compute normal vector to a given side.
- Parameters
-
template<>
vec::fixed< 1 > RefElement< 1 >::normal_vector |
( |
unsigned int |
sid | ) |
|
template<>
vec::fixed< 2 > RefElement< 2 >::normal_vector |
( |
unsigned int |
sid | ) |
|
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 251 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 346 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 181 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 178 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 209 of file ref_element.hh.
template<unsigned int dim>
const unsigned int RefElement< dim >::n_sides = dim + 1 |
|
static |
template<unsigned int dim>
template<unsigned int dim>
Indices of 1D lines of the 2D sides of an tetrahedron. Nonempty only for dim==3
.
Definition at line 191 of file ref_element.hh.
template<unsigned int dim>
template<unsigned int dim>
The documentation for this class was generated from the following files: