NiHu  2.0
NiHu::volume_element< LSet, scalar_t > Class Template Reference

class describing a volume element that has no normal vector More...

#include <element.hpp>

Public Types

typedef element_base< volume_element< LSet, scalar_t > > base_t
 the base class type
 
using domain_t = typename base_t::domain_t
 the domain type
 
typedef element_traits::coords_type< Derived >::type coords_t
 matrix type that stores the element's corner nodes \(x_i\)
 
typedef Eigen::Matrix< unsigned, num_nodes, 1 > nodes_t
 vector type that stores the element's corner node indices
 
typedef domain_t::xi_t xi_t
 type of the shape functions' independent variable \(\xi\)
 
typedef element_traits::location_value_type< Derived, 0 >::type x_t
 type of the element's physical location variable \( x \)
 
typedef element_traits::location_value_type< Derived, 1 >::type dx_t
 type of the gradient of the element's physical location variable \( x'_{\xi} \)
 

Public Member Functions

 volume_element (coords_t const &coords, unsigned id=0, nodes_t const &nodes=nodes_t())
 constructor More...
 
dx_return_type get_dx (xi_t const &xi) const
 return element location gradient More...
 

Detailed Description

template<class LSet, class scalar_t>
class NiHu::volume_element< LSet, scalar_t >

class describing a volume element that has no normal vector

Template Parameters
LSettype of the geometry shape set

Definition at line 455 of file element.hpp.

Constructor & Destructor Documentation

◆ volume_element()

template<class LSet , class scalar_t >
NiHu::volume_element< LSet, scalar_t >::volume_element ( coords_t const &  coords,
unsigned  id = 0,
nodes_t const &  nodes = nodes_t() 
)
inline

constructor

Parameters
[in]coordsthe coordinate matrix
[in]idelement id
[in]nodesthe nodal index vector
Todo:
this linear size estimate is incorrect

Definition at line 647 of file element.hpp.

Member Function Documentation

◆ get_dx()

template<class LSet , class scalar_t >
dx_return_type NiHu::element_base< Derived >::get_dx
inline

return element location gradient

Parameters
[in]xilocation \(\xi\) in the base domain
Returns
location gradient \(x'_{\xi}\) in the element

Definition at line 334 of file element.hpp.


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