https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
21public:
23
25
26protected:
27 virtual Real computeQpResidual() override;
28
30 const Real _eta;
31
33 const NumericVector<Number> & _mass_matrix_lumped;
34
36 const Real & _u_dot_old;
37
38private:
43 const NumericVector<Number> & initLumpedMass();
44};
Calculates eta * mass * velocity for use in ExplicitMixedOrder time integration.
static InputParameters validParams()
const Real & _u_dot_old
The old velocity.
const NumericVector< Number > & _mass_matrix_lumped
The lumped mass matrix.
const NumericVector< Number > & initLumpedMass()
Initialize the lumped mass matrix.
const Real _eta
Damping coefficient.
virtual Real computeQpResidual() override
const InputParameters & parameters() const