www.mooseframework.org
ConservedMaskedNoiseBase.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 
13 
14 #include <unordered_map>
15 
16 // Forward Declarations
17 
29 {
30 public:
32 
34 
36 
37  virtual void initialize();
38  virtual void execute();
39  virtual void threadJoin(const UserObject & y);
40  virtual void finalize();
41 
42  Real getQpValue(dof_id_type element_id, unsigned int qp) const;
43 
44 protected:
45  std::unordered_map<dof_id_type, std::vector<std::pair<Real, Real>>> _random_data;
46 
48 };
This Userobject is the base class of Userobjects that generate one random number per timestep and qua...
virtual void threadJoin(const UserObject &y)
std::unordered_map< dof_id_type, std::vector< std::pair< Real, Real > > > _random_data
const std::vector< double > y
const MaterialProperty< Real > & _mask
This Userobject is the base class of Userobjects that generate one random number per timestep and qua...
ConservedMaskedNoiseBase(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real getQpValue(dof_id_type element_id, unsigned int qp) const
const InputParameters & parameters() const
static InputParameters validParams()
uint8_t dof_id_type