Flow123d  DF_patch_fe_data_tables-586fb30
Public Member Functions | Private Member Functions | List of all members
FeSide::PatchPointValues< spacedim > Class Template Reference

Bulk Side specialization, order of item in operations_ vector corresponds to the SideOps enum. More...

#include <patch_point_values.hh>

Inheritance diagram for FeSide::PatchPointValues< spacedim >:
Inheritance graph
[legend]
Collaboration diagram for FeSide::PatchPointValues< spacedim >:
Collaboration graph
[legend]

Public Member Functions

 PatchPointValues (uint dim, uint quad_order, AssemblyArena &asm_arena)
 Constructor. More...
 
- Public Member Functions inherited from PatchPointValues< 3 >
 PatchPointValues (uint dim, AssemblyArena &asm_arena)
 
void initialize ()
 
void init_finalize (PatchArena *patch_arena)
 
void reset ()
 Reset number of columns (points and elements) More...
 
uint dim () const
 Getter for dim_. More...
 
uint n_elems () const
 Getter for n_elems_. More...
 
uint n_points () const
 Getter for n_points_. More...
 
Quadratureget_quadrature () const
 Getter for quadrature. More...
 
void resize_tables (uint n_elems, uint n_points)
 Resize data tables. Method is called before reinit of patch. More...
 
uint register_element (arma::mat coords, uint element_patch_idx)
 
uint register_side (arma::mat elm_coords, arma::mat side_coords, uint side_idx)
 
uint register_bulk_point (uint elem_table_row, uint value_patch_idx, uint elem_idx, uint i_point_on_elem)
 
uint register_side_point (uint elem_table_row, uint value_patch_idx, uint elem_idx, uint side_idx, uint i_point_on_side)
 
ElOp< spacedim > & make_new_op (std::initializer_list< uint > shape, ReinitFunction reinit_f, std::vector< uint > input_ops_vec, OpSizeType size_type=pointOp)
 
ElOp< spacedim > & make_fixed_op (std::initializer_list< uint > shape, ReinitFunction reinit_f)
 
ElOp< spacedim > & make_fe_op (std::initializer_list< uint > shape, ReinitFunction reinit_f, std::vector< uint > input_ops_vec, uint n_dofs, OpSizeType size_type=pointOp)
 
void reinit_patch ()
 
Scalar scalar_value (uint op_idx, uint point_idx, uint i_dof=0) const
 
Vector vector_value (uint op_idx, uint point_idx, uint i_dof=0) const
 
Tensor tensor_value (uint op_idx, uint point_idx, uint i_dof=0) const
 
void print_data_tables (ostream &stream, bool points, bool ints) const
 
void print_operations (ostream &stream, uint bulk_side) const
 

Private Member Functions

template<unsigned int dim>
void init ()
 Initialize operations vector. More...
 

Additional Inherited Members

- Protected Attributes inherited from PatchPointValues< 3 >
IntTableArena int_table_
 
std::vector< OpSizeTypeint_sizes_
 Set size and type of rows of int_table_, value is set implicitly in constructor of descendants. More...
 
std::vector< ElOp< spacedim > > operations_
 Vector of all defined operations. More...
 
uint dim_
 Dimension. More...
 
uint n_points_
 Number of points in patch. More...
 
uint n_elems_
 Number of elements in patch. More...
 
uint i_elem_
 Index of registered element in table, helper value used during patch creating. More...
 
Quadraturequad_
 Quadrature of given dimension and order passed in constructor. More...
 
std::vector< uintelements_map_
 Map of element patch indices to ElOp::result_ and int_table_ tables. More...
 
std::vector< uintpoints_map_
 Map of point patch indices to ElOp::result_ and int_table_ tables. More...
 
std::vector< OpSizeTyperow_sizes_
 hold sizes of rows by type of operation More...
 
AssemblyArenaasm_arena_
 Reference to global assembly arena of PatchFeValues. More...
 
PatchArenapatch_arena_
 Pointer to global patch arena of PatchFeValues. More...
 

Detailed Description

template<unsigned int spacedim = 3>
class FeSide::PatchPointValues< spacedim >

Bulk Side specialization, order of item in operations_ vector corresponds to the SideOps enum.

Definition at line 913 of file patch_point_values.hh.

Constructor & Destructor Documentation

◆ PatchPointValues()

template<unsigned int spacedim = 3>
FeSide::PatchPointValues< spacedim >::PatchPointValues ( uint  dim,
uint  quad_order,
AssemblyArena asm_arena 
)
inline

Constructor.

Definition at line 916 of file patch_point_values.hh.

Member Function Documentation

◆ init()

template<unsigned int spacedim = 3>
template<unsigned int dim>
void FeSide::PatchPointValues< spacedim >::init ( )
inlineprivate

Initialize operations vector.

Definition at line 936 of file patch_point_values.hh.


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