https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MaterialRealDenseMatrixAux.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
11
13
16{
19 "Populate an auxiliary variable with an entry from a dense matrix material property.");
20 params.addRequiredParam<unsigned int>("row", "The row component to consider for this kernel");
21 params.addRequiredParam<unsigned int>("column",
22 "The column component to consider for this kernel");
23 return params;
24}
25
27 : MaterialAuxBase<DenseMatrix<Real>>(parameters),
28 _row(getParam<unsigned int>("row")),
29 _col(getParam<unsigned int>("column"))
30{
31}
32
33Real
registerMooseObject("MooseApp", MaterialRealDenseMatrixAux)
void ErrorVector unsigned int
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
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.
A base class for the various Material related AuxKernal objects.
Moose::GenericType< T, is_ad > _full_value
T Value evaluated from either the property or the functor.
static InputParameters validParams()
AuxKernel for outputting a DenseMatrix<Real> material property component to an AuxVariable.
virtual Real getRealValue() override
Returns the component of the tensor for output.
MaterialRealDenseMatrixAux(const InputParameters &parameters)
Class constructor.
unsigned int _col
The column index to output.
unsigned int _row
The row index to output.
static InputParameters validParams()