Flow123d
master-c50b6b6
|
#include <fe_value_handler.hh>
Public Types | |
typedef Space< spacedim >::Point | Point |
Public Member Functions | |
FEValueHandler () | |
Constructor. More... | |
void | initialize (FEValueInitData init_data) |
Initialize data members. More... | |
const Value::return_type & | value (const Point &p, const ElementAccessor< spacedim > &elm) |
Returns one value in one given point. More... | |
void | value_list (const Armor::array &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list) |
Returns std::vector of scalar values in several points at once. More... | |
unsigned int | compute_quadrature (std::vector< arma::vec::fixed< 3 >> &q_points, std::vector< double > &q_weights, const ElementAccessor< spacedim > &elm, unsigned int order=3) |
Compute real coordinates and weights (use QGauss) for given element. More... | |
~FEValueHandler () | |
Destructor. More... | |
Private Attributes | |
std::shared_ptr< DOFHandlerMultiDim > | dh_ |
DOF handler object. More... | |
VectorMPI | data_vec_ |
Store data of Field. More... | |
Value | value_ |
Last value, prevents passing large values (vectors) by value. More... | |
Value::return_type | r_value_ |
unsigned int | range_begin_ |
Begin of dof range of actual component. More... | |
unsigned int | range_end_ |
End of dof range of actual component. More... | |
std::shared_ptr< FiniteElement< elemdim > > | fe_ |
Pointer to FiniteElement object used to computing values. More... | |
Helper class that allows compute finite element values specified by element dimension.
Definition at line 57 of file fe_value_handler.hh.
typedef Space<spacedim>::Point FEValueHandler< elemdim, spacedim, Value >::Point |
Definition at line 60 of file fe_value_handler.hh.
FEValueHandler< elemdim, spacedim, Value >::FEValueHandler |
Constructor.
Definition at line 87 of file fe_value_handler.cc.
FEValueHandler< elemdim, spacedim, Value >::~FEValueHandler |
Destructor.
Definition at line 201 of file fe_value_handler.cc.
unsigned int FEValueHandler< elemdim, spacedim, Value >::compute_quadrature | ( | std::vector< arma::vec::fixed< 3 >> & | q_points, |
std::vector< double > & | q_weights, | ||
const ElementAccessor< spacedim > & | elm, | ||
unsigned int | order = 3 |
||
) |
Compute real coordinates and weights (use QGauss) for given element.
Definition at line 150 of file fe_value_handler.cc.
void FEValueHandler< elemdim, spacedim, Value >::initialize | ( | FEValueInitData | init_data | ) |
Initialize data members.
Definition at line 93 of file fe_value_handler.cc.
|
inline |
Returns one value in one given point.
Definition at line 108 of file fe_value_handler.cc.
void FEValueHandler< elemdim, spacedim, Value >::value_list | ( | const Armor::array & | point_list, |
const ElementAccessor< spacedim > & | elm, | ||
std::vector< typename Value::return_type > & | value_list | ||
) |
Returns std::vector of scalar values in several points at once.
Definition at line 121 of file fe_value_handler.cc.
|
private |
Store data of Field.
Definition at line 83 of file fe_value_handler.hh.
|
private |
DOF handler object.
Definition at line 81 of file fe_value_handler.hh.
|
private |
Pointer to FiniteElement object used to computing values.
Definition at line 92 of file fe_value_handler.hh.
|
private |
Definition at line 86 of file fe_value_handler.hh.
|
private |
Begin of dof range of actual component.
Definition at line 88 of file fe_value_handler.hh.
|
private |
End of dof range of actual component.
Definition at line 90 of file fe_value_handler.hh.
|
private |
Last value, prevents passing large values (vectors) by value.
Definition at line 85 of file fe_value_handler.hh.