www.mooseframework.org
PhaseNormalTensor.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef PHASENORMALTENSOR_H
8 #define PHASENORMALTENSOR_H
9 
10 #include "Material.h"
11 #include "DerivativeMaterialInterface.h"
12 #include "RankTwoTensor.h"
13 
14 class PhaseNormalTensor;
15 
16 template <>
17 InputParameters validParams<PhaseNormalTensor>();
18 
22 class PhaseNormalTensor : public DerivativeMaterialInterface<Material>
23 {
24 public:
25  PhaseNormalTensor(const InputParameters & parameters);
26 
27 protected:
28  virtual void initQpStatefulProperties();
29  virtual void computeQpProperties();
30 
31  const VariableGradient & _grad_u;
32  MaterialProperty<RankTwoTensor> & _normal_tensor;
33 };
34 
35 #endif
const VariableGradient & _grad_u
MaterialProperty< RankTwoTensor > & _normal_tensor
Calculate phase normal tensor based on gradient.
PhaseNormalTensor(const InputParameters &parameters)
InputParameters validParams< PhaseNormalTensor >()
virtual void computeQpProperties()
virtual void initQpStatefulProperties()