https://mooseframework.inl.gov
ElementsIntersectedByPlane.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Moose.h"
13 
14 // forward declares
15 class MooseMesh;
16 
17 namespace libMesh
18 {
19 class Point;
20 class Plane;
21 class MeshBase;
22 class Elem;
23 }
24 
25 namespace Moose
26 {
36  const libMesh::Point & normal,
37  const libMesh::MeshBase & mesh,
38  std::vector<const libMesh::Elem *> & intersected_elems);
39 
50  const libMesh::Point & p1,
51  const libMesh::Point & p2,
52  const libMesh::MeshBase & mesh,
53  std::vector<const libMesh::Elem *> & intersected_elems);
54 }
void elementsIntersectedByPlane(const libMesh::Point &p0, const libMesh::Point &normal, const libMesh::MeshBase &mesh, std::vector< const libMesh::Elem *> &intersected_elems)
Find all of the elements intersected by a plane.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:88
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...