https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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"
15
20template <typename T>
22{
23public:
25
27
28 virtual void computeQpProperties() override;
29
30protected:
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
58extern template class InterpolatedStatefulMaterialTempl<Real>;
InterpolatedStatefulMaterialTempl< RankFourTensor > InterpolatedStatefulMaterialRankFourTensor
InterpolatedStatefulMaterialTempl< RankTwoTensor > InterpolatedStatefulMaterialRankTwoTensor
InterpolatedStatefulMaterialTempl< Real > InterpolatedStatefulMaterialReal
InterpolatedStatefulMaterialTempl< RealVectorValue > InterpolatedStatefulMaterialRealVectorValue
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Reconstitute a materal property from the old and older states of projected AuxVariables.
const std::vector< const VariableValue * > _old_state
Old projected state.
MaterialProperty< T > & _prop_old
Old interpolated property.
MaterialProperty< T > & _prop_older
Older interpolated properties.
const std::vector< const VariableValue * > _older_state
Older projected state.
const MaterialPropertyName _prop_name
emitted property name
virtual void computeQpProperties() override
Users must override this method.
const std::size_t _size
Total number of components (e.g. 1 for Real, LIBMESH_DIM for RealVectorValue, LIBMESH_DIM^2 for RankT...
Materials compute MaterialProperties.
Definition Material.h:36
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131