https://mooseframework.inl.gov
GenericConstant2DArray.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 "Material.h"
13 
17 template <bool is_ad>
19 {
20 public:
22 
24 
25 protected:
26  virtual void initQpStatefulProperties() override;
27  virtual void computeQpProperties() override;
28 
29  std::string _prop_name;
31 
33 };
34 
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const RealEigenMatrix & _prop_value
GenericConstant2DArrayTempl< true > ADGenericConstant2DArray
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
virtual void initQpStatefulProperties() override
Initialize stateful properties at quadrature points.
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
Definition: MooseTypes.h:151
Materials compute MaterialProperties.
Definition: Material.h:34
GenericMaterialProperty< RealEigenMatrix, is_ad > & _property
Template for defining a constant array material property, using automatic differentiation or not...
static InputParameters validParams()
virtual void computeQpProperties() override
Users must override this method.
GenericConstant2DArrayTempl< false > GenericConstant2DArray
GenericConstant2DArrayTempl(const InputParameters &parameters)