[OPM] Fw: Dune Course Heidelberg February 23-27 2015

2015-01-13 Thread Robert . Kloefkorn
Dear OPM friends, below the announcement of a DUNE spring school for those who might be interested. Best, Robert -Forwarded by Robert Klöfkorn/IRIS on 01/13/2015 15:31 - To: robert.kloefk...@iris.no From: Peter Bastian Date: 01/13/2015 09:39 Subject: Dune Course Heidelberg Februar

Re: [OPM] Query: Do we want matrix at()/[][] support?

2015-01-13 Thread Robert . Kloefkorn
Hello Jørgen, I think the deal.II example is a good example how to incorporate PETSc bindings into a finite element code. I don't think it is a good idea to support an operator [][] for matrices for the reasons that you mentioned below. You usually get away with the kind of SetMatrixEntry(i,j,va

Re: [OPM] Query: Do we want matrix at()/[][] support?

2015-01-13 Thread Jørgen Kvalsvik
On 01/13/2015 11:32 AM, Jørgen Kvalsvik wrote: > Hi, > > I'm currently playing with implementing (proper) support for petsc in > OPM. For this we need better containers and interfaces than petsc's own. > > The thing is, petsc doesn't support direct memory access. While this is > good object orien

[OPM] Query: Do we want matrix at()/[][] support?

2015-01-13 Thread Jørgen Kvalsvik
Hi, I'm currently playing with implementing (proper) support for petsc in OPM. For this we need better containers and interfaces than petsc's own. The thing is, petsc doesn't support direct memory access. While this is good object oriented practice, it creates some headaches when implementing ref