Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Side Class Reference

#include <sides.h>

Collaboration diagram for Side:
Collaboration graph
[legend]

Public Member Functions

 Side ()
 
 Side (const Element *ele, unsigned int set_lnum)
 
double measure () const
 
arma::vec3 centre () const
 
arma::vec3 normal () const
 
unsigned int n_nodes () const
 
unsigned int dim () const
 
bool is_external () const
 
const Nodenode (unsigned int i) const
 
ElementFullIter element () const
 
Meshmesh () const
 
unsigned int edge_idx () const
 
Edgeedge () const
 
Boundarycond () const
 
unsigned int cond_idx () const
 
unsigned int el_idx () const
 
bool valid () const
 
void inc ()
 
void * make_ptr () const
 This is necessary by current DofHandler, should change this. More...
 

Private Member Functions

arma::vec3 normal_point () const
 
arma::vec3 normal_line () const
 
arma::vec3 normal_triangle () const
 

Private Attributes

const Elementelement_
 
unsigned int el_idx_
 

Detailed Description

Definition at line 31 of file sides.h.

Constructor & Destructor Documentation

Side::Side ( )
inline

Definition at line 33 of file sides.h.

Side::Side ( const Element ele,
unsigned int  set_lnum 
)
inline

Definition at line 26 of file side_impl.hh.

Member Function Documentation

arma::vec3 Side::centre ( ) const

Definition at line 122 of file sides.cc.

Here is the caller graph for this function:

Boundary * Side::cond ( ) const
inline

Definition at line 70 of file side_impl.hh.

Here is the caller graph for this function:

unsigned int Side::cond_idx ( ) const
inline

Definition at line 75 of file side_impl.hh.

Here is the caller graph for this function:

unsigned int Side::dim ( ) const
inline

Returns dimension of the side, that is dimension of the element minus one.

Definition at line 37 of file side_impl.hh.

Here is the caller graph for this function:

Edge * Side::edge ( ) const
inline

Returns pointer to the edge connected to the side.

Definition at line 65 of file side_impl.hh.

Here is the caller graph for this function:

unsigned int Side::edge_idx ( ) const
inline

Returns global index of the edge connected to the side.

Definition at line 61 of file side_impl.hh.

Here is the caller graph for this function:

unsigned int Side::el_idx ( ) const
inline

Returns local index of the side on the element.

Definition at line 81 of file side_impl.hh.

Here is the caller graph for this function:

ElementFullIter Side::element ( ) const
inline

Returns full iterator to the element of the side.

Definition at line 52 of file side_impl.hh.

Here is the caller graph for this function:

void Side::inc ( )
inline

Iterate over local sides of the element.

Definition at line 91 of file side_impl.hh.

Here is the caller graph for this function:

bool Side::is_external ( ) const
inline

Definition at line 42 of file side_impl.hh.

Here is the caller graph for this function:

void * Side::make_ptr ( ) const
inline

This is necessary by current DofHandler, should change this.

Definition at line 96 of file side_impl.hh.

Here is the caller graph for this function:

double Side::measure ( ) const

Definition at line 29 of file sides.cc.

Here is the caller graph for this function:

Mesh * Side::mesh ( ) const
inline

Returns pointer to the mesh.

Definition at line 57 of file side_impl.hh.

Here is the caller graph for this function:

unsigned int Side::n_nodes ( ) const
inline

Returns number of nodes of the side.

Definition at line 33 of file side_impl.hh.

Here is the caller graph for this function:

const Node * Side::node ( unsigned int  i) const
inline

Returns node for given local index i on the side.

Definition at line 46 of file side_impl.hh.

Here is the caller graph for this function:

arma::vec3 Side::normal ( ) const

Definition at line 52 of file sides.cc.

Here is the caller graph for this function:

arma::vec3 Side::normal_line ( ) const
private

Definition at line 84 of file sides.cc.

Here is the caller graph for this function:

arma::vec3 Side::normal_point ( ) const
private

Definition at line 68 of file sides.cc.

Here is the caller graph for this function:

arma::vec3 Side::normal_triangle ( ) const
private

Definition at line 105 of file sides.cc.

Here is the caller graph for this function:

bool Side::valid ( ) const
inline

Returns true if the side has assigned element.

Definition at line 86 of file side_impl.hh.

Here is the caller graph for this function:

Member Data Documentation

unsigned int Side::el_idx_
private

Definition at line 109 of file sides.h.

const Element* Side::element_
private

Definition at line 108 of file sides.h.


The documentation for this class was generated from the following files: