https://mooseframework.inl.gov
ExplicitMassDamping.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 "NodalKernel.h"
13 
14 // Forward Declarations
15 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeQpResidual() override;
28 
30  const Real _eta;
31 
34 
36  const Real & _u_dot_old;
37 
38 private:
44 };
static InputParameters validParams()
const NumericVector< Number > & _mass_matrix_lumped
The lumped mass matrix.
const Real _eta
Damping coefficient.
const InputParameters & parameters() const
virtual Real computeQpResidual() override
const NumericVector< Number > & initLumpedMass()
Initialize the lumped mass matrix.
ExplicitMassDamping(const InputParameters &parameters)
Calculates eta * mass * velocity for use in ExplicitMixedOrder time integration.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _u_dot_old
The old velocity.