www.mooseframework.org
tensor_mechanics
include
bcs
PresetVelocity.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 "DirichletBCBase.h"
13
14
class
PresetVelocity
:
public
DirichletBCBase
15
{
16
public
:
17
static
InputParameters
validParams
();
18
19
PresetVelocity
(
const
InputParameters & parameters);
20
21
protected
:
22
virtual
Real
computeQpValue
();
23
24
const
VariableValue &
_u_old
;
25
const
Real
_velocity
;
26
const
Function &
_function
;
27
};
28
29
template
<>
30
InputParameters
validParams<PresetVelocity>
();
PresetVelocity::PresetVelocity
PresetVelocity(const InputParameters ¶meters)
Definition:
PresetVelocity.C:33
PresetVelocity::validParams
static InputParameters validParams()
Definition:
PresetVelocity.C:18
PresetVelocity
Definition:
PresetVelocity.h:14
PresetVelocity::_u_old
const VariableValue & _u_old
Definition:
PresetVelocity.h:24
PresetVelocity::_velocity
const Real _velocity
Definition:
PresetVelocity.h:25
PresetVelocity::_function
const Function & _function
Definition:
PresetVelocity.h:26
validParams< PresetVelocity >
InputParameters validParams< PresetVelocity >()
PresetVelocity::computeQpValue
virtual Real computeQpValue()
Definition:
PresetVelocity.C:42
Generated on Sat Jan 25 2020 12:04:44 for www.mooseframework.org by
1.8.16