https://mooseframework.inl.gov
TestSubblockIndexProvider.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 "SubblockIndexProvider.h"
13 #include "GeneralUserObject.h"
14 
21 {
22 public:
24 
26 
27  virtual void initialize() override{};
28  virtual void execute() override{};
29  virtual void finalize() override{};
33  virtual unsigned int getSubblockIndex(const Elem & /* elem */) const override;
34 
38  virtual unsigned int getMaxSubblockIndex() const override;
39 };
virtual void initialize() override
Abstract base class for user objects that provide an index for a given element that is independent of...
virtual void finalize() override
virtual unsigned int getMaxSubblockIndex() const override
The max index of subblock.
virtual void execute() override
TestSubblockIndexProvider(const InputParameters &params)
A class used to set the subblock index for testing generalized plane strain calculations when more th...
virtual unsigned int getSubblockIndex(const Elem &) const override
The index of subblock this element is on.
static InputParameters validParams()