www.mooseframework.org
tensor_mechanics
include
auxkernels
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
class
ElasticEnergyAux
;
17
18
template
<>
19
InputParameters
validParams<ElasticEnergyAux>
();
20
21
class
ElasticEnergyAux
:
public
AuxKernel
22
{
23
public
:
24
static
InputParameters
validParams
();
25
26
ElasticEnergyAux
(
const
InputParameters & parameters);
27
virtual
~ElasticEnergyAux
() {}
28
29
protected
:
30
virtual
Real
computeValue
();
31
32
const
std::string
_base_name
;
33
34
const
MaterialProperty<RankTwoTensor> &
_stress
;
35
const
MaterialProperty<RankTwoTensor> &
_elastic_strain
;
36
};
ElasticEnergyAux::_base_name
const std::string _base_name
Definition:
ElasticEnergyAux.h:32
ElasticEnergyAux::_stress
const MaterialProperty< RankTwoTensor > & _stress
Definition:
ElasticEnergyAux.h:34
ElasticEnergyAux::ElasticEnergyAux
ElasticEnergyAux(const InputParameters ¶meters)
Definition:
ElasticEnergyAux.C:25
ElasticEnergyAux::_elastic_strain
const MaterialProperty< RankTwoTensor > & _elastic_strain
Definition:
ElasticEnergyAux.h:35
ElasticEnergyAux::validParams
static InputParameters validParams()
Definition:
ElasticEnergyAux.C:17
ElasticEnergyAux::computeValue
virtual Real computeValue()
Definition:
ElasticEnergyAux.C:34
validParams< ElasticEnergyAux >
InputParameters validParams< ElasticEnergyAux >()
ElasticEnergyAux
Definition:
ElasticEnergyAux.h:21
ElasticEnergyAux::~ElasticEnergyAux
virtual ~ElasticEnergyAux()
Definition:
ElasticEnergyAux.h:27
Generated on Sat Jan 25 2020 12:04:44 for www.mooseframework.org by
1.8.16