Flow123d  master-f44eb46
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
InspectElementsAlgorithm22 Class Reference

Implements algorithm for finding 2D-2D intersections. More...

#include <inspect_elements_algorithm.hh>

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

Public Member Functions

 InspectElementsAlgorithm22 (Mesh *input_mesh)
 
void compute_intersections (std::vector< std::vector< ILpair >> &intersection_map, std::vector< IntersectionLocal< 2, 2 >> &storage)
 Runs the core algorithm for computing 2D-2D intersection in 3D. More...
 
- Public Member Functions inherited from IntersectionAlgorithmBase< 2, 2 >
 IntersectionAlgorithmBase (Mesh *mesh)
 

Private Member Functions

void compute_single_intersection (const ElementAccessor< 3 > &eleA, const ElementAccessor< 3 > &eleB, std::vector< IntersectionLocal< 2, 2 >> &storage)
 Computes fundamental intersection of two 2D elements. More...
 
void create_component_numbering ()
 Creates numbering of the 2D components and fills component_idx_ vector. More...
 

Private Attributes

unsigned int component_counter_
 
const unsigned int unset_comp = (unsigned int)(-1)
 
std::vector< IntersectionAux< 2, 2 > > intersectionaux_storage22_
 Stores temporarily 2D-2D intersections. More...
 
std::vector< unsigned int > component_idx_
 

Friends

class MixedMeshIntersections
 Auxiliary function for front-advancing alg. for component numbering. More...
 

Additional Inherited Members

- Protected Attributes inherited from IntersectionAlgorithmBase< 2, 2 >
Meshmesh
 Auxiliary function that translates ElementAccessor<3> to Simplex<simplex_dim>. More...
 
const unsigned int undefined_elm_idx_
 

Detailed Description

Implements algorithm for finding 2D-2D intersections.

It uses previously computed 2D-3D intersections and find candidates which have intersection in the same bulk (3D) element.

Definition at line 196 of file inspect_elements_algorithm.hh.

Constructor & Destructor Documentation

◆ InspectElementsAlgorithm22()

InspectElementsAlgorithm22::InspectElementsAlgorithm22 ( Mesh input_mesh)

Definition at line 703 of file inspect_elements_algorithm.cc.

Member Function Documentation

◆ compute_intersections()

void InspectElementsAlgorithm22::compute_intersections ( std::vector< std::vector< ILpair >> &  intersection_map,
std::vector< IntersectionLocal< 2, 2 >> &  storage 
)

Runs the core algorithm for computing 2D-2D intersection in 3D.

Definition at line 708 of file inspect_elements_algorithm.cc.

Here is the caller graph for this function:

◆ compute_single_intersection()

void InspectElementsAlgorithm22::compute_single_intersection ( const ElementAccessor< 3 > &  eleA,
const ElementAccessor< 3 > &  eleB,
std::vector< IntersectionLocal< 2, 2 >> &  storage 
)
private

Computes fundamental intersection of two 2D elements.

Definition at line 804 of file inspect_elements_algorithm.cc.

Here is the caller graph for this function:

◆ create_component_numbering()

void InspectElementsAlgorithm22::create_component_numbering ( )
private

Creates numbering of the 2D components and fills component_idx_ vector.

Definition at line 825 of file inspect_elements_algorithm.cc.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ MixedMeshIntersections

friend class MixedMeshIntersections
friend

Auxiliary function for front-advancing alg. for component numbering.

Definition at line 227 of file inspect_elements_algorithm.hh.

Member Data Documentation

◆ component_counter_

unsigned int InspectElementsAlgorithm22::component_counter_
private

Definition at line 208 of file inspect_elements_algorithm.hh.

◆ component_idx_

std::vector<unsigned int> InspectElementsAlgorithm22::component_idx_
private

Definition at line 215 of file inspect_elements_algorithm.hh.

◆ intersectionaux_storage22_

std::vector<IntersectionAux<2,2> > InspectElementsAlgorithm22::intersectionaux_storage22_
private

Stores temporarily 2D-2D intersections.

Definition at line 212 of file inspect_elements_algorithm.hh.

◆ unset_comp

const unsigned int InspectElementsAlgorithm22::unset_comp = (unsigned int)(-1)
private

Definition at line 209 of file inspect_elements_algorithm.hh.


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