www.mooseframework.org
MaterialTensorAux.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"
14 
15 class MaterialTensorAux;
16 class SymmTensor;
17 
18 template <>
19 InputParameters validParams<MaterialTensorAux>();
20 
21 class MaterialTensorAux : public AuxKernel
22 {
23 public:
24  MaterialTensorAux(const InputParameters & parameters);
25 
26  virtual ~MaterialTensorAux() {}
27 
28 protected:
29  virtual Real computeValue();
30 
32  const MaterialProperty<SymmTensor> & _tensor;
33 
34  const bool _has_qp_select;
35  const unsigned int _qp_select;
36 };
37 
MaterialTensorAux::_tensor
const MaterialProperty< SymmTensor > & _tensor
Definition: MaterialTensorAux.h:32
MaterialTensorAux::_has_qp_select
const bool _has_qp_select
Definition: MaterialTensorAux.h:34
MaterialTensorCalculator.h
MaterialTensorAux::_qp_select
const unsigned int _qp_select
Definition: MaterialTensorAux.h:35
MaterialTensorAux::_material_tensor_calculator
MaterialTensorCalculator _material_tensor_calculator
Definition: MaterialTensorAux.h:31
MaterialTensorAux::MaterialTensorAux
MaterialTensorAux(const InputParameters &parameters)
Definition: MaterialTensorAux.C:28
MaterialTensorAux::~MaterialTensorAux
virtual ~MaterialTensorAux()
Definition: MaterialTensorAux.h:26
MaterialTensorCalculator
Definition: MaterialTensorCalculator.h:24
MaterialTensorAux::computeValue
virtual Real computeValue()
Definition: MaterialTensorAux.C:38
SymmTensor
Definition: SymmTensor.h:21
validParams< MaterialTensorAux >
InputParameters validParams< MaterialTensorAux >()
Definition: MaterialTensorAux.C:17
MaterialTensorAux
Definition: MaterialTensorAux.h:21