Flow123d  jenkins-Flow123d-linux-release-multijob-198
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 43 of file sides.h.

Constructor & Destructor Documentation

Side::Side ( )
inline

Definition at line 45 of file sides.h.

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

Definition at line 15 of file side_impl.hh.

Member Function Documentation

arma::vec3 Side::centre ( ) const

Definition at line 135 of file sides.cc.

Here is the caller graph for this function:

Boundary * Side::cond ( ) const
inline

Definition at line 59 of file side_impl.hh.

Here is the caller graph for this function:

unsigned int Side::cond_idx ( ) const
inline

Definition at line 64 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 26 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 54 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 50 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 70 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 41 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 80 of file side_impl.hh.

Here is the caller graph for this function:

bool Side::is_external ( ) const
inline

Definition at line 31 of file side_impl.hh.

void * Side::make_ptr ( ) const
inline

This is necessary by current DofHandler, should change this.

Definition at line 85 of file side_impl.hh.

double Side::measure ( ) const

Definition at line 42 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 46 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 22 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 35 of file side_impl.hh.

Here is the caller graph for this function:

arma::vec3 Side::normal ( ) const

Definition at line 65 of file sides.cc.

Here is the caller graph for this function:

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

Definition at line 97 of file sides.cc.

Here is the caller graph for this function:

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

Definition at line 81 of file sides.cc.

Here is the caller graph for this function:

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

Definition at line 118 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 75 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 121 of file sides.h.

const Element* Side::element_
private

Definition at line 120 of file sides.h.


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