www.mooseframework.org
Mass.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
17 template <bool is_ad>
19 {
20 public:
22 
24 
25 protected:
26  virtual Real computeQpIntegral();
28 };
29 
MassTempl(const InputParameters &parameters)
Definition: Mass.C:31
virtual Real computeQpIntegral()
Definition: Mass.C:39
MassTempl< true > ADMass
Definition: Mass.h:31
const GenericMaterialProperty< Real, is_ad > & _density
Definition: Mass.h:27
static InputParameters validParams()
Definition: Mass.C:23
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
MassTempl< false > Mass
Definition: Mass.h:30
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
This postprocessor computes the mass by integrating the density over the volume.
Definition: Mass.h:18