Flow123d
release_3.0.0-968-gc87a28e79
|
Go to the documentation of this file.
18 #ifndef FE_VALUE_HANDLER_HH_
19 #define FE_VALUE_HANDLER_HH_
36 std::shared_ptr<DOFHandlerMultiDim>
dh;
50 template <
int elemdim,
int spacedim,
class Value>
87 std::shared_ptr<DOFHandlerMultiDim>
dh_;
112 template <
int spacedim,
class Value>
127 point_list.push_back(p);
152 std::shared_ptr<DOFHandlerMultiDim>
dh_;
~FEValueHandler()
Destructor.
Value::return_type r_value_
Space< spacedim >::Point Point
Value value_
Last value, prevents passing large values (vectors) by value.
void initialize(FEValueInitData init_data)
Initialize data members.
Space< spacedim >::Point Point
unsigned int comp_index_
Index of component (of vector_value/tensor_value)
std::shared_ptr< DOFHandlerMultiDim > dh_
DOF handler object.
VectorMPI data_vec_
Store data of Field.
arma::vec::fixed< spacedim > Point
std::shared_ptr< DOFHandlerMultiDim > dh
DOF handler object.
std::vector< LongIdx > dof_indices
Array of indexes to data_vec_, used for get/set values.
std::shared_ptr< std::vector< LongIdx > > boundary_dofs_
Abstract class for description of finite elements.
MappingP1< elemdim, 3 > * map_
Mapping object.
Value::return_type r_value_
const Value::return_type & value(const Point &p, const ElementAccessor< spacedim > &elm)
Returns one value in one given point.
std::shared_ptr< std::vector< LongIdx > > boundary_dofs_
unsigned int ndofs
number of dofs
VectorMPI data_vec_
Store data of Field.
Value value_
Last value, prevents passing large values (vectors) by value.
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.
std::vector< LongIdx > dof_indices
Array of indexes to data_vec_, used for get/set values.
Initialization structure of FEValueHandler class.
MappingP1< elemdim, 3 > * get_mapping()
Return mapping object.
FEValueHandler()
Constructor.
FEValueHandler()
Constructor.
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....
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.
~FEValueHandler()
Destructor.
const Value::return_type & value(const Point &p, const ElementAccessor< spacedim > &elm)
Returns one value in one given point.
VectorMPI data_vec
Store data of Field.
Class MappingP1 implements the affine transformation of the unit cell onto the actual cell.
unsigned int comp_index
index of component (of vector_value/tensor_value)
std::shared_ptr< DOFHandlerMultiDim > dh_
DOF handler object.
#define ASSERT_PTR(ptr)
Definition of assert macro checking non-null pointer (PTR)
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....
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....
unsigned int n_comp
number of components