www.mooseframework.org
fluid_properties
test
include
userobjects
NaNInterfaceTestFluidProperties.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
12
#include "
SinglePhaseFluidProperties.h
"
13
#include "
NaNInterface.h
"
14
15
class
NaNInterfaceTestFluidProperties
;
16
17
template
<>
18
InputParameters
validParams<NaNInterfaceTestFluidProperties>
();
19
23
class
NaNInterfaceTestFluidProperties
:
public
SinglePhaseFluidProperties
,
public
NaNInterface
24
{
25
#pragma GCC diagnostic push
26
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
27
public
:
28
NaNInterfaceTestFluidProperties
(
const
InputParameters & parameters);
29
30
virtual
Real
p_from_v_e
(Real
v
, Real e)
const override
;
31
virtual
void
p_from_v_e
(Real
v
, Real e, Real &
p
, Real & dp_dv, Real & dp_de)
const override
;
32
};
33
#pragma GCC diagnostic pop
SinglePhaseFluidProperties
Common class for single phase fluid properties.
Definition:
SinglePhaseFluidProperties.h:89
NaNInterfaceTestFluidProperties
Fluid properties for testing NaNInterface.
Definition:
NaNInterfaceTestFluidProperties.h:23
SinglePhaseFluidProperties::v
v
Definition:
SinglePhaseFluidProperties.h:155
SinglePhaseFluidProperties.h
NaNInterfaceTestFluidProperties::p_from_v_e
virtual Real p_from_v_e(Real v, Real e) const override
Definition:
NaNInterfaceTestFluidProperties.C:32
validParams< NaNInterfaceTestFluidProperties >
InputParameters validParams< NaNInterfaceTestFluidProperties >()
Definition:
NaNInterfaceTestFluidProperties.C:16
NaNInterface
Interface class for producing errors, warnings, or just quiet NaNs.
Definition:
NaNInterface.h:27
NaNInterface.h
SinglePhaseFluidProperties::p
e e e e p h p
Definition:
SinglePhaseFluidProperties.h:167
NaNInterfaceTestFluidProperties::NaNInterfaceTestFluidProperties
NaNInterfaceTestFluidProperties(const InputParameters ¶meters)
Definition:
NaNInterfaceTestFluidProperties.C:26
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16