www.mooseframework.org
ElasticEnergyAux.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 "AuxKernel.h"
13 #include "RankTwoTensor.h"
14 
15 // Forward declarations
16 
18 {
19 public:
21 
23  virtual ~ElasticEnergyAux() {}
24 
25 protected:
26  virtual Real computeValue();
27 
29  const std::string _base_name;
30 
34 };
ElasticEnergyAux(const InputParameters &parameters)
static InputParameters validParams()
virtual Real computeValue()
const MaterialProperty< RankTwoTensor > & _stress
The stress tensor.
virtual ~ElasticEnergyAux()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< RankTwoTensor > & _elastic_strain
const InputParameters & parameters() const
const std::string _base_name
Base name of the material system used to calculate the elastic energy.