www.mooseframework.org
tensor_mechanics
include
auxkernels
RankTwoAux.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 "NodalPatchRecovery.h"
13
#include "RankTwoTensor.h"
14
15
class
RankTwoAux
;
16
23
template
<>
24
InputParameters
validParams<RankTwoAux>
();
25
26
class
RankTwoAux
:
public
NodalPatchRecovery
27
{
28
public
:
29
static
InputParameters
validParams
();
30
31
RankTwoAux
(
const
InputParameters & parameters);
32
33
protected
:
34
virtual
Real
computeValue
();
35
36
private
:
37
const
MaterialProperty<RankTwoTensor> &
_tensor
;
38
const
unsigned
int
_i
;
39
const
unsigned
int
_j
;
40
42
const
bool
_has_selected_qp
;
43
45
const
unsigned
int
_selected_qp
;
46
};
RankTwoAux::_tensor
const MaterialProperty< RankTwoTensor > & _tensor
Definition:
RankTwoAux.h:37
RankTwoAux::RankTwoAux
RankTwoAux(const InputParameters ¶meters)
Definition:
RankTwoAux.C:37
RankTwoAux::_selected_qp
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.
Definition:
RankTwoAux.h:45
validParams< RankTwoAux >
InputParameters validParams< RankTwoAux >()
RankTwoAux is designed to take the data in the RankTwoTensor material property, for example stress or...
RankTwoAux::_j
const unsigned int _j
Definition:
RankTwoAux.h:39
RankTwoAux
Definition:
RankTwoAux.h:26
RankTwoAux::_i
const unsigned int _i
Definition:
RankTwoAux.h:38
RankTwoAux::validParams
static InputParameters validParams()
Definition:
RankTwoAux.C:18
RankTwoAux::_has_selected_qp
const bool _has_selected_qp
whether or not selected_qp has been set
Definition:
RankTwoAux.h:42
RankTwoAux::computeValue
virtual Real computeValue()
Definition:
RankTwoAux.C:48
Generated on Sat Jan 25 2020 12:04:44 for www.mooseframework.org by
1.8.16