Flow123d  JS_before_hm-1880-gdd969e4e2
Public Types | Public Member Functions | Private Attributes | List of all members
FEValueHandler< 0, spacedim, Value > Class Template Reference

#include <fe_value_handler.hh>

Collaboration diagram for FEValueHandler< 0, spacedim, Value >:
Collaboration graph
[legend]

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...
 
 ~FEValueHandler ()
 Destructor. More...
 
void set_boundary_dofs_vector (std::shared_ptr< std::vector< IntIdx > > boundary_dofs)
 TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future. More...
 
LocDofVec get_loc_dof_indices (unsigned int cell_idx) 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< DOFHandlerMultiDimdh_
 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< std::vector< IntIdx > > boundary_dofs_
 

Detailed Description

template<int spacedim, class Value>
class FEValueHandler< 0, spacedim, Value >

Specialization for elements with dim==0.

Definition at line 121 of file fe_value_handler.hh.

Member Typedef Documentation

◆ Point

template<int spacedim, class Value >
typedef Space<spacedim>::Point FEValueHandler< 0, spacedim, Value >::Point

Definition at line 124 of file fe_value_handler.hh.

Constructor & Destructor Documentation

◆ FEValueHandler()

template<int spacedim, class Value >
FEValueHandler< 0, spacedim, Value >::FEValueHandler ( )
inline

Constructor.

Definition at line 127 of file fe_value_handler.hh.

◆ ~FEValueHandler()

template<int spacedim, class Value >
FEValueHandler< 0, spacedim, Value >::~FEValueHandler ( )
inline

Destructor.

Definition at line 148 of file fe_value_handler.hh.

Member Function Documentation

◆ get_loc_dof_indices()

template<int spacedim, class Value >
LocDofVec FEValueHandler< 0, spacedim, Value >::get_loc_dof_indices ( unsigned int  cell_idx) const
inline

TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future.

Definition at line 156 of file fe_value_handler.hh.

◆ initialize()

template<int spacedim, class Value >
void FEValueHandler< 0, spacedim, Value >::initialize ( FEValueInitData  init_data)

Initialize data members.

Definition at line 170 of file fe_value_handler.cc.

Here is the caller graph for this function:

◆ set_boundary_dofs_vector()

template<int spacedim, class Value >
void FEValueHandler< 0, spacedim, Value >::set_boundary_dofs_vector ( std::shared_ptr< std::vector< IntIdx > >  boundary_dofs)
inline

TODO: Temporary solution. Fix problem with merge new DOF handler and boundary Mesh. Will be removed in future.

Definition at line 151 of file fe_value_handler.hh.

Here is the caller graph for this function:

◆ value()

template<int spacedim, class Value >
const Value::return_type& FEValueHandler< 0, spacedim, Value >::value ( const Point p,
const ElementAccessor< spacedim > &  elm 
)
inline

Returns one value in one given point.

Definition at line 133 of file fe_value_handler.hh.

Here is the caller graph for this function:

◆ value_list()

template<int spacedim, class Value >
void FEValueHandler< 0, 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 184 of file fe_value_handler.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ boundary_dofs_

template<int spacedim, class Value >
std::shared_ptr< std::vector<IntIdx> > FEValueHandler< 0, spacedim, Value >::boundary_dofs_
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 183 of file fe_value_handler.hh.

◆ data_vec_

template<int spacedim, class Value >
VectorMPI FEValueHandler< 0, spacedim, Value >::data_vec_
private

Store data of Field.

Definition at line 169 of file fe_value_handler.hh.

◆ dh_

template<int spacedim, class Value >
std::shared_ptr<DOFHandlerMultiDim> FEValueHandler< 0, spacedim, Value >::dh_
private

DOF handler object.

Definition at line 167 of file fe_value_handler.hh.

◆ r_value_

template<int spacedim, class Value >
Value::return_type FEValueHandler< 0, spacedim, Value >::r_value_
private

Definition at line 172 of file fe_value_handler.hh.

◆ range_begin_

template<int spacedim, class Value >
unsigned int FEValueHandler< 0, spacedim, Value >::range_begin_
private

Begin of dof range of actual component.

Definition at line 174 of file fe_value_handler.hh.

◆ range_end_

template<int spacedim, class Value >
unsigned int FEValueHandler< 0, spacedim, Value >::range_end_
private

End of dof range of actual component.

Definition at line 176 of file fe_value_handler.hh.

◆ value_

template<int spacedim, class Value >
Value FEValueHandler< 0, spacedim, Value >::value_
private

Last value, prevents passing large values (vectors) by value.

Definition at line 171 of file fe_value_handler.hh.


The documentation for this class was generated from the following files: