https://mooseframework.inl.gov
InterpolatedStatefulMaterial.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 "RankTwoTensorForward.h"
14 #include "RankFourTensorForward.h"
15 
20 template <typename T>
22 {
23 public:
25 
27 
28  virtual void computeQpProperties() override;
29 
30 protected:
32  const std::vector<const VariableValue *> _old_state;
33 
35  const std::vector<const VariableValue *> _older_state;
36 
38  const std::size_t _size;
39 
41  const MaterialPropertyName _prop_name;
42 
45 
48 };
49 
56 
57 // Prevent implicit instantiation in other translation units where these classes are used
58 extern template class InterpolatedStatefulMaterialTempl<Real>;
InterpolatedStatefulMaterialTempl< RankFourTensor > InterpolatedStatefulMaterialRankFourTensor
MaterialProperty< T > & _prop_older
Older interpolated properties.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const MaterialPropertyName _prop_name
emitted property name
const std::size_t _size
Total number of components (e.g. 1 for Real, LIBMESH_DIM for RealVectorValue, LIBMESH_DIM^2 for RankT...
InterpolatedStatefulMaterialTempl< RankTwoTensor > InterpolatedStatefulMaterialRankTwoTensor
InterpolatedStatefulMaterialTempl< RealVectorValue > InterpolatedStatefulMaterialRealVectorValue
Materials compute MaterialProperties.
Definition: Material.h:34
InterpolatedStatefulMaterialTempl< Real > InterpolatedStatefulMaterialReal
MaterialProperty< T > & _prop_old
Old interpolated property.
const InputParameters & parameters() const
Get the parameters of the object.
virtual void computeQpProperties() override
Users must override this method.
const std::vector< const VariableValue * > _old_state
Old projected state.
InterpolatedStatefulMaterialTempl(const InputParameters &parameters)
Reconstitute a materal property from the old and older states of projected AuxVariables.
const std::vector< const VariableValue * > _older_state
Older projected state.