31 const std::string class_name =
"NumericalFluxGasMixHLLC";
32 const std::string flux_mix_name =
"flux_mix";
35 _fe_problem->addUserObject(class_name, flux_mix_name, params);
40 std::vector<std::pair<std::vector<ADReal>, std::vector<ADReal>>>
69 std::vector<std::pair<std::vector<ADReal>, std::vector<ADReal>>> W_pairs;
70 W_pairs.push_back(std::pair<std::vector<ADReal>, std::vector<ADReal>>(W1, W2));
71 W_pairs.push_back(std::pair<std::vector<ADReal>, std::vector<ADReal>>(W3, W4));
76 std::vector<std::vector<ADReal>>
85 std::vector<std::vector<ADReal>> W_list;
std::shared_ptr< FEProblem > _fe_problem
Abstract base class for computing and caching internal or boundary fluxes for 1D conservation law sys...
static const unsigned int N_PRIM_VARS
InputParameters getValidParams(const std::string &name) const
virtual const NumericalFlux1D & createFluxObject() override
Creates the flux object to be tested.
Tests NumericalFluxGasMixHLLC.
const UserObjectName _fp_mix_name
Mixture fluid properties name.
TEST_F(TestNumericalFluxGasMixHLLC, testSymmetry)
Computes the numerical flux for FlowModelGasMix using the HLLC approximate Riemann solver...
virtual std::vector< std::pair< std::vector< ADReal >, std::vector< ADReal > > > getPrimitiveSolutionsSymmetryTest() const override
Gets a vector of pairs of primitive solution vectors to use for symmetry test.
Base class for testing NumericalFluxGasMix objects.
TestNumericalFluxGasMixHLLC()
virtual std::vector< std::vector< ADReal > > getPrimitiveSolutionsConsistencyTest() const override
Gets a vector of primitive solution vectors to use for consistency test.