Flow123d  DF_patch_fe_mechanics-5faa023
Classes | Public Member Functions | Public Attributes | List of all members
PatchPointValues< spacedim > Class Template Reference

#include <patch_point_values.hh>

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

Classes

struct  PatchFeData
 

Public Member Functions

 PatchPointValues (uint dim, uint quad_order, bool is_bulk, PatchFeData &patch_fe_data)
 
virtual ~PatchPointValues ()
 
void initialize ()
 
void reset ()
 Reset number of columns (points and elements) 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_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)
 
AssemblyArenaasm_arena () const
 return reference to assembly arena More...
 
PatchArenapatch_arena () const
 return reference to patch arena More...
 
template<class ElementDomain >
NodeAccessor< spacedim > node (unsigned int i_elm, unsigned int i_n)
 

Public Attributes

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...
 
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 PatchOp::result_ and int_table_ tables. More...
 
std::vector< uintpoints_map_
 Map of point patch indices to PatchOp::result_ and int_table_ tables. More...
 
PatchFeDatapatch_fe_data_
 Reference to PatchFeData structure shared with PatchFeValues. More...
 
std::vector< ElementAccessor< spacedim > > elem_list_
 List of elements on patch. More...
 
std::vector< Sideside_list_
 List of sides on patch. More...
 

Detailed Description

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

v Class for storing FE data of quadrature points on one patch.

Store data of bulk or side quadrature points of one dimension.

Definition at line 55 of file patch_point_values.hh.

Constructor & Destructor Documentation

◆ PatchPointValues()

template<unsigned int spacedim = 3>
PatchPointValues< spacedim >::PatchPointValues ( uint  dim,
uint  quad_order,
bool  is_bulk,
PatchFeData patch_fe_data 
)
inline

Constructor

Parameters
dimSet dimension

Definition at line 83 of file patch_point_values.hh.

◆ ~PatchPointValues()

template<unsigned int spacedim = 3>
virtual PatchPointValues< spacedim >::~PatchPointValues ( )
inlinevirtual

Destructor.

Definition at line 99 of file patch_point_values.hh.

Member Function Documentation

◆ asm_arena()

template<unsigned int spacedim = 3>
AssemblyArena& PatchPointValues< spacedim >::asm_arena ( ) const
inline

return reference to assembly arena

Definition at line 183 of file patch_point_values.hh.

◆ get_quadrature()

template<unsigned int spacedim = 3>
Quadrature* PatchPointValues< spacedim >::get_quadrature ( ) const
inline

Getter for quadrature.

Definition at line 129 of file patch_point_values.hh.

◆ initialize()

template<unsigned int spacedim = 3>
void PatchPointValues< spacedim >::initialize ( )
inline

Initialize object, set number of columns (quantities) in tables.

Definition at line 104 of file patch_point_values.hh.

◆ n_elems()

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::n_elems ( ) const
inline

Getter for n_elems_.

Definition at line 119 of file patch_point_values.hh.

Here is the caller graph for this function:

◆ n_points()

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::n_points ( ) const
inline

Getter for n_points_.

Definition at line 124 of file patch_point_values.hh.

Here is the caller graph for this function:

◆ node()

template<unsigned int spacedim = 3>
template<class ElementDomain >
NodeAccessor<spacedim> PatchPointValues< spacedim >::node ( unsigned int  i_elm,
unsigned int  i_n 
)

◆ patch_arena()

template<unsigned int spacedim = 3>
PatchArena& PatchPointValues< spacedim >::patch_arena ( ) const
inline

return reference to patch arena

Definition at line 188 of file patch_point_values.hh.

Here is the caller graph for this function:

◆ register_bulk_point()

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::register_bulk_point ( uint  elem_table_row,
uint  value_patch_idx,
uint  elem_idx,
uint  i_point_on_elem 
)
inline

Register bulk point, add to int_table_

Parameters
elem_table_rowIndex of element in temporary element table.
value_patch_idxIndex of point in ElementCacheMap.
elem_idxIndex of element in Mesh.
i_point_on_elemIndex of point on element

Definition at line 152 of file patch_point_values.hh.

◆ register_side_point()

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::register_side_point ( uint  elem_table_row,
uint  value_patch_idx,
uint  elem_idx,
uint  side_idx,
uint  i_point_on_side 
)
inline

Register side point, add to int_table_

Parameters
elem_table_rowIndex of side in temporary element table.
value_patch_idxIndex of point in ElementCacheMap.
elem_idxIndex of element in Mesh.
side_idxIndex of side on element.
i_point_on_sideIndex of point on side

Definition at line 171 of file patch_point_values.hh.

◆ reset()

template<unsigned int spacedim = 3>
void PatchPointValues< spacedim >::reset ( )
inline

Reset number of columns (points and elements)

Definition at line 110 of file patch_point_values.hh.

Here is the caller graph for this function:

◆ resize_tables()

template<unsigned int spacedim = 3>
void PatchPointValues< spacedim >::resize_tables ( uint  n_elems,
uint  n_points 
)
inline

Resize data tables. Method is called before reinit of patch.

Definition at line 134 of file patch_point_values.hh.

Member Data Documentation

◆ elem_list_

template<unsigned int spacedim = 3>
std::vector<ElementAccessor<spacedim> > PatchPointValues< spacedim >::elem_list_

List of elements on patch.

Definition at line 225 of file patch_point_values.hh.

◆ elements_map_

template<unsigned int spacedim = 3>
std::vector<uint> PatchPointValues< spacedim >::elements_map_

Map of element patch indices to PatchOp::result_ and int_table_ tables.

Definition at line 220 of file patch_point_values.hh.

◆ i_elem_

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::i_elem_

Index of registered element in table, helper value used during patch creating.

Definition at line 217 of file patch_point_values.hh.

◆ int_sizes_

template<unsigned int spacedim = 3>
std::vector<OpSizeType> PatchPointValues< spacedim >::int_sizes_

Set size and type of rows of int_table_, value is set implicitly in constructor of descendants.

Definition at line 212 of file patch_point_values.hh.

◆ int_table_

template<unsigned int spacedim = 3>
IntTableArena PatchPointValues< spacedim >::int_table_

Hold integer values of quadrature points of defined operations.

Table contains following rows: 0: Index of quadrature point on patch 1: Row of element/side in PatchOp::result_ table in registration step (before expansion) 2: Element idx in Mesh

  • last two rows are allocated only for side point table 3: Index of side in element - short vector, size of column = number of sides 4: Index of side in element - long vector, size of column = number of points Number of used rows is given by n_points_.

Definition at line 209 of file patch_point_values.hh.

◆ n_elems_

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::n_elems_

Number of elements in patch.

Definition at line 216 of file patch_point_values.hh.

◆ n_points_

template<unsigned int spacedim = 3>
uint PatchPointValues< spacedim >::n_points_

Number of points in patch.

Definition at line 215 of file patch_point_values.hh.

◆ patch_fe_data_

template<unsigned int spacedim = 3>
PatchFeData& PatchPointValues< spacedim >::patch_fe_data_

Reference to PatchFeData structure shared with PatchFeValues.

Definition at line 223 of file patch_point_values.hh.

◆ points_map_

template<unsigned int spacedim = 3>
std::vector<uint> PatchPointValues< spacedim >::points_map_

Map of point patch indices to PatchOp::result_ and int_table_ tables.

Definition at line 221 of file patch_point_values.hh.

◆ quad_

template<unsigned int spacedim = 3>
Quadrature* PatchPointValues< spacedim >::quad_

Quadrature of given dimension and order passed in constructor.

Definition at line 218 of file patch_point_values.hh.

◆ side_list_

template<unsigned int spacedim = 3>
std::vector<Side> PatchPointValues< spacedim >::side_list_

List of sides on patch.

Definition at line 226 of file patch_point_values.hh.


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