https://mooseframework.inl.gov
fluid_properties
unit
include
CaloricallyImperfectGasTest.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 "
MooseObjectUnitTest.h
"
13
#include "
CaloricallyImperfectGas.h
"
14
#include "
IdealGasFluidProperties.h
"
15
16
class
CaloricallyImperfectGasTest
:
public
MooseObjectUnitTest
17
{
18
public
:
19
CaloricallyImperfectGasTest
() :
MooseObjectUnitTest
(
"FluidPropertiesApp"
) {
buildObjects
(); }
20
21
protected
:
22
void
buildObjects
()
23
{
24
InputParameters
default_fn_params =
_factory
.
getValidParams
(
"ConstantFunction"
);
25
default_fn_params.
set
<
Real
>(
"value"
) = 1.0;
26
_fe_problem
->addFunction(
"ConstantFunction"
,
"default_fn"
, default_fn_params);
27
}
28
};
CaloricallyImperfectGasTest
Definition:
CaloricallyImperfectGasTest.h:16
MooseObjectUnitTest::_fe_problem
std::shared_ptr< FEProblem > _fe_problem
IdealGasFluidProperties.h
MooseObjectUnitTest::_factory
Factory & _factory
InputParameters::set
T & set(const std::string &name, bool quiet_mode=false)
Factory::getValidParams
InputParameters getValidParams(const std::string &name) const
CaloricallyImperfectGas.h
InputParameters
CaloricallyImperfectGasTest::CaloricallyImperfectGasTest
CaloricallyImperfectGasTest()
Definition:
CaloricallyImperfectGasTest.h:19
MooseObjectUnitTest
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
CaloricallyImperfectGasTest::buildObjects
void buildObjects()
Definition:
CaloricallyImperfectGasTest.h:22
MooseObjectUnitTest.h
Generated on Thu Jul 17 2025 01:43:50 for https://mooseframework.inl.gov by
1.8.14