Flow123d  3.9.0-d39db4f
Public Member Functions | Private Attributes | Friends | List of all members
EdgeIntegral Class Reference

#include <eval_subset.hh>

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

Public Member Functions

 EdgeIntegral ()
 Default constructor. More...
 
 EdgeIntegral (std::shared_ptr< EvalPoints > eval_points, unsigned int dim, uint i_subset)
 Constructor of edge integral. More...
 
 ~EdgeIntegral ()
 Destructor. More...
 
unsigned int n_sides () const
 Getter of n_sides. More...
 
int get_subset_idx () const
 Return index of data block according to subset in EvalPoints object. More...
 
uint side_begin (const DHCellSide &cell_side) const
 
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
 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

unsigned int subset_index_
 
uint begin_idx_
 
unsigned int n_sides_
 Number of sides (value 0 indicates bulk set) More...
 
uint n_points_per_side_
 Number of points. TODO: pass this to the constructor, avoid extraction from the eval_points. More...
 

Friends

class EvalPoints
 
class EdgePoint
 
class CouplingIntegral
 
class BoundaryIntegral
 

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 side points, allows assemblation of element - element fluxes.

Definition at line 307 of file eval_subset.hh.

Constructor & Destructor Documentation

◆ EdgeIntegral() [1/2]

EdgeIntegral::EdgeIntegral ( )
inline

Default constructor.

Definition at line 310 of file eval_subset.hh.

◆ EdgeIntegral() [2/2]

EdgeIntegral::EdgeIntegral ( std::shared_ptr< EvalPoints eval_points,
unsigned int  dim,
uint  i_subset 
)

Constructor of edge integral.

Definition at line 44 of file eval_subset.cc.

◆ ~EdgeIntegral()

EdgeIntegral::~EdgeIntegral ( )

Destructor.

Definition at line 58 of file eval_subset.cc.

Member Function Documentation

◆ get_subset_idx()

int EdgeIntegral::get_subset_idx ( ) const
inline

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

Definition at line 327 of file eval_subset.hh.

◆ n_sides()

unsigned int EdgeIntegral::n_sides ( ) const
inline

Getter of n_sides.

Definition at line 322 of file eval_subset.hh.

Here is the caller graph for this function:

◆ points()

Range< EdgePoint > EdgeIntegral::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 336 of file eval_subset.hh.

◆ side_begin()

uint EdgeIntegral::side_begin ( const DHCellSide cell_side) const
inline

Definition at line 331 of file eval_subset.hh.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ BoundaryIntegral

friend class BoundaryIntegral
friend

Definition at line 361 of file eval_subset.hh.

◆ CouplingIntegral

friend class CouplingIntegral
friend

Definition at line 360 of file eval_subset.hh.

◆ EdgePoint

friend class EdgePoint
friend

Definition at line 359 of file eval_subset.hh.

◆ EvalPoints

friend class EvalPoints
friend

Definition at line 358 of file eval_subset.hh.

Member Data Documentation

◆ begin_idx_

uint EdgeIntegral::begin_idx_
private

Definition at line 351 of file eval_subset.hh.

◆ n_points_per_side_

uint EdgeIntegral::n_points_per_side_
private

Number of points. TODO: pass this to the constructor, avoid extraction from the eval_points.

Definition at line 356 of file eval_subset.hh.

◆ n_sides_

unsigned int EdgeIntegral::n_sides_
private

Number of sides (value 0 indicates bulk set)

Definition at line 354 of file eval_subset.hh.

◆ subset_index_

unsigned int EdgeIntegral::subset_index_
private

Definition at line 350 of file eval_subset.hh.


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