www.mooseframework.org
TestMatTimeDerivative.C
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 #include "TestMatTimeDerivative.h"
11 
13 
16 {
18  params.addRequiredParam<MaterialPropertyName>("mat_prop_value",
19  "Material "
20  "property to multiply by time "
21  "derivative");
22  return params;
23 }
24 
26  : TimeDerivative(parameters), _mat_prop_value(getMaterialProperty<Real>("mat_prop_value"))
27 {
28 }
29 
30 Real
32 {
34 }
35 
36 Real
38 {
40 }
virtual Real computeQpResidual() override
registerMooseObject("XFEMTestApp", TestMatTimeDerivative)
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
virtual Real computeQpJacobian() override
static InputParameters validParams()
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _mat_prop_value
unsigned int _qp
TestMatTimeDerivative(const InputParameters &parameters)