Flow123d  DF_patch_fe_data_tables-fa7c8cb
Public Member Functions | Private Attributes | List of all members
JoinShapeAccessor< ValueType > Class Template Reference

#include <patch_fe_values.hh>

Collaboration diagram for JoinShapeAccessor< ValueType >:
Collaboration graph
[legend]

Public Member Functions

 JoinShapeAccessor ()
 Default constructor. More...
 
 JoinShapeAccessor (PatchPointValues< 3 > *patch_point_vals_bulk, PatchPointValues< 3 > *patch_point_vals_side, unsigned int begin, unsigned int begin_side, unsigned int n_dofs_bulk, unsigned int n_dofs_side, unsigned int join_idx)
 
unsigned int join_idx () const
 Return global index of DOF. More...
 
unsigned int local_idx () const
 Return local index of DOF (on low / high-dim) - should be private method. More...
 
unsigned int n_dofs_low () const
 
unsigned int n_dofs_high () const
 
unsigned int n_dofs_both () const
 
bool is_high_dim () const
 
void inc ()
 Iterates to next item. More...
 
bool operator== (const JoinShapeAccessor< ValueType > &other) const
 Comparison of accessors. More...
 
ValueType operator() (const BulkPoint &point)
 
ValueType operator() (const SidePoint &point)
 
Vector operator() (FMT_UNUSED const BulkPoint &point)
 
Tensor operator() (FMT_UNUSED const BulkPoint &point)
 
Vector operator() (FMT_UNUSED const SidePoint &point)
 
Tensor operator() (FMT_UNUSED const SidePoint &point)
 

Private Attributes

PatchPointValues< 3 > * patch_point_vals_bulk_
 Pointer to bulk PatchPointValues. More...
 
PatchPointValues< 3 > * patch_point_vals_side_
 Pointer to side PatchPointValues. More...
 
unsigned int begin_
 Index of the first component of the bulk Quantity. Size is given by ValueType. More...
 
unsigned int begin_side_
 Index of the first component of the side Quantity. Size is given by ValueType. More...
 
unsigned int n_dofs_high_
 Number of DOFs on high-dim element. More...
 
unsigned int n_dofs_low_
 Number of DOFs on low-dim element. More...
 
unsigned int join_idx_
 Index of processed DOF. More...
 

Detailed Description

template<class ValueType>
class JoinShapeAccessor< ValueType >

Definition at line 96 of file patch_fe_values.hh.

Constructor & Destructor Documentation

◆ JoinShapeAccessor() [1/2]

template<class ValueType >
JoinShapeAccessor< ValueType >::JoinShapeAccessor ( )
inline

Default constructor.

Definition at line 99 of file patch_fe_values.hh.

◆ JoinShapeAccessor() [2/2]

template<class ValueType >
JoinShapeAccessor< ValueType >::JoinShapeAccessor ( PatchPointValues< 3 > *  patch_point_vals_bulk,
PatchPointValues< 3 > *  patch_point_vals_side,
unsigned int  begin,
unsigned int  begin_side,
unsigned int  n_dofs_bulk,
unsigned int  n_dofs_side,
unsigned int  join_idx 
)
inline

Constructor

Parameters
patch_point_vals_bulkPointer to PatchPointValues bulk object.
patch_point_vals_sidePointer to PatchPointValues side object.
beginIndex of the first component of the bulk Quantity.
begin_sideIndex of the first component of the side Quantity.
n_dofs_bulkNumber of DOFs of bulk (lower-dim) element.
n_dofs_sideNumber of DOFs of side (higher-dim) element.
join_idxIndex function.

Definition at line 113 of file patch_fe_values.hh.

Member Function Documentation

◆ inc()

template<class ValueType >
void JoinShapeAccessor< ValueType >::inc ( )
inline

Iterates to next item.

Definition at line 148 of file patch_fe_values.hh.

◆ is_high_dim()

template<class ValueType >
bool JoinShapeAccessor< ValueType >::is_high_dim ( ) const
inline

Definition at line 143 of file patch_fe_values.hh.

Here is the caller graph for this function:

◆ join_idx()

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::join_idx ( ) const
inline

Return global index of DOF.

Definition at line 121 of file patch_fe_values.hh.

◆ local_idx()

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::local_idx ( ) const
inline

Return local index of DOF (on low / high-dim) - should be private method.

Definition at line 126 of file patch_fe_values.hh.

Here is the caller graph for this function:

◆ n_dofs_both()

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::n_dofs_both ( ) const
inline

Definition at line 139 of file patch_fe_values.hh.

◆ n_dofs_high()

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::n_dofs_high ( ) const
inline

Definition at line 135 of file patch_fe_values.hh.

◆ n_dofs_low()

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::n_dofs_low ( ) const
inline

Definition at line 131 of file patch_fe_values.hh.

◆ operator()() [1/6]

template<class ValueType >
ValueType JoinShapeAccessor< ValueType >::operator() ( const BulkPoint point)

Definition at line 1216 of file patch_fe_values.hh.

◆ operator()() [2/6]

template<class ValueType >
ValueType JoinShapeAccessor< ValueType >::operator() ( const SidePoint point)

Definition at line 1238 of file patch_fe_values.hh.

◆ operator()() [3/6]

Vector JoinShapeAccessor< Vector >::operator() ( FMT_UNUSED const BulkPoint point)
inline

Definition at line 1226 of file patch_fe_values.hh.

◆ operator()() [4/6]

Tensor JoinShapeAccessor< Tensor >::operator() ( FMT_UNUSED const BulkPoint point)
inline

Definition at line 1232 of file patch_fe_values.hh.

◆ operator()() [5/6]

Vector JoinShapeAccessor< Vector >::operator() ( FMT_UNUSED const SidePoint point)
inline

Definition at line 1248 of file patch_fe_values.hh.

◆ operator()() [6/6]

Tensor JoinShapeAccessor< Tensor >::operator() ( FMT_UNUSED const SidePoint point)
inline

Definition at line 1254 of file patch_fe_values.hh.

◆ operator==()

template<class ValueType >
bool JoinShapeAccessor< ValueType >::operator== ( const JoinShapeAccessor< ValueType > &  other) const
inline

Comparison of accessors.

Definition at line 153 of file patch_fe_values.hh.

Member Data Documentation

◆ begin_

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::begin_
private

Index of the first component of the bulk Quantity. Size is given by ValueType.

Definition at line 166 of file patch_fe_values.hh.

◆ begin_side_

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::begin_side_
private

Index of the first component of the side Quantity. Size is given by ValueType.

Definition at line 167 of file patch_fe_values.hh.

◆ join_idx_

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::join_idx_
private

Index of processed DOF.

Definition at line 170 of file patch_fe_values.hh.

◆ n_dofs_high_

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::n_dofs_high_
private

Number of DOFs on high-dim element.

Definition at line 168 of file patch_fe_values.hh.

◆ n_dofs_low_

template<class ValueType >
unsigned int JoinShapeAccessor< ValueType >::n_dofs_low_
private

Number of DOFs on low-dim element.

Definition at line 169 of file patch_fe_values.hh.

◆ patch_point_vals_bulk_

template<class ValueType >
PatchPointValues<3>* JoinShapeAccessor< ValueType >::patch_point_vals_bulk_
private

Pointer to bulk PatchPointValues.

Definition at line 164 of file patch_fe_values.hh.

◆ patch_point_vals_side_

template<class ValueType >
PatchPointValues<3>* JoinShapeAccessor< ValueType >::patch_point_vals_side_
private

Pointer to side PatchPointValues.

Definition at line 165 of file patch_fe_values.hh.


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