Flow123d  JS_before_hm-981-g3f34df1
Public Member Functions | Private Attributes | List of all members
CouplingIntegral Class Reference

#include <eval_subset.hh>

Inheritance diagram for CouplingIntegral:
Inheritance graph
[legend]
Collaboration diagram for CouplingIntegral:
Collaboration graph
[legend]

Public Member Functions

 CouplingIntegral ()
 Default constructor. More...
 
 CouplingIntegral (std::shared_ptr< EdgeIntegral > edge_integral, std::shared_ptr< BulkIntegral > bulk_integral)
 Constructor of ngh integral. More...
 
 ~CouplingIntegral ()
 Destructor. More...
 
int get_subset_high_idx () const
 Return index of data block according to subset of higher dim in EvalPoints object. More...
 
int get_subset_low_idx () const
 Return index of data block according to subset of lower dim in EvalPoints object. More...
 
Range< BulkPointpoints (const DHCellAccessor &cell, const ElementCacheMap *elm_cache_map) const
 Returns range of bulk local points for appropriate cell accessor. More...
 
Range< EdgePointpoints (const DHCellSide &cell_side, const ElementCacheMap *elm_cache_map) const
 Returns range of side local points for appropriate cell side accessor. More...
 
- Public Member Functions inherited from BaseIntegral
 TYPEDEF_ERR_INFO (EI_ElementIdx, unsigned int)
 
 DECLARE_EXCEPTION (ExcElementNotInCache,<< "Element of Idx: "<< EI_ElementIdx::val<< " is not stored in 'Field value data cache'.\n"<< "Value can't be computed.\n")
 
 BaseIntegral ()
 Default constructor. More...
 
 BaseIntegral (std::shared_ptr< EvalPoints > eval_points, unsigned int dim)
 Constructor of bulk (n_permutations==0) or side subset. More...
 
virtual ~BaseIntegral ()
 Destructor. More...
 
std::shared_ptr< EvalPointseval_points () const
 Getter of eval_points. More...
 
unsigned int dim () const
 Returns dimension. More...
 

Private Attributes

std::shared_ptr< EdgeIntegraledge_integral_
 Integral according to side subset part (element of higher dim) in EvalPoints object. More...
 
std::shared_ptr< BulkIntegralbulk_integral_
 Integral according to bulk subset part (element of lower dim) in EvalPoints object. More...
 

Additional Inherited Members

- Protected Attributes inherited from BaseIntegral
std::shared_ptr< EvalPointseval_points_
 Pointer to EvalPoints. More...
 
unsigned int dim_
 Dimension of points. More...
 

Detailed Description

Integral class of neighbour points, allows assemblation of element - side fluxes.

Dimension corresponds with element of higher dim.

Definition at line 150 of file eval_subset.hh.

Constructor & Destructor Documentation

CouplingIntegral::CouplingIntegral ( )
inline

Default constructor.

Definition at line 153 of file eval_subset.hh.

CouplingIntegral::CouplingIntegral ( std::shared_ptr< EdgeIntegral edge_integral,
std::shared_ptr< BulkIntegral bulk_integral 
)

Constructor of ngh integral.

Definition at line 92 of file eval_subset.cc.

CouplingIntegral::~CouplingIntegral ( )

Destructor.

Definition at line 97 of file eval_subset.cc.

Member Function Documentation

int CouplingIntegral::get_subset_high_idx ( ) const
inline

Return index of data block according to subset of higher dim in EvalPoints object.

Definition at line 162 of file eval_subset.hh.

int CouplingIntegral::get_subset_low_idx ( ) const
inline

Return index of data block according to subset of lower dim in EvalPoints object.

Definition at line 167 of file eval_subset.hh.

Range< BulkPoint > CouplingIntegral::points ( const DHCellAccessor cell,
const ElementCacheMap elm_cache_map 
) const

Returns range of bulk local points for appropriate cell accessor.

Definition at line 102 of file eval_subset.cc.

Range< EdgePoint > CouplingIntegral::points ( const DHCellSide cell_side,
const ElementCacheMap elm_cache_map 
) const

Returns range of side local points for appropriate cell side accessor.

Definition at line 106 of file eval_subset.cc.

Member Data Documentation

std::shared_ptr<BulkIntegral> CouplingIntegral::bulk_integral_
private

Integral according to bulk subset part (element of lower dim) in EvalPoints object.

Definition at line 181 of file eval_subset.hh.

std::shared_ptr<EdgeIntegral> CouplingIntegral::edge_integral_
private

Integral according to side subset part (element of higher dim) in EvalPoints object.

Definition at line 179 of file eval_subset.hh.


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