mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-01 17:03:06 -06:00
removing some unused functions in blackoilprimaryvariables
This commit is contained in:
1 parent
a44b701598
commit
952d0b2fc7
1 file changed
-70
@@ -1055,26 +1055,6 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
Scalar polymerConcentration_() const
|
||||
{
|
||||
if constexpr (enablePolymer) {
|
||||
return (*this)[Indices::polymerConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
Scalar foamConcentration_() const
|
||||
{
|
||||
if constexpr (enableFoam) {
|
||||
return (*this)[Indices::foamConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
Scalar saltConcentration_() const
|
||||
{
|
||||
if constexpr (enableBrine) {
|
||||
@@ -1098,56 +1078,6 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
Scalar microbialConcentration_() const
|
||||
{
|
||||
if constexpr (enableMICP) {
|
||||
return (*this)[Indices::microbialConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
Scalar oxygenConcentration_() const
|
||||
{
|
||||
if constexpr (enableMICP) {
|
||||
return (*this)[Indices::oxygenConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
Scalar ureaConcentration_() const
|
||||
{
|
||||
if constexpr (enableMICP) {
|
||||
return (*this)[Indices::ureaConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
Scalar biofilmConcentration_() const
|
||||
{
|
||||
if constexpr (enableMICP) {
|
||||
return (*this)[Indices::biofilmConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
Scalar calciteConcentration_() const
|
||||
{
|
||||
if constexpr (enableMICP) {
|
||||
return (*this)[Indices::calciteConcentrationIdx];
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
template <class Container>
|
||||
void computeCapillaryPressures_(Container& result,
|
||||
Scalar so,
|
||||
|
||||
Reference in new issue
Block a user