Skip to content

Change time map api#1092

Merged
joakim-hove merged 4 commits intoOPM:masterfrom
joakim-hove:change-time-map-api
Jun 20, 2017
Merged

Change time map api#1092
joakim-hove merged 4 commits intoOPM:masterfrom
joakim-hove:change-time-map-api

Conversation

@joakim-hove
Copy link
Copy Markdown
Member

@joakim-hove joakim-hove commented Jun 18, 2017

Boost datetime internally uses a 32 bit integer type to represent time, and has a 2038 problem.

In the opm-parser code the class TimeMap uses boost datetime internally, we intend to change that to std::time_t - which is a 64 bit integral type on any 64 bit linux, and also on any reasonably new 32bit linux.

The current PR will just change the TimeMap::operator[]to return std::time_t instead of boost datetime. The code still uses boost datetime internally.

Downstream:

ewoms: OPM/opm-models#198
simulators: OPM/opm-simulators#1222

@joakim-hove
Copy link
Copy Markdown
Member Author

jenkins build this with downstreams please

@joakim-hove joakim-hove force-pushed the change-time-map-api branch 7 times, most recently from 36f0962 to edff16f Compare June 19, 2017 08:53
@joakim-hove joakim-hove force-pushed the change-time-map-api branch from 2e4ea10 to 42c3cc9 Compare June 19, 2017 08:54
@joakim-hove
Copy link
Copy Markdown
Member Author

jenkins build this with downstreams please

@joakim-hove
Copy link
Copy Markdown
Member Author

jenkins build this with downstreams ewoms=198 please

1 similar comment
@joakim-hove
Copy link
Copy Markdown
Member Author

jenkins build this with downstreams ewoms=198 please

@joakim-hove
Copy link
Copy Markdown
Member Author

jenkins build this with downstreams ewoms=198 opm-simulators=1222 please

1 similar comment
@joakim-hove
Copy link
Copy Markdown
Member Author

jenkins build this with downstreams ewoms=198 opm-simulators=1222 please

@joakim-hove joakim-hove changed the title WIP: Change time map api Change time map api Jun 20, 2017
@joakim-hove joakim-hove merged commit 2a4a0a7 into OPM:master Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant