https://mooseframework.inl.gov
ParsedElementDeletionGenerator.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 #include "FunctionParserUtils.h"
14 
15 namespace libmesh
16 {
17 class Point;
18 }
19 
25  public FunctionParserUtils<false>
26 {
27 public:
29 
31 
32 protected:
33  virtual bool shouldDelete(const Elem * elem) override;
34 
35 private:
38 };
virtual bool shouldDelete(const Elem *elem) override
Method that returns a Boolean indicating whether an element should be removed from the mesh...
std::shared_ptr< SymFunction > SymFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
This class deletes elements from the mesh data structure after it has been generated or read but befo...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
ParsedElementDeletionGenerator(const InputParameters &parameters)
Deletes elements based on the evaluation of a parsed expression, involving the coordinates of their v...
const InputParameters & parameters() const
Get the parameters of the object.