remove Fieldprops::TranMap
This commit is contained in:
parent
f1e5ce372b
commit
b617c2af13
@ -509,7 +509,7 @@ public:
|
||||
bool operator==(const FieldProps& other) const;
|
||||
static bool rst_cmp(const FieldProps& full_arg, const FieldProps& rst_arg);
|
||||
|
||||
const Fieldprops::TranMap& getTran() const
|
||||
const std::unordered_map<std::string,Fieldprops::TranCalculator>& getTran() const
|
||||
{
|
||||
return tran;
|
||||
}
|
||||
@ -574,7 +574,7 @@ private:
|
||||
std::unordered_map<std::string, Fieldprops::FieldData<int>> int_data;
|
||||
std::unordered_map<std::string, Fieldprops::FieldData<double>> double_data;
|
||||
|
||||
Fieldprops::TranMap tran;
|
||||
std::unordered_map<std::string,Fieldprops::TranCalculator> tran;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -31,7 +31,6 @@ class Deck;
|
||||
class DeckKeyword;
|
||||
namespace Fieldprops {
|
||||
class TranCalculator;
|
||||
using TranMap = std::unordered_map<std::string, TranCalculator>;
|
||||
template<typename T> struct FieldData;
|
||||
}
|
||||
class FieldProps;
|
||||
@ -234,7 +233,7 @@ public:
|
||||
|
||||
void apply_numerical_aquifers(const NumericalAquifers& aquifers);
|
||||
|
||||
const Fieldprops::TranMap& getTran() const;
|
||||
const std::unordered_map<std::string,Fieldprops::TranCalculator>& getTran() const;
|
||||
|
||||
private:
|
||||
/*
|
||||
|
@ -117,8 +117,6 @@ private:
|
||||
std::vector<TranAction> actions;
|
||||
};
|
||||
|
||||
using TranMap = std::unordered_map<std::string, TranCalculator>;
|
||||
|
||||
} // namespace Fieldprops
|
||||
} // end namespace Opm
|
||||
#endif // TRAN_CALCULATOR_HPP
|
||||
|
@ -154,8 +154,8 @@ void FieldPropsManager::apply_numerical_aquifers(const NumericalAquifers& aquife
|
||||
return this->fp->apply_numerical_aquifers(aquifers);
|
||||
}
|
||||
|
||||
|
||||
const Fieldprops::TranMap& FieldPropsManager::getTran() const
|
||||
const std::unordered_map<std::string,Fieldprops::TranCalculator>&
|
||||
FieldPropsManager::getTran() const
|
||||
{
|
||||
return this->fp->getTran();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user