Flow123d  master-f44eb46
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() [1/2]

IntersectionLocalBase::IntersectionLocalBase ( )

Definition at line 12 of file intersection_local.cc.

◆ IntersectionLocalBase() [2/2]

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

Constructor taking in element indices.

Definition at line 19 of file intersection_local.cc.

◆ ~IntersectionLocalBase()

IntersectionLocalBase::~IntersectionLocalBase ( )

Definition at line 16 of file intersection_local.cc.

Member Function Documentation

◆ bulk_ele_idx()

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:

◆ component_ele_idx()

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:

◆ compute_measure()

virtual double IntersectionLocalBase::compute_measure ( ) const
pure virtual

Implemented in IntersectionLocal< dimA, dimB >, and IntersectionLocal< dimA, dimB >.

Here is the caller graph for this function:

Member Data Documentation

◆ bulk_element_idx_

unsigned int IntersectionLocalBase::bulk_element_idx_
protected

Index of intersecting element in the bulk.

Definition at line 54 of file intersection_local.hh.

◆ component_element_idx_

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: