https://mooseframework.inl.gov
MaterialRealAux.C
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 #include "MaterialRealAux.h"
11 
16 
17 template <bool is_ad, bool is_functor>
20 {
22  params.addClassDescription("Outputs element volume-averaged material properties");
23  return params;
24 }
25 
26 template <bool is_ad, bool is_functor>
28  : MaterialAuxBaseTempl<Real, is_ad, is_functor>(parameters)
29 {
30 }
31 
32 template <bool is_ad, bool is_functor>
33 Real
35 {
36  return MetaPhysicL::raw_value(this->_full_value);
37 }
38 
Object for passing a scalar, REAL material property to an AuxVariable.
static InputParameters validParams()
A base class for the various Material related AuxKernal objects.
auto raw_value(const Eigen::Map< T > &in)
Definition: EigenADReal.h:73
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
MaterialRealAuxTempl(const InputParameters &parameters)
Class constructor.
registerMooseObject("MooseApp", MaterialRealAux)
Real getRealValue() override
Returns the material property values at quadrature points.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
static InputParameters validParams()