Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | Private Attributes | Friends | List of all members
Simplex< 0 > Class Template Reference

#include <simplex.hh>

Collaboration diagram for Simplex< 0 >:
Collaboration graph
[legend]

Public Member Functions

 Simplex ()
 
 Simplex (arma::vec3 **field)
 Default constructor. Does not set coordinates pointer. More...
 
 ~Simplex ()
 Destructor. More...
 
void set_simplices (arma::vec3 **field)
 
arma::vec3point_coordinates ()
 Returns the point coordinates. More...
 

Private Attributes

arma::vec3coords_
 Point coordinates. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const Simplex< 0 > &s)
 Friend output operator. More...
 

Detailed Description

template<>
class Simplex< 0 >

Simplex<0> represents a point in 3D it has a pointer to coordinates of point in 3D because of mesh implementation

Definition at line 44 of file simplex.hh.

Constructor & Destructor Documentation

Simplex< 0 >::Simplex ( )
inline

Definition at line 107 of file simplex.hh.

Simplex< 0 >::Simplex ( arma::vec3 **  field)
inline

Default constructor. Does not set coordinates pointer.

Constuctor that sets the point coordinates.

Parameters
field- array of pointers to point coordinates; it takes just the first element of the input array for case of Simplex<0>

Definition at line 110 of file simplex.hh.

Simplex< 0 >::~Simplex ( )
inline

Destructor.

Definition at line 114 of file simplex.hh.

Member Function Documentation

arma::vec3 & Simplex< 0 >::point_coordinates ( )
inline

Returns the point coordinates.

Definition at line 120 of file simplex.hh.

void Simplex< 0 >::set_simplices ( arma::vec3 **  field)
inline

Setter for point coordinates

Definition at line 116 of file simplex.hh.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Simplex< 0 > &  s 
)
friend

Friend output operator.

Member Data Documentation

arma::vec3* Simplex< 0 >::coords_
private

Point coordinates.

Definition at line 46 of file simplex.hh.


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