https://mooseframework.inl.gov
SumAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
23 class SumAux : public AuxKernel
24 {
25 public:
27 
28 protected:
29  virtual Real computeValue();
30 
31  const unsigned int _n_values;
32  std::vector<const VariableValue *> _values;
33 
34 public:
36 };
static InputParameters validParams()
Definition: SumAux.C:15
SumAux(const InputParameters &parameters)
Definition: SumAux.C:26
std::vector< const VariableValue * > _values
Definition: SumAux.h:32
Sum of aux variables
Definition: SumAux.h:23
const unsigned int _n_values
Definition: SumAux.h:31
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeValue()
Definition: SumAux.C:34
const InputParameters & parameters() const