www.mooseframework.org
CrackDataSampler.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 
8 #ifndef CRACK_DATA_SAMPLER_H
9 #define CRACK_DATA_SAMPLER_H
10 
11 #include "GeneralVectorPostprocessor.h"
12 #include "CrackFrontDefinition.h"
13 #include "SamplerBase.h"
14 
15 // Forward Declarations
16 class CrackDataSampler;
17 
18 template <>
19 InputParameters validParams<CrackDataSampler>();
20 
26 class CrackDataSampler : public GeneralVectorPostprocessor, public SamplerBase
27 {
28 public:
33  CrackDataSampler(const InputParameters & parameters);
34 
38  virtual ~CrackDataSampler() {}
39 
43  virtual void initialize();
44 
48  virtual void execute();
49 
50  virtual void finalize();
51 
52 protected:
54 
55  MooseEnum _position_type;
56 
58  std::vector<const PostprocessorValue *> _domain_integral_postprocessor_values;
59 };
60 
61 #endif
CrackDataSampler is a type of VectorPostprocessor that outputs the values of domain integrals...
std::vector< const PostprocessorValue * > _domain_integral_postprocessor_values
The vector of PostprocessorValue objects that are used to get the values of the domain integral postp...
virtual ~CrackDataSampler()
Destructor.
CrackDataSampler(const InputParameters &parameters)
Class constructor.
virtual void execute()
Populates the postprocessor vector of values with the supplied postprocessors.
InputParameters validParams< CrackDataSampler >()
const CrackFrontDefinition *const _crack_front_definition
Works on top of NodalNormalsPreprocessor.
virtual void finalize()
virtual void initialize()
Initialize, clears the postprocessor vector.
MooseEnum _position_type