www.mooseframework.org
BlockDeleter.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 BLOCKDELETER_H
16 #define BLOCKDELETER_H
17 
18 #include "ElementDeleterBase.h"
19 
20 class BlockDeleter;
21 
22 template <>
24 
26 {
27 public:
29 
30 protected:
31  virtual bool shouldDelete(const Elem * elem) override;
32 
33 private:
36 };
37 
38 #endif /* BLOCKDELETER_H */
InputParameters validParams< BlockDeleter >()
Definition: BlockDeleter.C:20
subdomain_id_type SubdomainID
Definition: MooseTypes.h:77
const SubdomainID _block_id
Defines the block to be removed.
Definition: BlockDeleter.h:35
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual bool shouldDelete(const Elem *elem) override
Method that returns a Boolean indicating whether an element should be removed from the mesh...
Definition: BlockDeleter.C:35
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
BlockDeleter(const InputParameters &parameters)
Definition: BlockDeleter.C:29
This class deletes elements from the mesh data structure after it has been generated or read but befo...