www.mooseframework.org
GrainTextureVectorPostprocessor.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 GRAINTEXTUREVECTORPOSTPROCESSOR
8 #define GRAINTEXTUREVECTORPOSTPROCESSOR
9 
10 #include "ElementVectorPostprocessor.h"
11 #include "SamplerBase.h"
12 
13 // Forward declarations
14 class EulerAngleProvider;
16 
17 template <>
19 
25 class GrainTextureVectorPostprocessor : public ElementVectorPostprocessor, protected SamplerBase
26 {
27 public:
28  GrainTextureVectorPostprocessor(const InputParameters & parameters);
29  virtual void initialize();
30  virtual void execute();
31  using SamplerBase::threadJoin;
32  virtual void threadJoin(const UserObject & uo);
33  virtual void finalize();
34 
35 protected:
37  const VariableValue & _unique_grains;
38  const unsigned int _grain_num;
39  std::vector<Real> _sample;
40 };
41 
42 #endif // GRAINTEXTUREVECTORPOSTPROCESSOR_H
GrainTextureVectorPostprocessor is a VectorPostprocessor that outputs the the coordinates, grain number, and Euler Angles associated with each element.
virtual void threadJoin(const UserObject &uo)
InputParameters validParams< GrainTextureVectorPostprocessor >()
GrainTextureVectorPostprocessor(const InputParameters &parameters)
Abstract base class for user objects that implement the Euler Angle provider interface.