www.mooseframework.org
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 
13 #include "NaNInterface.h"
14 
19 {
20 #pragma GCC diagnostic push
21 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
22 public:
24 
26 
27  virtual Real p_from_v_e(Real v, Real e) const override;
28  virtual void p_from_v_e(Real v, Real e, Real & p, Real & dp_dv, Real & dp_de) const override;
29 
33  std::vector<Real> returnNaNVector() const;
34 };
35 #pragma GCC diagnostic pop
Fluid properties for testing NaNInterface.
NaNInterfaceTestFluidProperties(const InputParameters &parameters)
std::vector< Real > returnNaNVector() const
Returns a NaN vector of size 2.
virtual Real p_from_v_e(Real v, Real e) const override
Common class for single phase fluid properties.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Interface class for producing errors, warnings, or just quiet NaNs.
Definition: NaNInterface.h:22