NiHu  2.0
NiHu::field_points< xType > Class Template Reference

container class for field points More...

#include <mesh.hpp>

Public Types

typedef xType x_t
 template parameter as nested type
 
typedef eigen_std_vector< x_t >::type::const_iterator iterator_t
 node iterator type
 

Public Member Functions

void add_point (x_t const &p)
 add a point to the field point mesh More...
 
size_t get_num_points () const
 return number of points More...
 

Static Public Attributes

static const unsigned nDim = x_t::SizeAtCompileTime
 number of dimensions
 

Protected Attributes

eigen_std_vector< x_t >::type points
 nodal coordinates
 

Detailed Description

template<class xType>
class NiHu::field_points< xType >

container class for field points

Template Parameters
xTypetype of a field point

Definition at line 58 of file mesh.hpp.

Member Function Documentation

◆ add_point()

template<class xType >
void NiHu::field_points< xType >::add_point ( x_t const &  p)
inline

add a point to the field point mesh

Parameters
pthe point to be added

Definition at line 69 of file mesh.hpp.

◆ get_num_points()

template<class xType >
size_t NiHu::field_points< xType >::get_num_points ( ) const
inline

return number of points

Returns
number of points

Definition at line 78 of file mesh.hpp.


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