Flow123d  release_2.2.0-914-gf1a3a4f
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 ElementFullIter &eleA, const ElementFullIter &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 Member Functions inherited from IntersectionAlgorithmBase< 2, 2 >
void update_simplex (const ElementFullIter &element, Simplex< simplex_dim > &simplex)
 Auxiliary function that translates ElementFullIter to Simplex<simplex_dim>. More...
 
- Protected Attributes inherited from IntersectionAlgorithmBase< 2, 2 >
Meshmesh
 Mesh pointer. More...
 
const unsigned int undefined_elm_idx_
 
Simplex< dimA > simplexA
 Objects representing single elements. More...
 
Simplex< dimB > simplexB
 

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 ( Mesh input_mesh)

Definition at line 684 of file inspect_elements_algorithm.cc.

Member Function Documentation

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 689 of file inspect_elements_algorithm.cc.

Here is the caller graph for this function:

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

Computes fundamental intersection of two 2D elements.

Definition at line 785 of file inspect_elements_algorithm.cc.

Here is the caller graph for this function:

void InspectElementsAlgorithm22::create_component_numbering ( )
private

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

Definition at line 809 of file inspect_elements_algorithm.cc.

Here is the caller graph for this function:

Friends And Related Function Documentation

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

unsigned int InspectElementsAlgorithm22::component_counter_
private

Definition at line 208 of file inspect_elements_algorithm.hh.

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

Definition at line 215 of file inspect_elements_algorithm.hh.

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

Stores temporarily 2D-2D intersections.

Definition at line 212 of file inspect_elements_algorithm.hh.

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: