Skip to content
Snippets Groups Projects
Commit f631e99e authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL/HHprho] Remove unused 'parameters' argument

parent 29354a6f
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,6 @@
#include "MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/PropertyVector.h"
#include "ParameterLib/Parameter.h"
#include "ParameterLib/SpatialPosition.h"
#include "TwoPhaseFlowWithPrhoMaterialProperties.h"
namespace ProcessLib
......@@ -32,8 +30,7 @@ namespace TwoPhaseFlowWithPrho
std::unique_ptr<TwoPhaseFlowWithPrhoMaterialProperties>
createTwoPhaseFlowPrhoMaterialProperties(
BaseLib::ConfigTree const& config,
MeshLib::PropertyVector<int> const* const material_ids,
std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters)
MeshLib::PropertyVector<int> const* const material_ids)
{
DBUG("Reading material properties of two-phase flow process.");
......
......@@ -25,9 +25,7 @@ namespace TwoPhaseFlowWithPrho
std::unique_ptr<TwoPhaseFlowWithPrhoMaterialProperties>
createTwoPhaseFlowPrhoMaterialProperties(
BaseLib::ConfigTree const& config,
MeshLib::PropertyVector<int> const* material_ids,
std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
parameters);
MeshLib::PropertyVector<int> const* material_ids);
} // namespace TwoPhaseFlowWithPrho
} // namespace ProcessLib
......@@ -105,8 +105,7 @@ std::unique_ptr<Process> createTwoPhaseFlowWithPrhoProcess(
MaterialPropertyLib::createMaterialSpatialDistributionMap(media, mesh);
std::unique_ptr<TwoPhaseFlowWithPrhoMaterialProperties> material =
createTwoPhaseFlowPrhoMaterialProperties(mat_config, material_ids,
parameters);
createTwoPhaseFlowPrhoMaterialProperties(mat_config, material_ids);
TwoPhaseFlowWithPrhoProcessData process_data{
specific_body_force, has_gravity, mass_lumping,
......
......@@ -20,6 +20,7 @@
#include "MaterialLib/PorousMedium/UnsaturatedProperty/RelativePermeability/CreateRelativePermeabilityModel.h"
#include "MaterialLib/PorousMedium/UnsaturatedProperty/RelativePermeability/RelativePermeability.h"
#include "MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.h"
#include "ParameterLib/SpatialPosition.h"
namespace MeshLib
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment