Flow123d  JS_before_hm-984-g3a19f2f
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, unsigned int n_permutations, unsigned int points_per_side)
 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...
 
Range< EdgePointpoints (const DHCellSide &cell_side, const ElementCacheMap *elm_cache_map) const
 Returns range of side local points for appropriate cell side accessor. More...
 
int perm_idx_ptr (uint i_side, uint i_perm, uint i_point) const
 Returns structure of permutation indices. 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

unsigned int subset_index_
 Index of data block according to subset in EvalPoints object. More...
 
unsigned int *** perm_indices_
 Indices to EvalPoints for different sides and permutations reflecting order of points. More...
 
unsigned int n_sides_
 Number of sides (value 0 indicates bulk set) More...
 
unsigned int n_permutations_
 Number of permutations (value 0 indicates bulk set) More...
 

Friends

class EvalPoints
 
class EdgePoint
 

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

Definition at line 102 of file eval_subset.hh.

Constructor & Destructor Documentation

EdgeIntegral::EdgeIntegral ( )
inline

Default constructor.

Definition at line 105 of file eval_subset.hh.

EdgeIntegral::EdgeIntegral ( std::shared_ptr< EvalPoints eval_points,
unsigned int  dim,
unsigned int  n_permutations,
unsigned int  points_per_side 
)

Constructor of edge integral.

Definition at line 53 of file eval_subset.cc.

EdgeIntegral::~EdgeIntegral ( )

Destructor.

Definition at line 65 of file eval_subset.cc.

Member Function Documentation

int EdgeIntegral::get_subset_idx ( ) const
inline

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

Definition at line 119 of file eval_subset.hh.

unsigned int EdgeIntegral::n_sides ( ) const
inline

Getter of n_sides.

Definition at line 114 of file eval_subset.hh.

Here is the caller graph for this function:

int EdgeIntegral::perm_idx_ptr ( uint  i_side,
uint  i_perm,
uint  i_point 
) const
inline

Returns structure of permutation indices.

Definition at line 127 of file eval_subset.hh.

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

Friends And Related Function Documentation

friend class EdgePoint
friend

Definition at line 142 of file eval_subset.hh.

friend class EvalPoints
friend

Definition at line 141 of file eval_subset.hh.

Member Data Documentation

unsigned int EdgeIntegral::n_permutations_
private

Number of permutations (value 0 indicates bulk set)

Definition at line 139 of file eval_subset.hh.

unsigned int EdgeIntegral::n_sides_
private

Number of sides (value 0 indicates bulk set)

Definition at line 137 of file eval_subset.hh.

unsigned int*** EdgeIntegral::perm_indices_
private

Indices to EvalPoints for different sides and permutations reflecting order of points.

Definition at line 135 of file eval_subset.hh.

unsigned int EdgeIntegral::subset_index_
private

Index of data block according to subset in EvalPoints object.

Definition at line 133 of file eval_subset.hh.


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