www.mooseframework.org
ComputeExtraStressBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
20 {
21 public:
23 
25 
26 protected:
27  virtual void computeQpProperties();
28  virtual void computeQpExtraStress() = 0;
29 
31  const std::string _base_name;
32  std::string _extra_stress_name;
33 
35 };
ComputeExtraStressBase is the base class for extra_stress, which is added to stress calculated by the...
ComputeExtraStressBase(const InputParameters &parameters)
virtual void computeQpExtraStress()=0
static InputParameters validParams()
MaterialProperty< RankTwoTensor > & _extra_stress
const InputParameters & parameters() const
const std::string _base_name
Base name of the material system.