www.mooseframework.org
ElementsIntersectedByPlane.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef ELEMENTSINTERSECTEDBYPLANE_H
16 #define ELEMENTSINTERSECTEDBYPLANE_H
17 
18 #include "Moose.h"
19 
20 // forward declares
21 class MooseMesh;
22 
23 namespace libMesh
24 {
25 class Point;
26 class Plane;
27 class MeshBase;
28 class Elem;
29 }
30 
31 namespace Moose
32 {
41 void elementsIntersectedByPlane(const Point & p0,
42  const Point & normal,
43  const MeshBase & mesh,
44  std::vector<const Elem *> & intersected_elems);
45 
55 void elementsIntersectedByPlane(const Point & p0,
56  const Point & p1,
57  const Point & p2,
58  const MeshBase & mesh,
59  std::vector<const Elem *> & intersected_elems);
60 }
61 
62 #endif // ELEMENTSINTERSECTEDBYPLANE_H
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
void elementsIntersectedByPlane(const Point &p0, const Point &p1, const Point &p2, const MeshBase &mesh, std::vector< const Elem * > &intersected_elems)
Find all of the elements intersected by a plane.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:74
Definition: Moose.h:84