www.mooseframework.org
NewmarkVelAux.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 NEWMARKVELAUX_H
8 #define NEWMARKVELAUX_H
9 
10 #include "AuxKernel.h"
11 
12 class NewmarkVelAux;
13 
14 template <>
15 InputParameters validParams<NewmarkVelAux>();
16 
17 class NewmarkVelAux : public AuxKernel
18 {
19 public:
23  NewmarkVelAux(const InputParameters & parameters);
24 
25  virtual ~NewmarkVelAux() {}
26 
27 protected:
28  virtual Real computeValue();
29 
30  const VariableValue & _accel_old;
31  const VariableValue & _accel;
32  Real _gamma;
33 };
34 
35 #endif // NEWMARKVELAUX_H
virtual ~NewmarkVelAux()
Definition: NewmarkVelAux.h:25
NewmarkVelAux(const InputParameters &parameters)
Calcualtes velocity using Newmark time integration scheme.
Definition: NewmarkVelAux.C:19
InputParameters validParams< NewmarkVelAux >()
Definition: NewmarkVelAux.C:11
const VariableValue & _accel_old
Definition: NewmarkVelAux.h:30
virtual Real computeValue()
Definition: NewmarkVelAux.C:28
const VariableValue & _accel
Definition: NewmarkVelAux.h:31