Flow123d  DF_patch_fe_data_tables-6bd0dc8
Public Member Functions | Private Member Functions | List of all members
FeBulk::PatchPointValues< spacedim > Class Template Reference

Bulk data specialization, order of item in operations_ vector corresponds to the BulkOps enum. More...

#include <patch_point_values.hh>

Inheritance diagram for FeBulk::PatchPointValues< spacedim >:
Inheritance graph
[legend]
Collaboration diagram for FeBulk::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 (uint int_cols)
 
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_rows () const
 Getter for n_rows_. 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 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)
 
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_expansion (ElOp< spacedim > &el_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_val (uint result_row, uint point_idx) const
 
Scalar scalar_value (uint op_idx, uint point_idx) const
 
Vector vector_val (uint result_row, uint point_idx) const
 
Vector vector_value (uint op_idx, uint point_idx) const
 
Tensor tensor_val (uint result_row, uint point_idx) const
 
Tensor tensor_value (uint op_idx, uint point_idx) 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 >
TableDbl point_vals_
 
TableInt int_vals_
 
std::vector< ElOp< spacedim > > operations_
 Vector of all defined operations. More...
 
uint dim_
 Dimension. More...
 
uint n_rows_
 Number of columns of point_vals table. 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 el_vals_ table. More...
 
std::vector< uintpoints_map_
 Map of point patch indices to point_vals_ and int_vals_ 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 FeBulk::PatchPointValues< spacedim >

Bulk data specialization, order of item in operations_ vector corresponds to the BulkOps enum.

Definition at line 937 of file patch_point_values.hh.

Constructor & Destructor Documentation

◆ PatchPointValues()

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

Constructor.

Definition at line 940 of file patch_point_values.hh.

Member Function Documentation

◆ init()

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

Initialize operations vector.

Definition at line 959 of file patch_point_values.hh.


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