Flow123d
release_3.0.0-1026-ga6b0c21
|
#include <fe_values_views.hh>
Public Member Functions | |
Tensor (FEValuesBase< dim, spacedim > &fe_values, unsigned int component) | |
arma::mat::fixed< spacedim, spacedim > | value (unsigned int function_no, unsigned int point_no) const |
Return value of tensor-valued shape function. More... | |
arma::mat::fixed< spacedim, spacedim > | derivative (unsigned int variable_no, unsigned int function_no, unsigned int point_no) const |
Return partial derivative of tensor-valued shape function. More... | |
arma::vec::fixed< spacedim > | divergence (unsigned int function_no, unsigned int point_no) const |
Return divergence of tensor-valued shape function. More... | |
FEValuesBase< dim, spacedim > & | base () const |
Returns the FEValuesBase class. More... | |
Private Attributes | |
FEValuesBase< dim, spacedim > & | fe_values_ |
Base FEValues class for access to the FE. More... | |
unsigned int | first_tensor_component_ |
Index of the first component of the vector. More... | |
Definition at line 126 of file fe_values_views.hh.
|
inline |
Definition at line 130 of file fe_values_views.hh.
FEValuesBase< dim, spacedim > & FEValuesViews::Tensor< dim, spacedim >::base | ( | ) | const |
Returns the FEValuesBase class.
Definition at line 137 of file fe_values_views.cc.
arma::mat::fixed< spacedim, spacedim > FEValuesViews::Tensor< dim, spacedim >::derivative | ( | unsigned int | variable_no, |
unsigned int | function_no, | ||
unsigned int | point_no | ||
) | const |
Return partial derivative of tensor-valued shape function.
variable_no | Index of spacial variable w.r. to which we differentiate. |
function_no | Index of shape function within the FE. |
point_no | Index of quadrature point. |
Definition at line 110 of file fe_values_views.cc.
arma::vec::fixed< spacedim > FEValuesViews::Tensor< dim, spacedim >::divergence | ( | unsigned int | function_no, |
unsigned int | point_no | ||
) | const |
Return divergence of tensor-valued shape function.
The result is a vector whose components are divergences of tensor columns, i.e. (div T)_i = dT_ji / dx_j.
function_no | Index of shape function within the FE. |
point_no | Index of quadrature point. |
Definition at line 125 of file fe_values_views.cc.
arma::mat::fixed< spacedim, spacedim > FEValuesViews::Tensor< dim, spacedim >::value | ( | unsigned int | function_no, |
unsigned int | point_no | ||
) | const |
Return value of tensor-valued shape function.
function_no | Index of shape function within the FE. |
point_no | Index of quadrature point. |
Definition at line 99 of file fe_values_views.cc.
|
private |
Base FEValues class for access to the FE.
Definition at line 170 of file fe_values_views.hh.
|
private |
Index of the first component of the vector.
Definition at line 173 of file fe_values_views.hh.