www.mooseframework.org
PlaneDeletionGenerator.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 // Forward declarations
16 
17 namespace libmesh
18 {
19 class Point;
20 }
21 
22 template <>
24 
29 {
30 public:
32 
34 
35 protected:
36  virtual bool shouldDelete(const Elem * elem) override;
37 
38 private:
40  const Point & _point;
41 
44 };
libmesh
Definition: PlaneDeletionGenerator.h:17
PlaneDeletionGenerator::validParams
static InputParameters validParams()
Definition: PlaneDeletionGenerator.C:21
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
libMesh::RealVectorValue
VectorValue< Real > RealVectorValue
Definition: Assembly.h:30
ElementDeletionGeneratorBase
This class deletes elements from the mesh data structure after it has been generated or read but befo...
Definition: ElementDeletionGeneratorBase.h:27
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
PlaneDeletionGenerator::_normal
RealVectorValue _normal
Normal vector.
Definition: PlaneDeletionGenerator.h:43
PlaneDeletionGenerator
Deletes elements lying above a plane.
Definition: PlaneDeletionGenerator.h:28
PlaneDeletionGenerator::PlaneDeletionGenerator
PlaneDeletionGenerator(const InputParameters &parameters)
Definition: PlaneDeletionGenerator.C:34
ElementDeletionGeneratorBase.h
PlaneDeletionGenerator::_point
const Point & _point
Point defining the plane.
Definition: PlaneDeletionGenerator.h:40
validParams< PlaneDeletionGenerator >
InputParameters validParams< PlaneDeletionGenerator >()
PlaneDeletionGenerator::shouldDelete
virtual bool shouldDelete(const Elem *elem) override
Method that returns a Boolean indicating whether an element should be removed from the mesh.
Definition: PlaneDeletionGenerator.C:47