Flow123d  release_3.0.0-1159-g9e13a92
Public Member Functions | Protected Attributes | List of all members
IntersectionLocalBase Class Referenceabstract

Common base for intersection object. More...

#include <intersection_local.hh>

Inheritance diagram for IntersectionLocalBase:
Inheritance graph
[legend]

Public Member Functions

 IntersectionLocalBase ()
 
 IntersectionLocalBase (unsigned int component_element_idx, unsigned int bulk_element_idx)
 Constructor taking in element indices. More...
 
 ~IntersectionLocalBase ()
 
unsigned int component_ele_idx () const
 Returns index of component element. More...
 
unsigned int bulk_ele_idx () const
 Returns index of bulk element. More...
 
virtual double compute_measure () const =0
 

Protected Attributes

unsigned int component_element_idx_
 Index of intersecting element in the component. More...
 
unsigned int bulk_element_idx_
 Index of intersecting element in the bulk. More...
 

Detailed Description

Common base for intersection object.

This base class provides unification of all intersection objects. The common part is a pair of component element index and bulk element index.

The derived class IntersectionLocal<dimA,dimB> differs in coordinates length according to dimA and dimB.

Definition at line 48 of file intersection_local.hh.

Constructor & Destructor Documentation

IntersectionLocalBase::IntersectionLocalBase ( )

Definition at line 13 of file intersection_local.cc.

IntersectionLocalBase::IntersectionLocalBase ( unsigned int  component_element_idx,
unsigned int  bulk_element_idx 
)

Constructor taking in element indices.

Definition at line 20 of file intersection_local.cc.

IntersectionLocalBase::~IntersectionLocalBase ( )

Definition at line 17 of file intersection_local.cc.

Member Function Documentation

unsigned int IntersectionLocalBase::bulk_ele_idx ( ) const
inline

Returns index of bulk element.

Definition at line 77 of file intersection_local.hh.

Here is the caller graph for this function:

unsigned int IntersectionLocalBase::component_ele_idx ( ) const
inline

Returns index of component element.

Definition at line 74 of file intersection_local.hh.

Here is the caller graph for this function:

virtual double IntersectionLocalBase::compute_measure ( ) const
pure virtual

Member Data Documentation

unsigned int IntersectionLocalBase::bulk_element_idx_
protected

Index of intersecting element in the bulk.

Definition at line 54 of file intersection_local.hh.

unsigned int IntersectionLocalBase::component_element_idx_
protected

Index of intersecting element in the component.

Definition at line 52 of file intersection_local.hh.


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