Flow123d
JS_before_hm-1804-gf2ad740aa
|
Implements algorithm for finding 2D-2D intersections. More...
#include <inspect_elements_algorithm.hh>
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 > | |
Mesh * | mesh |
Auxiliary function that translates ElementAccessor<3> to Simplex<simplex_dim> . More... | |
const unsigned int | undefined_elm_idx_ |
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.
InspectElementsAlgorithm22::InspectElementsAlgorithm22 | ( | Mesh * | input_mesh | ) |
Definition at line 703 of file inspect_elements_algorithm.cc.
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.
|
private |
Computes fundamental intersection of two 2D elements.
Definition at line 804 of file inspect_elements_algorithm.cc.
|
private |
Creates numbering of the 2D components and fills component_idx_ vector.
Definition at line 825 of file inspect_elements_algorithm.cc.
|
friend |
Auxiliary function for front-advancing alg. for component numbering.
Definition at line 227 of file inspect_elements_algorithm.hh.
|
private |
Definition at line 208 of file inspect_elements_algorithm.hh.
|
private |
Definition at line 215 of file inspect_elements_algorithm.hh.
|
private |
Stores temporarily 2D-2D intersections.
Definition at line 212 of file inspect_elements_algorithm.hh.
|
private |
Definition at line 209 of file inspect_elements_algorithm.hh.