www.mooseframework.org
PresetVelocity.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 PRESETVELOCITY_H
8 #define PRESETVELOCITY_H
9 
10 #include "PresetNodalBC.h"
11 
12 class PresetVelocity : public PresetNodalBC
13 {
14 public:
15  PresetVelocity(const InputParameters & parameters);
16 
17 protected:
18  virtual Real computeQpValue();
19 
20  const VariableValue & _u_old;
21  const Real _velocity;
22  Function & _function;
23 };
24 
25 template <>
26 InputParameters validParams<PresetVelocity>();
27 
28 #endif /* PRESETVELOCITY_H */
Function & _function
InputParameters validParams< PresetVelocity >()
virtual Real computeQpValue()
const VariableValue & _u_old
PresetVelocity(const InputParameters &parameters)
const Real _velocity