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>
77 this->boundary_dofs_ = boundary_dofs;
84 std::shared_ptr<DOFHandlerMultiDim>
dh_;
107 template <
int spacedim,
class Value>
115 : value_(r_value_) {}
122 point_list.push_back(p);
124 v_list.push_back(r_value_);
125 this->value_list(point_list, elm, v_list);
126 this->r_value_ = v_list[0];
127 return this->r_value_;
139 this->boundary_dofs_ = boundary_dofs;
147 std::shared_ptr<DOFHandlerMultiDim>
dh_;
Class MappingP1 implements the affine transformation of the unit cell onto the actual cell...
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.
VectorMPI * data_vec
Store data of Field.
VectorMPI * 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
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
std::shared_ptr< DOFHandlerMultiDim > dh
DOF handler object.
VectorMPI * data_vec_
Store data of Field.
~FEValueHandler()
Destructor.
MappingP1< elemdim, 3 > * get_mapping()
Return mapping object.
std::shared_ptr< std::vector< LongIdx > > boundary_dofs_
Value value_
Last value, prevents passing large values (vectors) by value.
std::shared_ptr< std::vector< LongIdx > > boundary_dofs_
Value::return_type r_value_
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.
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.