www.mooseframework.org
TestNewmarkTI.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 "AuxKernel.h"
13 
14 class TestNewmarkTI;
15 
16 template <>
17 InputParameters validParams<TestNewmarkTI>();
18 
19 class TestNewmarkTI : public AuxKernel
20 {
21 public:
22  static InputParameters validParams();
23 
28  TestNewmarkTI(const InputParameters & parameters);
29 
30  virtual ~TestNewmarkTI() {}
31 
32 protected:
33  virtual Real computeValue();
34 
36  const bool _first;
37 
39  const VariableValue & _value;
40 };
TestNewmarkTI::computeValue
virtual Real computeValue()
Definition: TestNewmarkTI.C:40
TestNewmarkTI::validParams
static InputParameters validParams()
Definition: TestNewmarkTI.C:17
TestNewmarkTI::_value
const VariableValue & _value
Value of the first/second time derivative of dispalcement.
Definition: TestNewmarkTI.h:39
TestNewmarkTI
Definition: TestNewmarkTI.h:19
TestNewmarkTI::~TestNewmarkTI
virtual ~TestNewmarkTI()
Definition: TestNewmarkTI.h:30
TestNewmarkTI::_first
const bool _first
Parameter that decides whether first or second derivative should be stored.
Definition: TestNewmarkTI.h:36
validParams< TestNewmarkTI >
InputParameters validParams< TestNewmarkTI >()
TestNewmarkTI::TestNewmarkTI
TestNewmarkTI(const InputParameters &parameters)
Stores the velocity/acceleration computed using the time integrator into the provided auxvariable.
Definition: TestNewmarkTI.C:32