NiHu
2.0
|
a quadrature element is a base point and a weight More...
#include <quadrature.hpp>
Public Types | |
typedef XiType | xi_t |
template argument as tested type | |
typedef ScalarType | scalar_t |
template argument as nested type | |
Public Member Functions | |
quadrature_elem (xi_t const &xi=xi_t(), scalar_t const &w=scalar_t()) | |
constructor initialising all members More... | |
xi_t & | get_xi (void) |
return reference to base point | |
const xi_t & | get_xi (void) const |
return constant reference to base point More... | |
const scalar_t & | get_w (void) const |
return constant reference to weight More... | |
void | set_w (scalar_t const &w) |
set quadrature weight More... | |
void | set_xi (xi_t const &xi) |
quadrature_elem & | operator*= (scalar_t const &c) |
multiply a quadrature element by a scalar More... | |
template<class LSet , bool Signed = true> | |
quadrature_elem & | transform_inplace (Eigen::Matrix< scalar_t, LSet::num_nodes, LSet::domain_t::dimension > const &coords) |
transform a quadrature element according to a shape function set and corner nodes More... | |
Protected Attributes | |
xi_t | m_xi |
base point | |
scalar_t | m_w |
weight | |
a quadrature element is a base point and a weight
XiType | the local coordinate type |
ScalarType | the scalar of coordinates |
Definition at line 39 of file quadrature.hpp.
|
inline |
constructor initialising all members
[in] | xi | base location |
[in] | w | weight |
Definition at line 52 of file quadrature.hpp.
|
inline |
return constant reference to weight
Definition at line 78 of file quadrature.hpp.
|
inline |
return constant reference to base point
Definition at line 69 of file quadrature.hpp.
|
inline |
multiply a quadrature element by a scalar
c | the scalar multiplier |
Definition at line 101 of file quadrature.hpp.
|
inline |
|
inline |
transform a quadrature element according to a shape function set and corner nodes
LSet | the shape function set |
Signed | indicates if the sign of the Jacobian needs to be taken into ancount |
[in] | coords | transformation corners |
Definition at line 115 of file quadrature.hpp.