Flow123d  JS_before_hm-1727-ga1133b990
Public Member Functions | Protected Attributes | List of all members
PointBase Class Reference

Base point accessor class. More...

#include <eval_subset.hh>

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

Public Member Functions

 PointBase ()
 Default constructor. More...
 
 PointBase (const ElementCacheMap *elm_cache_map, unsigned int loc_point_idx)
 Constructor. More...
 
std::shared_ptr< EvalPointseval_points () const
 Getter of EvalPoints object. More...
 
const ElementCacheMapelm_cache_map () const
 
unsigned int elem_patch_idx () const
 
void inc ()
 Iterates to next point. More...
 

Protected Attributes

unsigned int local_point_idx_
 Local coordinates within element. More...
 
unsigned int elem_patch_idx_
 Index of element in the patch. More...
 
const ElementCacheMapelm_cache_map_
 Pointer ElementCacheMap needed for point evaluation. More...
 

Detailed Description

Base point accessor class.

TODO: remove virtual methods from Points classes, need changes also in Field::operator().

Definition at line 43 of file eval_subset.hh.

Constructor & Destructor Documentation

◆ PointBase() [1/2]

PointBase::PointBase ( )
inline

Default constructor.

Definition at line 46 of file eval_subset.hh.

◆ PointBase() [2/2]

PointBase::PointBase ( const ElementCacheMap elm_cache_map,
unsigned int  loc_point_idx 
)
inline

Constructor.

Definition at line 50 of file eval_subset.hh.

Member Function Documentation

◆ elem_patch_idx()

unsigned int PointBase::elem_patch_idx ( ) const
inline

Definition at line 65 of file eval_subset.hh.

Here is the caller graph for this function:

◆ elm_cache_map()

const ElementCacheMap* PointBase::elm_cache_map ( ) const
inline

Definition at line 60 of file eval_subset.hh.

Here is the caller graph for this function:

◆ eval_points()

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

Getter of EvalPoints object.

Definition at line 54 of file eval_subset.hh.

Here is the caller graph for this function:

◆ inc()

void PointBase::inc ( )
inline

Iterates to next point.

Definition at line 70 of file eval_subset.hh.

Member Data Documentation

◆ elem_patch_idx_

unsigned int PointBase::elem_patch_idx_
protected

Index of element in the patch.

Definition at line 87 of file eval_subset.hh.

◆ elm_cache_map_

const ElementCacheMap* PointBase::elm_cache_map_
protected

Pointer ElementCacheMap needed for point evaluation.

Definition at line 89 of file eval_subset.hh.

◆ local_point_idx_

unsigned int PointBase::local_point_idx_
protected

Local coordinates within element.

Index of the local point in the integral object.

Definition at line 85 of file eval_subset.hh.


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