ViennaGrid for Python
 All Classes Files Functions Variables
is_interface.hpp
Go to the documentation of this file.
1 
7 #ifndef ALGORITHMS_IS_INTERFACE_HPP
8 #define ALGORITHMS_IS_INTERFACE_HPP
9 
10 #include "../segments/linear.hpp"
11 #include "../segments/triangular.hpp"
12 #include "../segments/quadrilateral.hpp"
13 #include "../segments/tetrahedral.hpp"
14 
15 #include "../facets/linear.hpp"
16 #include "../facets/triangular.hpp"
17 #include "../facets/quadrilateral.hpp"
18 #include "../facets/tetrahedral.hpp"
19 
20 #include "../edges/triangular.hpp"
21 #include "../edges/quadrilateral.hpp"
22 #include "../edges/tetrahedral.hpp"
23 
24 /******************************
25  * IS_INTERFACE (with facets) *
26  ******************************/
27 
29 // Linear //
31 
44 bool LinearCartesian1D_Facet_is_interface(LinearCartesian1D_Segment seg0, LinearCartesian1D_Segment seg1, LinearCartesian1D_Facet facet);
45 
58 bool LinearCartesian2D_Facet_is_interface(LinearCartesian2D_Segment seg0, LinearCartesian2D_Segment seg1, LinearCartesian2D_Facet facet);
59 
72 bool LinearCartesian3D_Facet_is_interface(LinearCartesian3D_Segment seg0, LinearCartesian3D_Segment seg1, LinearCartesian3D_Facet facet);
73 
86 bool LinearCylindrical3D_Facet_is_interface(LinearCylindrical3D_Segment seg0, LinearCylindrical3D_Segment seg1, LinearCylindrical3D_Facet facet);
87 
100 bool LinearPolar2D_Facet_is_interface(LinearPolar2D_Segment seg0, LinearPolar2D_Segment seg1, LinearPolar2D_Facet facet);
101 
114 bool LinearSpherical3D_Facet_is_interface(LinearSpherical3D_Segment seg0, LinearSpherical3D_Segment seg1, LinearSpherical3D_Facet facet);
115 
117 // Triangular //
119 
132 bool TriangularCartesian2D_Facet_is_interface(TriangularCartesian2D_Segment seg0, TriangularCartesian2D_Segment seg1, TriangularCartesian2D_Facet facet);
133 
146 bool TriangularCartesian3D_Facet_is_interface(TriangularCartesian3D_Segment seg0, TriangularCartesian3D_Segment seg1, TriangularCartesian3D_Facet facet);
147 
160 bool TriangularCylindrical3D_Facet_is_interface(TriangularCylindrical3D_Segment seg0, TriangularCylindrical3D_Segment seg1, TriangularCylindrical3D_Facet facet);
161 
174 bool TriangularPolar2D_Facet_is_interface(TriangularPolar2D_Segment seg0, TriangularPolar2D_Segment seg1, TriangularPolar2D_Facet facet);
175 
188 bool TriangularSpherical3D_Facet_is_interface(TriangularSpherical3D_Segment seg0, TriangularSpherical3D_Segment seg1, TriangularSpherical3D_Facet facet);
189 
191 // Quadrilateral //
193 
206 bool QuadrilateralCartesian2D_Facet_is_interface(QuadrilateralCartesian2D_Segment seg0, QuadrilateralCartesian2D_Segment seg1, QuadrilateralCartesian2D_Facet facet);
207 
220 bool QuadrilateralCartesian3D_Facet_is_interface(QuadrilateralCartesian3D_Segment seg0, QuadrilateralCartesian3D_Segment seg1, QuadrilateralCartesian3D_Facet facet);
221 
234 bool QuadrilateralCylindrical3D_Facet_is_interface(QuadrilateralCylindrical3D_Segment seg0, QuadrilateralCylindrical3D_Segment seg1, QuadrilateralCylindrical3D_Facet facet);
235 
248 bool QuadrilateralPolar2D_Facet_is_interface(QuadrilateralPolar2D_Segment seg0, QuadrilateralPolar2D_Segment seg1, QuadrilateralPolar2D_Facet facet);
249 
262 bool QuadrilateralSpherical3D_Facet_is_interface(QuadrilateralSpherical3D_Segment seg0, QuadrilateralSpherical3D_Segment seg1, QuadrilateralSpherical3D_Facet facet);
263 
265 // Tetrahedral //
267 
280 bool TetrahedralCartesian3D_Facet_is_interface(TetrahedralCartesian3D_Segment seg0, TetrahedralCartesian3D_Segment seg1, TetrahedralCartesian3D_Facet facet);
281 
294 bool TetrahedralCylindrical3D_Facet_is_interface(TetrahedralCylindrical3D_Segment seg0, TetrahedralCylindrical3D_Segment seg1, TetrahedralCylindrical3D_Facet facet);
295 
308 bool TetrahedralSpherical3D_Facet_is_interface(TetrahedralSpherical3D_Segment seg0, TetrahedralSpherical3D_Segment seg1, TetrahedralSpherical3D_Facet facet);
309 
310 /*****************************
311  * IS_INTERFACE (with edges) *
312  *****************************/
313 
315 // Triangular //
317 
330 bool TriangularCartesian2D_Edge_is_interface(TriangularCartesian2D_Segment seg0, TriangularCartesian2D_Segment seg1, TriangularCartesian2D_Edge edge);
331 
344 bool TriangularCartesian3D_Edge_is_interface(TriangularCartesian3D_Segment seg0, TriangularCartesian3D_Segment seg1, TriangularCartesian3D_Edge edge);
345 
358 bool TriangularCylindrical3D_Edge_is_interface(TriangularCylindrical3D_Segment seg0, TriangularCylindrical3D_Segment seg1, TriangularCylindrical3D_Edge edge);
359 
372 bool TriangularPolar2D_Edge_is_interface(TriangularPolar2D_Segment seg0, TriangularPolar2D_Segment seg1, TriangularPolar2D_Edge edge);
373 
386 bool TriangularSpherical3D_Edge_is_interface(TriangularSpherical3D_Segment seg0, TriangularSpherical3D_Segment seg1, TriangularSpherical3D_Edge edge);
387 
389 // Quadrilateral //
391 
404 bool QuadrilateralCartesian2D_Edge_is_interface(QuadrilateralCartesian2D_Segment seg0, QuadrilateralCartesian2D_Segment seg1, QuadrilateralCartesian2D_Edge edge);
405 
418 bool QuadrilateralCartesian3D_Edge_is_interface(QuadrilateralCartesian3D_Segment seg0, QuadrilateralCartesian3D_Segment seg1, QuadrilateralCartesian3D_Edge edge);
419 
432 bool QuadrilateralCylindrical3D_Edge_is_interface(QuadrilateralCylindrical3D_Segment seg0, QuadrilateralCylindrical3D_Segment seg1, QuadrilateralCylindrical3D_Edge edge);
433 
446 bool QuadrilateralPolar2D_Edge_is_interface(QuadrilateralPolar2D_Segment seg0, QuadrilateralPolar2D_Segment seg1, QuadrilateralPolar2D_Edge edge);
447 
460 bool QuadrilateralSpherical3D_Edge_is_interface(QuadrilateralSpherical3D_Segment seg0, QuadrilateralSpherical3D_Segment seg1, QuadrilateralSpherical3D_Edge edge);
461 
463 // Tetrahedral //
465 
478 bool TetrahedralCartesian3D_Edge_is_interface(TetrahedralCartesian3D_Segment seg0, TetrahedralCartesian3D_Segment seg1, TetrahedralCartesian3D_Edge edge);
479 
492 bool TetrahedralCylindrical3D_Edge_is_interface(TetrahedralCylindrical3D_Segment seg0, TetrahedralCylindrical3D_Segment seg1, TetrahedralCylindrical3D_Edge edge);
493 
506 bool TetrahedralSpherical3D_Edge_is_interface(TetrahedralSpherical3D_Segment seg0, TetrahedralSpherical3D_Segment seg1, TetrahedralSpherical3D_Edge edge);
507 
508 /********************************
509  * IS_INTERFACE (with vertices) *
510  ********************************/
511 
513 // Linear //
515 
528 bool LinearCartesian1D_Vertex_is_interface(LinearCartesian1D_Segment seg0, LinearCartesian1D_Segment seg1, LinearCartesian1D_Vertex vertex);
529 
542 bool LinearCartesian2D_Vertex_is_interface(LinearCartesian2D_Segment seg0, LinearCartesian2D_Segment seg1, LinearCartesian2D_Vertex vertex);
543 
556 bool LinearCartesian3D_Vertex_is_interface(LinearCartesian3D_Segment seg0, LinearCartesian3D_Segment seg1, LinearCartesian3D_Vertex vertex);
557 
570 bool LinearCylindrical3D_Vertex_is_interface(LinearCylindrical3D_Segment seg0, LinearCylindrical3D_Segment seg1, LinearCylindrical3D_Vertex vertex);
571 
584 bool LinearPolar2D_Vertex_is_interface(LinearPolar2D_Segment seg0, LinearPolar2D_Segment seg1, LinearPolar2D_Vertex vertex);
585 
598 bool LinearSpherical3D_Vertex_is_interface(LinearSpherical3D_Segment seg0, LinearSpherical3D_Segment seg1, LinearSpherical3D_Vertex vertex);
599 
601 // Triangular //
603 
616 bool TriangularCartesian2D_Vertex_is_interface(TriangularCartesian2D_Segment seg0, TriangularCartesian2D_Segment seg1, TriangularCartesian2D_Vertex vertex);
617 
630 bool TriangularCartesian3D_Vertex_is_interface(TriangularCartesian3D_Segment seg0, TriangularCartesian3D_Segment seg1, TriangularCartesian3D_Vertex vertex);
631 
644 bool TriangularCylindrical3D_Vertex_is_interface(TriangularCylindrical3D_Segment seg0, TriangularCylindrical3D_Segment seg1, TriangularCylindrical3D_Vertex vertex);
645 
658 bool TriangularPolar2D_Vertex_is_interface(TriangularPolar2D_Segment seg0, TriangularPolar2D_Segment seg1, TriangularPolar2D_Vertex vertex);
659 
672 bool TriangularSpherical3D_Vertex_is_interface(TriangularSpherical3D_Segment seg0, TriangularSpherical3D_Segment seg1, TriangularSpherical3D_Vertex vertex);
673 
675 // Quadrilateral //
677 
690 bool QuadrilateralCartesian2D_Vertex_is_interface(QuadrilateralCartesian2D_Segment seg0, QuadrilateralCartesian2D_Segment seg1, QuadrilateralCartesian2D_Vertex vertex);
691 
704 bool QuadrilateralCartesian3D_Vertex_is_interface(QuadrilateralCartesian3D_Segment seg0, QuadrilateralCartesian3D_Segment seg1, QuadrilateralCartesian3D_Vertex vertex);
705 
718 bool QuadrilateralCylindrical3D_Vertex_is_interface(QuadrilateralCylindrical3D_Segment seg0, QuadrilateralCylindrical3D_Segment seg1, QuadrilateralCylindrical3D_Vertex vertex);
719 
732 bool QuadrilateralPolar2D_Vertex_is_interface(QuadrilateralPolar2D_Segment seg0, QuadrilateralPolar2D_Segment seg1, QuadrilateralPolar2D_Vertex vertex);
733 
746 bool QuadrilateralSpherical3D_Vertex_is_interface(QuadrilateralSpherical3D_Segment seg0, QuadrilateralSpherical3D_Segment seg1, QuadrilateralSpherical3D_Vertex vertex);
747 
749 // Tetrahedral //
751 
764 bool TetrahedralCartesian3D_Vertex_is_interface(TetrahedralCartesian3D_Segment seg0, TetrahedralCartesian3D_Segment seg1, TetrahedralCartesian3D_Vertex vertex);
765 
778 bool TetrahedralCylindrical3D_Vertex_is_interface(TetrahedralCylindrical3D_Segment seg0, TetrahedralCylindrical3D_Segment seg1, TetrahedralCylindrical3D_Vertex vertex);
779 
792 bool TetrahedralSpherical3D_Vertex_is_interface(TetrahedralSpherical3D_Segment seg0, TetrahedralSpherical3D_Segment seg1, TetrahedralSpherical3D_Vertex vertex);
793 
794 #endif /* end of include guard: ALGORITHMS_IS_INTERFACE_HPP */