Flow123d  DF_patch_fe_data_tables-4eb41dd
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)
 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...
 

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 FeSide::PatchPointValues< spacedim >

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

Definition at line 734 of file patch_point_values.hh.

Constructor & Destructor Documentation

◆ PatchPointValues()

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

Constructor.

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


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