#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. Simpler code, but need to check performance penelty.
Definition at line 117 of file elements.h.
Computes the barycenter.
SET THE "CENTRE[]" FIELD IN STRUCT ELEMENT
Definition at line 130 of file elements.cc.
unsigned int Element::dim |
( |
| ) |
const |
|
inline |
void Element::get_bounding_box |
( |
BoundingBox & |
bounding_box | ) |
const |
Computes bounding box of element (OBSOLETE) ??
Definition at line 206 of file elements.cc.
Return precomputed bounding box.
Definition at line 214 of file elements.cc.
unsigned int Element::get_proc |
( |
| ) |
const |
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 |
Computes the measure of the element.
SET THE "METRICS" FIELD IN STRUCT ELEMENT
Definition at line 90 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 147 of file elements.cc.
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 174 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 |
double Element::tetrahedron_jacobian |
( |
| ) |
const |
Computes the Jacobian of the element. J = det ( 1 1 1 1 ) x1 x2 x3 x4 y1 y2 y3 y4 z1 z2 z3 z4
Definition at line 116 of file elements.cc.
Return list of element vertices.
Definition at line 124 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 103 of file elements.h.
The documentation for this class was generated from the following files: