Flow123d  DF_patch_fe_data_tables-522f93f
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)
 Constructor. More...
 
- Public Member Functions inherited from PatchPointValues< 3 >
 PatchPointValues (uint dim)
 
void initialize (uint int_cols)
 
void reset ()
 Reset number of rows (points and elements) More...
 
uint dim () const
 Getter of dim_. More...
 
uint n_rows () const
 Getter of n_rows_. More...
 
uint n_elems () const
 Getter of n_elems_. More...
 
uint n_points () const
 Getter of n_points_. More...
 
Quadratureget_quadrature () const
 Return quadrature. More...
 
uint add_rows (uint n_added)
 Temporary method allow acces to old structure PatchFEValues::DimPatchFEValues. More...
 
void resize_tables (uint n_points)
 Resize data tables. More...
 
uint register_element (arma::mat coords, uint element_patch_idx)
 Register element, add to point_vals_ table. More...
 
uint register_side (arma::mat elm_coords, arma::mat side_coords)
 Register side, add to point_vals_ table. More...
 
uint register_bulk_point (uint elem_table_row, uint value_patch_idx, uint elem_idx)
 Register bulk point, add to int_vals_ table. More...
 
uint register_side_point (uint elem_table_row, uint value_patch_idx, uint elem_idx, uint side_idx)
 Register side point, add to int_vals_ table. More...
 
ElOp< spacedim > & make_new_op (std::initializer_list< uint > shape, ReinitFunction reinit_f, std::vector< uint > input_ops_vec)
 Add accessor to operations_ vector. More...
 
ElOp< spacedim > & make_expansion (ElOp< spacedim > &el_op, std::initializer_list< uint > shape, ReinitFunction reinit_f)
 Add accessor to operations_ vector. More...
 
ElOp< spacedim > & make_fe_op (std::initializer_list< uint > shape, ReinitFunction reinit_f, std::vector< uint > input_ops_vec, uint n_dofs)
 Add accessor to operations_ vector. More...
 
void reinit_patch ()
 Reinit data. More...
 
Scalar scalar_val (uint result_row, uint point_idx) const
 
Vector vector_val (uint result_row, uint point_idx) const
 
Tensor tensor_val (uint result_row, uint point_idx) const
 
void print (bool points, bool ints) const
 Temporary development method. More...
 
void print_operations (ostream &stream, uint bulk_side) const
 Temporary development method. More...
 

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...
 
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...
 

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 745 of file patch_point_values.hh.

Constructor & Destructor Documentation

◆ PatchPointValues()

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

Constructor.

Definition at line 748 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 767 of file patch_point_values.hh.


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