mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
updates in EclMpiSerializer to avoid explicit instances in serializer
now the serializer is 'standard', as in we only require basic types + stl containers. this should make the actual implementation pretty pluggable. will ease replacing our serialization routines with those in Dune 2.7 later.
This commit is contained in:
@@ -483,7 +483,8 @@ Opm::Action::ActionX getActionX()
|
||||
}
|
||||
|
||||
|
||||
Opm::AquiferCT getAquiferCT() {
|
||||
Opm::AquiferCT getAquiferCT()
|
||||
{
|
||||
Opm::AquiferCT::AQUCT_data data;
|
||||
data.aquiferID = 1;
|
||||
data.inftableID = 2;
|
||||
@@ -504,7 +505,9 @@ Opm::AquiferCT getAquiferCT() {
|
||||
return Opm::AquiferCT( { data } );
|
||||
}
|
||||
|
||||
Opm::Aquifetp getAquifetp() {
|
||||
|
||||
Opm::Aquifetp getAquifetp()
|
||||
{
|
||||
Opm::Aquifetp::AQUFETP_data data;
|
||||
|
||||
data.aquiferID = 1;
|
||||
@@ -518,8 +521,8 @@ Opm::Aquifetp getAquifetp() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Opm::Aquancon getAquancon() {
|
||||
Opm::Aquancon getAquancon()
|
||||
{
|
||||
Opm::Aquancon::AquancCell cell(1, 100, std::make_pair(false, 0), 100, Opm::FaceDir::XPlus);
|
||||
return Opm::Aquancon( std::unordered_map<int, std::vector<Opm::Aquancon::AquancCell>>{{1, {cell}}});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user