https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
24
25 virtual void computeResidual() override {}
26
27protected:
28 virtual Real computeQpResidual() override;
29 virtual Real computeQpJacobian() override;
30
31private:
32 // The density for scaling the mass matrix
33 const Real _density;
34};
const InputParameters & parameters() const
Computes a finite element mass matrix meant for use in preconditioning schemes which require one.
virtual Real computeQpResidual() override
virtual Real computeQpJacobian() override
static InputParameters validParams()
virtual void computeResidual() override