26 template <
int spacedim>
48 inline unsigned int dim()
const;
49 inline unsigned int index()
const;
80 inline const SideIter side(
const unsigned int loc_index)
const;
85 unsigned int id()
const;
126 for(
unsigned int i=0; i<
n_nodes(); i++) vertices[i]=node[i]->
point();
148 template<
int spacedim,
class Value>
156 #define FOR_ELEMENT_NODES(i,j) for((j)=0;(j)<(i)->n_nodes();(j)++) 157 #define FOR_ELEMENT_SIDES(i,j) for(unsigned int j=0; j < (i)->n_sides(); j++) 158 #define FOR_ELM_NEIGHS_VB(i,j) for((j)=0;(j)<(i)->n_neighs_vb;(j)++)
Bounding box in 3d ambient space.
double measure() const
Computes the measure of the element.
unsigned int n_nodes() const
unsigned int * boundary_idx_
unsigned int * permutation_idx_
RegionIdx region_idx() const
Class template representing a field with values dependent on: point, element, and region...
unsigned int get_proc() const
unsigned int index() const
double tetrahedron_jacobian() const
BoundingBox & get_bounding_box_fast(BoundingBox &bounding_box) const
Return precomputed bounding box.
unsigned int n_sides() const
vector< arma::vec3 > vertex_list()
void get_bounding_box(BoundingBox &bounding_box) const
SideIter side(const unsigned int loc_index)
void init(unsigned int dim, Mesh *mesh_in, RegionIdx reg)
arma::vec3 centre() const
Computes the barycenter.
double quality_measure_smooth()
Class RefElement defines numbering of vertices, sides, calculation of normal vectors etc...
ElementAccessor< 3 > element_accessor() const
Gets ElementAccessor of this element.
unsigned int n_sides_by_dim(unsigned int side_dim)
BoundingBox bounding_box()