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