Flow123d
release_3.0.0-968-gc359144
|
#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... | |
MappingP1< elemdim, 3 > * | get_mapping () |
Return mapping object. More... | |
Value::return_type const & | value (const Point &p, const ElementAccessor< spacedim > &elm) |
Returns one value in one given point. More... | |
void | value_list (const std::vector< Point > &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... | |
void | set_boundary_dofs_vector (std::shared_ptr< std::vector< LongIdx > > boundary_dofs) |
TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future. More... | |
unsigned int | get_dof_indices (const ElementAccessor< 3 > &cell, std::vector< LongIdx > &indices) const |
TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future. More... | |
Private Attributes | |
std::shared_ptr< DOFHandlerMultiDim > | dh_ |
DOF handler object. More... | |
VectorMPI | data_vec_ |
Store data of Field. More... | |
std::vector< LongIdx > | dof_indices |
Array of indexes to data_vec_, used for get/set values. More... | |
Value | value_ |
Last value, prevents passing large values (vectors) by value. More... | |
Value::return_type | r_value_ |
MappingP1< elemdim, 3 > * | map_ |
Mapping object. More... | |
unsigned int | comp_index_ |
Index of component (of vector_value/tensor_value) More... | |
std::shared_ptr< std::vector< LongIdx > > | boundary_dofs_ |
Helper class that allows compute finite element values specified by element dimension.
Definition at line 51 of file fe_value_handler.hh.
typedef Space<spacedim>::Point FEValueHandler< elemdim, spacedim, Value >::Point |
Definition at line 54 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 226 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 153 of file fe_value_handler.cc.
unsigned int FEValueHandler< elemdim, spacedim, Value >::get_dof_indices | ( | const ElementAccessor< 3 > & | cell, |
std::vector< LongIdx > & | indices | ||
) | const |
TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future.
Definition at line 171 of file fe_value_handler.cc.
|
inline |
Return mapping object.
Definition at line 62 of file fe_value_handler.hh.
void FEValueHandler< elemdim, spacedim, Value >::initialize | ( | FEValueInitData | init_data | ) |
Initialize data members.
Definition at line 94 of file fe_value_handler.cc.
|
inline |
TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future.
Definition at line 79 of file fe_value_handler.hh.
|
inline |
Returns one value in one given point.
Definition at line 111 of file fe_value_handler.cc.
void FEValueHandler< elemdim, spacedim, Value >::value_list | ( | const std::vector< Point > & | 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 124 of file fe_value_handler.cc.
|
private |
Hold dofs of boundary elements.
TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future.
Definition at line 105 of file fe_value_handler.hh.
|
private |
Index of component (of vector_value/tensor_value)
Definition at line 98 of file fe_value_handler.hh.
|
private |
Store data of Field.
Definition at line 89 of file fe_value_handler.hh.
|
private |
DOF handler object.
Definition at line 87 of file fe_value_handler.hh.
|
private |
Array of indexes to data_vec_, used for get/set values.
Definition at line 91 of file fe_value_handler.hh.
|
private |
Mapping object.
Definition at line 96 of file fe_value_handler.hh.
|
private |
Definition at line 94 of file fe_value_handler.hh.
|
private |
Last value, prevents passing large values (vectors) by value.
Definition at line 93 of file fe_value_handler.hh.