https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Mass.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
13
17template <bool is_ad>
19{
20public:
22
24
25protected:
26 virtual Real computeQpIntegral();
28};
29
MassTempl< true > ADMass
Definition Mass.h:31
MassTempl< false > Mass
Definition Mass.h:30
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
This postprocessor computes the mass by integrating the density over the volume.
Definition Mass.h:19
virtual Real computeQpIntegral()
Definition Mass.C:41
const GenericMaterialProperty< Real, is_ad > & _density
Definition Mass.h:27
static InputParameters validParams()
Definition Mass.C:23
const InputParameters & parameters() const