#include <elements.h>
|
class | Mesh |
|
template<int spacedim, class Value > |
class | Field |
|
Definition at line 39 of file elements.h.
Element::Element |
( |
unsigned int |
dim, |
|
|
Mesh * |
mesh_in, |
|
|
RegionIdx |
reg |
|
) |
| |
Return bounding box of the element.
Definition at line 102 of file elements.h.
SET THE "CENTRE[]" FIELD IN STRUCT ELEMENT
Definition at line 120 of file elements.cc.
arma::vec Element::clip_to_element |
( |
arma::vec & |
barycentric | ) |
|
|
inline |
Clip a point given by barycentric cocordinates to the element. If the point is out of the element the closest point projection to the element surface is used.
Definition at line 144 of file elements.h.
unsigned int Element::dim |
( |
| ) |
const |
|
inline |
arma::mat Element::element_map |
( |
| ) |
const |
|
inline |
Map from reference element to global coord system. Matrix(3, dim()+1), last column is the translation vector.
Temporary, this should be provided be a separate finite element mapping class.
Definition at line 112 of file elements.h.
void Element::get_bounding_box |
( |
BoundingBox & |
bounding_box | ) |
const |
Computes bounding box of element (OBSOLETE)
Definition at line 196 of file elements.cc.
unsigned int Element::id |
( |
| ) |
const |
unsigned int Element::index |
( |
| ) |
const |
|
inline |
void Element::init |
( |
unsigned int |
dim, |
|
|
Mesh * |
mesh_in, |
|
|
RegionIdx |
reg |
|
) |
| |
double Element::measure |
( |
| ) |
const |
SET THE "METRICS" FIELD IN STRUCT ELEMENT
Definition at line 89 of file elements.cc.
unsigned int Element::n_nodes |
( |
| ) |
const |
|
inline |
unsigned int Element::n_sides |
( |
| ) |
const |
|
inline |
unsigned int Element::n_sides_by_dim |
( |
unsigned int |
side_dim | ) |
|
Count element sides of the space dimension side_dim
.
Definition at line 137 of file elements.cc.
arma::vec Element::project_point |
( |
const arma::vec3 & |
point, |
|
|
const arma::mat & |
map |
|
) |
| const |
Project given point to the barycentic coordinates. Result vector have dimension dim()+1. Local coordinates are the first. Last is 1-...
Definition at line 205 of file elements.cc.
arma::vec Element::project_point |
( |
const arma::vec3 & |
point | ) |
|
|
inline |
Project a point and create the map as well.
Definition at line 135 of file elements.h.
double Element::quality_measure_smooth |
( |
| ) |
|
Quality of the element based on the smooth and scale-invariant quality measures proposed in: J. R. Schewchuk: What is a Good Linear Element?
We scale the measure so that is gives value 1 for regular elements. Line 1d elements have always quality 1.
Definition at line 164 of file elements.cc.
Region Element::region |
( |
| ) |
const |
SideIter Element::side |
( |
const unsigned int |
loc_index | ) |
|
|
inline |
const SideIter Element::side |
( |
const unsigned int |
loc_index | ) |
const |
|
inline |
Return list of element vertices.
Definition at line 157 of file elements.h.
template<int spacedim, class Value >
unsigned int* Element::boundary_idx_ |
unsigned int Element::dim_ |
|
protected |
unsigned int* Element::edge_idx_ |
unsigned int Element::n_neighs_vb |
unsigned int* Element::permutation_idx_ |
Indices of permutations of nodes on sides. It determines, in which order to take the nodes of the side so as to obtain the same order as on the reference side (side 0 on the particular edge).
Permutations are defined in RefElement::side_permutations.
Definition at line 92 of file elements.h.
The documentation for this class was generated from the following files: