https://mooseframework.inl.gov
ElementUOAux.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 // Forward Declarations
15 class ElementUOProvider;
16 
21 class ElementUOAux : public AuxKernel
22 {
23 public:
25 
26  ElementUOAux(const InputParameters & params);
27 
28 protected:
29  virtual Real computeValue() override;
30 
32  const std::string _field_name;
33  const std::string _field_type;
34 };
ElementUOAux(const InputParameters &params)
Definition: ElementUOAux.C:35
static InputParameters validParams()
Definition: ElementUOAux.C:16
virtual Real computeValue() override
Compute and return the value of the aux variable.
Definition: ElementUOAux.C:48
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const std::string _field_name
Definition: ElementUOAux.h:32
const ElementUOProvider & _elem_uo
Definition: ElementUOAux.h:31
User object intermediate base class that declares an interface for providing generic fields by name...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This AuxKernel retrieves values from a ElementUOProvider derived class and returns the reported spati...
Definition: ElementUOAux.h:21
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:36
const std::string _field_type
Definition: ElementUOAux.h:33