Giter Site home page Giter Site logo

Comments (8)

rolk avatar rolk commented on July 30, 2024

And why does dune/grid/CpGrid.hpp #include PersistentContainer at the very end; there doesn't seem to be any need for it?

from opm-grid.

andlaus avatar andlaus commented on July 30, 2024

It seems like the PersistentContainer class is not considered an official interface by the dune guys:

http://lists.dune-project.org/pipermail/dune/2013-February/012208.html

why it is in dune-cornerpoint I cannot say, as this seems to be only needed for adaptive grids. I've opened a PR to remove it, but maybe @atgeirr or @bska can enlighten us a bit more.

from opm-grid.

bska avatar bska commented on July 30, 2024

why it [the PersistentContainer] is in dune-cornerpoint I cannot say

The PersistentContainer for class CpGrid originated as contributed code (commit 0037c5d) to enable using CpGrid with the third-party (meta-grid) manager "dune-parallelgrid". Whether or not the class is actually needed or if we should continue to carry or support that interface is a question of policy. I will note, though, that according to Robert Klöfkorn (author of dune-parallelgrid), the CpGrid was (at the time of submission) among the most efficient grids available for use with dune-parallelgrid.

@atgeirr: Do you recall any additional details?

from opm-grid.

rolk avatar rolk commented on July 30, 2024

OK, I see; they changed the interface (between 2.2 and 2.3) in an incompatible way (removed the Allocator parameter), and we're trying to follow suite.

from opm-grid.

andlaus avatar andlaus commented on July 30, 2024

Alright. Its better to keep this class, then?

from opm-grid.

andlaus avatar andlaus commented on July 30, 2024

(in this case, can somebody with access to 'parallelgrid' verify that it still works? I don't have access to that project...)

from opm-grid.

atgeirr avatar atgeirr commented on July 30, 2024

I think it may be better to keep the class, and I am pretty sure updating it would be the good. However, have we solved the "how to interface with different dune versions" problem?

About the current state of dune-parallelgrid I am not quite sure, it's been some time since last I experimented with it.

from opm-grid.

rolk avatar rolk commented on July 30, 2024

However, have we solved the "how to interface with different dune versions" problem?

Yes, to a large extent I think we have, but of course if you mix versions of DUNE, havoc will probably ensue.

from opm-grid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.