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