18 #ifndef FE_VALUE_HANDLER_HH_ 19 #define FE_VALUE_HANDLER_HH_ 36 std::shared_ptr<DOFHandlerMultiDim>
dh;
48 template <
int elemdim,
int spacedim,
class Value>
73 std::shared_ptr<DOFHandlerMultiDim>
dh_;
89 template <
int spacedim,
class Value>
104 point_list.push_back(p);
106 v_list.push_back(r_value_);
107 this->value_list(point_list, elm, v_list);
108 this->r_value_ = v_list[0];
109 return this->r_value_;
120 std::shared_ptr<DOFHandlerMultiDim>
dh_;
Class MappingP1 implements the affine transformation of the unit cell onto the actual cell...
VectorSeqDouble * data_vec_
Store data of Field.
std::vector< LongIdx > dof_indices
Array of indexes to data_vec_, used for get/set values.
Space< spacedim >::Point Point
Value value_
Last value, prevents passing large values (vectors) by value.
Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm)
Returns one value in one given point.
static constexpr bool value
MappingP1< elemdim, 3 > * map_
Mapping object.
FEValueHandler()
Constructor.
arma::vec::fixed< spacedim > Point
Value::return_type r_value_
Space< spacedim >::Point Point
VectorSeqDouble * data_vec
Store data of Field.
std::vector< LongIdx > dof_indices
Array of indexes to data_vec_, used for get/set values.
std::shared_ptr< DOFHandlerMultiDim > dh_
DOF handler object.
unsigned int ndofs
number of dofs
VectorSeqDouble * data_vec_
Store data of Field.
std::shared_ptr< DOFHandlerMultiDim > dh
DOF handler object.
~FEValueHandler()
Destructor.
MappingP1< elemdim, 3 > * get_mapping()
Return mapping object.
Value value_
Last value, prevents passing large values (vectors) by value.
Value::return_type r_value_
Abstract class for description of finite elements.
std::shared_ptr< DOFHandlerMultiDim > dh_
DOF handler object.
unsigned int n_comp
number of components
Initialization structure of FEValueHandler class.