https://mooseframework.inl.gov
PlaneDeletionGenerator.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 
13 
14 namespace libmesh
15 {
16 class Point;
17 }
18 
23 {
24 public:
26 
28 
29 protected:
30  virtual bool shouldDelete(const Elem * elem) override;
31 
32 private:
34  const Point & _point;
35 
38 };
RealVectorValue _normal
Normal vector.
const Point & _point
Point defining the plane.
This class deletes elements from the mesh data structure after it has been generated or read but befo...
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:127
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
PlaneDeletionGenerator(const InputParameters &parameters)
static InputParameters validParams()
Deletes elements lying above a plane.
virtual bool shouldDelete(const Elem *elem) override
Method that returns a Boolean indicating whether an element should be removed from the mesh...