https://mooseframework.inl.gov
VectorMassMatrix.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 "VectorKernel.h"
13 #include "MooseFunctor.h"
14 
19 {
20 public:
22 
24 
25  virtual void computeResidual() override {}
26 
27 protected:
28  virtual Real computeQpResidual() override;
29  virtual Real computeQpJacobian() override;
30 
31 private:
32  // The density for scaling the mass matrix
33  const Real _density;
34 };
VectorMassMatrix(const InputParameters &parameters)
virtual Real computeQpJacobian() override
Computes a finite element mass matrix meant for use in preconditioning schemes which require one...
static InputParameters validParams()
virtual Real computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual void computeResidual() override