Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
MeshDivisionAux.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 "AuxKernel.h"
13 
14 class MeshDivision;
15 
19 class MeshDivisionAux : public AuxKernel
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeValue() override;
28 
32  const int _invalid_bin_value;
33 };
Returns the index of the mesh division for each element / node.
const int _invalid_bin_value
Number to use for the invalid value.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for MeshDivision objects.
Definition: MeshDivision.h:35
const MeshDivision & _mesh_division
Mesh division to evaluate.
virtual Real computeValue() override
Compute and return the value of the aux variable.
MeshDivisionAux(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()