Flow123d  build_with_4.0.3-407d361
Public Member Functions | Private Attributes | Friends | 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...
 
uint bulk_begin () const
 
Range< CouplingPointpoints (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
 BaseIntegral ()
 Default constructor. More...
 
 BaseIntegral (std::shared_ptr< EvalPoints > eval_points, unsigned int dim)
 Constructor of bulk 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...
 

Friends

class CouplingPoint
 

Additional Inherited Members

- Protected Attributes inherited from BaseIntegral
std::shared_ptr< EvalPointseval_points_
 Pointer to EvalPoints. More...
 
unsigned int dim_
 Dimension of the cell on which points are placed. More...
 

Detailed Description

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

Dimension corresponds with element of higher dim.

Definition at line 369 of file eval_subset.hh.

Constructor & Destructor Documentation

◆ CouplingIntegral() [1/2]

CouplingIntegral::CouplingIntegral ( )
inline

Default constructor.

Definition at line 372 of file eval_subset.hh.

◆ CouplingIntegral() [2/2]

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

Constructor of ngh integral.

Definition at line 66 of file eval_subset.cc.

◆ ~CouplingIntegral()

CouplingIntegral::~CouplingIntegral ( )

Destructor.

Definition at line 73 of file eval_subset.cc.

Member Function Documentation

◆ bulk_begin()

uint CouplingIntegral::bulk_begin ( ) const
inline

Definition at line 390 of file eval_subset.hh.

Here is the caller graph for this function:

◆ get_subset_high_idx()

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 381 of file eval_subset.hh.

◆ get_subset_low_idx()

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 386 of file eval_subset.hh.

◆ points()

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

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

Definition at line 395 of file eval_subset.hh.

Friends And Related Function Documentation

◆ CouplingPoint

friend class CouplingPoint
friend

Definition at line 412 of file eval_subset.hh.

Member Data Documentation

◆ bulk_integral_

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

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

Definition at line 410 of file eval_subset.hh.

◆ edge_integral_

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

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

Definition at line 408 of file eval_subset.hh.


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