www.mooseframework.org
AccumulateAux.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 "AuxKernel.h"
13 
14 // Forward Declarations
15 class AccumulateAux;
16 
17 template <>
18 InputParameters validParams<AccumulateAux>();
19 
23 class AccumulateAux : public AuxKernel
24 {
25 public:
26  static InputParameters validParams();
27 
28  AccumulateAux(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeValue();
32 
33  // coupled variable values to be aggregated
34  std::vector<const VariableValue *> _values;
35 };
validParams< AccumulateAux >
InputParameters validParams< AccumulateAux >()
AccumulateAux::_values
std::vector< const VariableValue * > _values
Definition: AccumulateAux.h:34
AccumulateAux::AccumulateAux
AccumulateAux(const InputParameters &parameters)
Definition: AccumulateAux.C:26
AccumulateAux::computeValue
virtual Real computeValue()
Definition: AccumulateAux.C:34
AccumulateAux
Accumulate values from one auxiliary variable into another.
Definition: AccumulateAux.h:23
AccumulateAux::validParams
static InputParameters validParams()
Definition: AccumulateAux.C:17