https://mooseframework.inl.gov
TestNumericalFlux3EqnBase.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 "TestNumericalFlux1D.h"
13 
15 
20 {
21 public:
23 
24 protected:
25  virtual std::vector<ADReal> computeConservativeSolution(const std::vector<ADReal> & W,
26  const ADReal & A) const override;
27  virtual std::vector<ADReal> computeFluxFromPrimitive(const std::vector<ADReal> & W,
28  const ADReal & A) const override;
29 
34 
36  const UserObjectName _fp_name;
39 };
Base class for testing numerical flux objects for the variable-area compressible Euler equations...
Base class for testing NumericalFlux1D objects.
virtual std::vector< ADReal > computeConservativeSolution(const std::vector< ADReal > &W, const ADReal &A) const override
Computes the conservative solution from the primitive solution.
virtual std::vector< ADReal > computeFluxFromPrimitive(const std::vector< ADReal > &W, const ADReal &A) const override
Computes the 1D flux vector from the primitive solution.
Common class for single phase fluid properties.
const SinglePhaseFluidProperties & _fp
Fluid properties user object.
const UserObjectName _fp_name
Fluid properties user object name.
const SinglePhaseFluidProperties & getFluidPropertiesObject()
Builds and gets the fluid properties user object.