www.mooseframework.org
VolumetricModel.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef VOLUMETRICMODEL_H
8 #define VOLUMETRICMODEL_H
9 
10 #include "Material.h"
11 
12 class SymmTensor;
13 
14 class VolumetricModel;
15 
16 template <>
17 InputParameters validParams<VolumetricModel>();
18 
19 class VolumetricModel : public Material
20 {
21 public:
22  VolumetricModel(const InputParameters & parameters);
23  virtual ~VolumetricModel();
24 
25  virtual void modifyStrain(const unsigned int qp,
26  const Real scale_factor,
27  SymmTensor & strain_increment,
28  SymmTensor & dstrain_increment_dT) = 0;
29 
30  virtual std::vector<std::string> getDependentMaterialProperties() const
31  {
32  return std::vector<std::string>(1, "");
33  }
34 
35 private:
36  using Material::_qp;
37 };
38 
39 #endif // VOLUMETRICMODEL_H
virtual std::vector< std::string > getDependentMaterialProperties() const
virtual void modifyStrain(const unsigned int qp, const Real scale_factor, SymmTensor &strain_increment, SymmTensor &dstrain_increment_dT)=0
VolumetricModel(const InputParameters &parameters)
InputParameters validParams< VolumetricModel >()
virtual ~VolumetricModel()