www.mooseframework.org
PresetDisplacement.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 PRESETDISPLACEMENT_H
8 #define PRESETDISPLACEMENT_H
9 
10 #include "PresetNodalBC.h"
11 #include "Function.h"
12 
20 class PresetDisplacement : public PresetNodalBC
21 {
22 public:
23  PresetDisplacement(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpValue();
27 
28  const VariableValue & _u_old;
29  const Real _scale_factor;
30  Function & _function;
31  const VariableValue & _vel_old;
32  const VariableValue & _accel_old;
33  const Real _beta;
34 };
35 
36 template <>
37 InputParameters validParams<PresetDisplacement>();
38 
39 #endif /* PRESETDISPLACEMENT_H */
PresetDisplacement(const InputParameters &parameters)
InputParameters validParams< PresetDisplacement >()
const VariableValue & _accel_old
const VariableValue & _u_old
This class applies a displacement time history on a given boundary in a given direction.
const VariableValue & _vel_old
virtual Real computeQpValue()