NiHu
2.0
|
helper functions to compute analytical integrals over plane elements More...
Go to the source code of this file.
Functions | |
template<class elem_t > | |
void | NiHu::plane_element_helper (elem_t const &elem, typename elem_t::x_t const &x0, typename elem_t::scalar_t r[], typename elem_t::scalar_t theta[], typename elem_t::scalar_t alpha[]) |
compute angles and radii in a plane element More... | |
template<class matrixDerived , class vectorDerived > | |
void | NiHu::plane_elem_helper_mid (Eigen::DenseBase< matrixDerived > const &coords, Eigen::DenseBase< vectorDerived > const &x0, double ref_distance[], double theta_lim[], double theta0[]) |
template<class V > | |
Eigen::Matrix< double, 3, 3 > | NiHu::plane_elem_transform (Eigen::DenseBase< V > const &v1_in, Eigen::DenseBase< V > const &v2_in) |
Transformation matrix to get planar element parallel to the x-y plane. More... | |
helper functions to compute analytical integrals over plane elements
Definition in file plane_element_helper.hpp.
Eigen::Matrix<double, 3, 3> NiHu::plane_elem_transform | ( | Eigen::DenseBase< V > const & | v1_in, |
Eigen::DenseBase< V > const & | v2_in | ||
) |
Transformation matrix to get planar element parallel to the x-y plane.
V | Vector type, must be an Eigen vector |
Using the transformation matrix, the element can be projected such that it becomes parallel with the x-y plane. Note that as there is no translation in the transform, the element will not necessarily be shifted into the z=0 plane.
Definition at line 111 of file plane_element_helper.hpp.
void NiHu::plane_element_helper | ( | elem_t const & | elem, |
typename elem_t::x_t const & | x0, | ||
typename elem_t::scalar_t | r[], | ||
typename elem_t::scalar_t | theta[], | ||
typename elem_t::scalar_t | alpha[] | ||
) |
compute angles and radii in a plane element
[in] | elem | the element |
[in] | x0 | the reference position |
[out] | r | the radii from the collocation point |
[out] | theta | the angles between the radii |
[out] | alpha | the angles between the radii and the sides |
Definition at line 40 of file plane_element_helper.hpp.