https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GenericFunctionRankTwoTensor.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#include "RankTwoTensor.h"
14
18template <bool is_ad>
20{
21public:
23
25
26protected:
27 virtual void initQpStatefulProperties() override;
28 virtual void computeQpProperties() override;
29
31 const std::vector<FunctionName> _function_names;
32 const unsigned int _num_functions;
33 std::vector<const Function *> _functions;
34};
35
GenericFunctionRankTwoTensorTempl< false > GenericFunctionRankTwoTensor
GenericFunctionRankTwoTensorTempl< true > ADGenericFunctionRankTwoTensor
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Declares a function material property of type RankTwoTensor.
const std::vector< FunctionName > _function_names
std::vector< const Function * > _functions
virtual void computeQpProperties() override
Users must override this method.
virtual void initQpStatefulProperties() override
Initialize stateful properties at quadrature points.
GenericMaterialProperty< RankTwoTensor, is_ad > & _prop
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