www.mooseframework.org
GrainTrackerElasticity.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 "GrainDataTracker.h"
13 #include "RankFourTensor.h"
14 
16 class EulerAngleProvider;
17 
18 template <>
19 InputParameters validParams<GrainTrackerElasticity>();
20 
24 class GrainTrackerElasticity : public GrainDataTracker<RankFourTensor>
25 {
26 public:
27  GrainTrackerElasticity(const InputParameters & parameters);
28 
29 protected:
30  RankFourTensor newGrain(unsigned int new_grain_id);
31 
33  const bool _random_rotations;
34 
37 
40 };
41 
GrainTrackerElasticity::_random_rotations
const bool _random_rotations
generate random rotations when the Euler Angle provider runs out of data (otherwise error out)
Definition: GrainTrackerElasticity.h:33
GrainDataTracker
GrainTracker derived class template to base objects on which maintain physical parameters for individ...
Definition: GrainDataTracker.h:19
GrainTrackerElasticity
Manage a list of elasticity tensors for the grains.
Definition: GrainTrackerElasticity.h:24
EulerAngleProvider
Abstract base class for user objects that implement the Euler Angle provider interface.
Definition: EulerAngleProvider.h:24
GrainTrackerElasticity::newGrain
RankFourTensor newGrain(unsigned int new_grain_id)
implement this method to initialize the data for the new grain
Definition: GrainTrackerElasticity.C:44
GrainTrackerElasticity::_euler
const EulerAngleProvider & _euler
object providing the Euler angles
Definition: GrainTrackerElasticity.h:39
GrainDataTracker.h
RankFourTensorTempl< Real >
GrainTrackerElasticity::_C_ijkl
RankFourTensor _C_ijkl
unrotated elasticity tensor
Definition: GrainTrackerElasticity.h:36
validParams< GrainTrackerElasticity >
InputParameters validParams< GrainTrackerElasticity >()
Definition: GrainTrackerElasticity.C:18
GrainTrackerElasticity::GrainTrackerElasticity
GrainTrackerElasticity(const InputParameters &parameters)
Definition: GrainTrackerElasticity.C:34