Skip to content
Snippets Groups Projects
Commit 29958892 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

Merge branch 'cleanup/frac-ex-streamline-param-names' into 'master'

[ex][fractures] streamline parameter names

See merge request !163
parents 6ac338b1 265842dc
No related branches found
No related tags found
1 merge request!163[ex][fractures] streamline parameter names
Pipeline #30376 passed
...@@ -70,7 +70,7 @@ public: ...@@ -70,7 +70,7 @@ public:
: ParentType(gridGeometry) : ParentType(gridGeometry)
, gridDataPtr_(gridData) , gridDataPtr_(gridData)
, pcKrSwCurve_("Fracture.SpatialParams") , pcKrSwCurve_("Fracture.SpatialParams")
, barrierPcKrSwCurve_("Fracture.SpatialParams.Barrier") , pcKrSwCurveBarrier_("Fracture.SpatialParams.Barrier")
{ {
porosity_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.Porosity"); porosity_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.Porosity");
porosityBarrier_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.PorosityBarrier"); porosityBarrier_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.PorosityBarrier");
...@@ -159,7 +159,7 @@ private: ...@@ -159,7 +159,7 @@ private:
PermeabilityType permeability_; PermeabilityType permeability_;
PermeabilityType permeabilityBarrier_; PermeabilityType permeabilityBarrier_;
const PcKrSwCurve pcKrSwCurve_; const PcKrSwCurve pcKrSwCurve_;
const PcKrSwCurve barrierPcKrSwCurve_; const PcKrSwCurve pcKrSwCurveBarrier_;
}; };
} // end namespace Dumux } // end namespace Dumux
......
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
, isExercisePartB_(getParamFromGroup<bool>(paramGroup, "Problem.IsExercisePartB")) , isExercisePartB_(getParamFromGroup<bool>(paramGroup, "Problem.IsExercisePartB"))
, isExercisePartC_(getParamFromGroup<bool>(paramGroup, "Problem.IsExercisePartC")) , isExercisePartC_(getParamFromGroup<bool>(paramGroup, "Problem.IsExercisePartC"))
, pcKrSwCurve_("Fracture.SpatialParams") , pcKrSwCurve_("Fracture.SpatialParams")
, barrierPcKrSwCurve_("Fracture.SpatialParams.Barrier") , PcKrSwCurveBarrier_("Fracture.SpatialParams.Barrier")
{ {
porosity_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.Porosity"); porosity_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.Porosity");
porosityBarrier_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.PorosityBarrier"); porosityBarrier_ = getParamFromGroup<Scalar>(paramGroup, "SpatialParams.PorosityBarrier");
...@@ -149,13 +149,13 @@ public: ...@@ -149,13 +149,13 @@ public:
// in exercise part b always return the barrier parameters // in exercise part b always return the barrier parameters
else if (isExercisePartB_) else if (isExercisePartB_)
return makeFluidMatrixInteraction(barrierPcKrSwCurve_); return makeFluidMatrixInteraction(PcKrSwCurveBarrier_);
// in exercise part 3 return parameters depending on domain marker // in exercise part 3 return parameters depending on domain marker
else else
{ {
if (getElementDomainMarker(element) == barriersDomainMarker) if (getElementDomainMarker(element) == barriersDomainMarker)
return makeFluidMatrixInteraction(barrierPcKrSwCurve_); return makeFluidMatrixInteraction(PcKrSwCurveBarrier_);
else else
return makeFluidMatrixInteraction(pcKrSwCurve_); return makeFluidMatrixInteraction(pcKrSwCurve_);
} }
...@@ -201,7 +201,7 @@ private: ...@@ -201,7 +201,7 @@ private:
bool isExercisePartC_; bool isExercisePartC_;
const PcKrSwCurve pcKrSwCurve_; const PcKrSwCurve pcKrSwCurve_;
const PcKrSwCurve barrierPcKrSwCurve_; const PcKrSwCurve PcKrSwCurveBarrier_;
Scalar porosity_; Scalar porosity_;
Scalar porosityBarrier_; Scalar porosityBarrier_;
......
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