Go to the documentation of this file.
22 #ifndef INSPECT_ELEMENTS_H_
23 #define INSPECT_ELEMENTS_H_
82 typedef std::pair<unsigned int, IntersectionLocalBase *>
ILpair;
114 template<u
int dim_A, u
int dim_B>
117 template<u
int dim_A, u
int dim_B>
132 #endif // INSPECT_ELEMENTS_H_
void store_intersection(std::vector< IntersectionLocal< dim_A, dim_B >> &storage, IntersectionAux< dim_A, dim_B > &isec_aux)
Implements algorithm for finding 2D-2D intersections.
InspectElementsAlgorithm22 algorithm22_
void compute_intersections_12_3(std::vector< IntersectionLocal< 1, 2 >> &storage)
Main class for computation of intersection of meshes of combined dimensions.
void compute_intersections_12_2(std::vector< IntersectionLocal< 1, 2 >> &storage)
InspectElementsAlgorithm< 2 > algorithm23_
void compute_intersections_12_1(std::vector< IntersectionLocal< 1, 2 >> &storage)
std::vector< IntersectionLocal< 1, 3 > > intersection_storage13_
Stores 1D-3D intersections.
MixedMeshIntersections(Mesh *mesh)
~MixedMeshIntersections()
unsigned int number_of_components(unsigned int dim)
IntersectionType
Selection of intersections of different dimensions.
InspectElementsAlgorithm12 algorithm12_
void compute_intersections_22(std::vector< IntersectionLocal< 2, 2 >> &storage)
void compute_intersections(IntersectionType d=IntersectionType::all)
void print_mesh_to_file_13(std::string name)
Generates a mesh file of the given name, including the intersection.
Implements algorithm for finding 1D-2D intersections.
std::vector< IntersectionLocal< 2, 2 > > intersection_storage22_
Stores 2D-2D intersections.
InspectElementsAlgorithm< 1 > algorithm13_
std::vector< std::vector< ILpair > > element_intersections_
std::vector< IntersectionLocal< 2, 3 > > intersection_storage23_
Stores 2D-3D intersections.
std::vector< IntersectionLocal< 1, 2 > > intersection_storage12_
Stores 1D-2D intersections.
void print_mesh_to_file_23(std::string name)
Internal auxiliary class representing intersection object of simplex<dimA> and simplex<dimB>.
Class represents intersection of two elements.
std::pair< unsigned int, IntersectionLocalBase * > ILpair
double measure_13()
Computes the size of the intersection in dim dimenstions.
void append_to_index(std::vector< IntersectionLocal< dim_A, dim_B >> &storage)
Common base for intersection object.