Flow123d  JS_before_hm-979-g397e552
Public Member Functions | Private Attributes | List of all members
EdgePoint Class Reference

Point accessor allow iterate over quadrature points of given side defined in local element coordinates. More...

#include <eval_subset.hh>

Collaboration diagram for EdgePoint:
Collaboration graph
[legend]

Public Member Functions

 EdgePoint ()
 Default constructor. More...
 
 EdgePoint (DHCellSide cell_side, const ElementCacheMap *elm_cache_map, std::shared_ptr< const EdgeIntegral > edge_integral, unsigned int local_point_idx)
 Constructor. More...
 
std::shared_ptr< const EdgeIntegralintegral () const
 Getter of EdgeIntegral. More...
 
std::shared_ptr< EvalPointseval_points () const
 Getter of evaluation points. More...
 
template<unsigned int dim>
arma::vec::fixed< dim > loc_coords () const
 
unsigned int element_cache_index () const
 Return index of element in data cache. More...
 
DHCellSide dh_cell_side () const
 Return DH cell accessor. More...
 
unsigned int permutation_idx () const
 
const ElementCacheMapelm_cache_map () const
 
unsigned int eval_point_idx () const
 Return index in EvalPoints object. More...
 
EdgePoint permute (DHCellSide edg_side) const
 Return corresponds EdgePoint of neighbour side of same dimension (computing of side integrals). More...
 
void inc ()
 Iterates to next point. More...
 
bool operator== (const EdgePoint &other)
 Comparison of accessors. More...
 

Private Attributes

DHCellSide cell_side_
 DOF handler accessor of element side. More...
 
std::shared_ptr< const EdgeIntegralintegral_
 Pointer to edge point set. More...
 
unsigned int local_point_idx_
 Index of the local point in the composed quadrature. More...
 
unsigned int permutation_idx_
 Permutation index corresponding with DHCellSide. More...
 
const ElementCacheMapelm_cache_map_
 Pointer ElementCacheMap needed for point evaluation. More...
 

Detailed Description

Point accessor allow iterate over quadrature points of given side defined in local element coordinates.

Definition at line 289 of file eval_subset.hh.

Constructor & Destructor Documentation

EdgePoint::EdgePoint ( )
inline

Default constructor.

Definition at line 292 of file eval_subset.hh.

EdgePoint::EdgePoint ( DHCellSide  cell_side,
const ElementCacheMap elm_cache_map,
std::shared_ptr< const EdgeIntegral edge_integral,
unsigned int  local_point_idx 
)
inline

Constructor.

Definition at line 296 of file eval_subset.hh.

Member Function Documentation

DHCellSide EdgePoint::dh_cell_side ( ) const
inline

Return DH cell accessor.

Definition at line 325 of file eval_subset.hh.

Here is the caller graph for this function:

unsigned int EdgePoint::element_cache_index ( ) const
inline

Return index of element in data cache.

Definition at line 320 of file eval_subset.hh.

const ElementCacheMap* EdgePoint::elm_cache_map ( ) const
inline

Definition at line 335 of file eval_subset.hh.

Here is the caller graph for this function:

unsigned int EdgePoint::eval_point_idx ( ) const
inline

Return index in EvalPoints object.

Definition at line 340 of file eval_subset.hh.

Here is the caller graph for this function:

std::shared_ptr<EvalPoints> EdgePoint::eval_points ( ) const
inline

Getter of evaluation points.

Definition at line 306 of file eval_subset.hh.

void EdgePoint::inc ( )
inline

Iterates to next point.

Definition at line 348 of file eval_subset.hh.

std::shared_ptr<const EdgeIntegral> EdgePoint::integral ( ) const
inline

Getter of EdgeIntegral.

Definition at line 301 of file eval_subset.hh.

template<unsigned int dim>
arma::vec::fixed<dim> EdgePoint::loc_coords ( ) const
inline

Definition at line 312 of file eval_subset.hh.

bool EdgePoint::operator== ( const EdgePoint other)
inline

Comparison of accessors.

Definition at line 353 of file eval_subset.hh.

unsigned int EdgePoint::permutation_idx ( ) const
inline

Definition at line 330 of file eval_subset.hh.

EdgePoint EdgePoint::permute ( DHCellSide  edg_side) const

Return corresponds EdgePoint of neighbour side of same dimension (computing of side integrals).

Definition at line 137 of file eval_subset.cc.

Member Data Documentation

DHCellSide EdgePoint::cell_side_
private

DOF handler accessor of element side.

Definition at line 359 of file eval_subset.hh.

const ElementCacheMap* EdgePoint::elm_cache_map_
private

Pointer ElementCacheMap needed for point evaluation.

Definition at line 367 of file eval_subset.hh.

std::shared_ptr<const EdgeIntegral> EdgePoint::integral_
private

Pointer to edge point set.

Definition at line 361 of file eval_subset.hh.

unsigned int EdgePoint::local_point_idx_
private

Index of the local point in the composed quadrature.

Definition at line 363 of file eval_subset.hh.

unsigned int EdgePoint::permutation_idx_
private

Permutation index corresponding with DHCellSide.

Definition at line 365 of file eval_subset.hh.


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