Re: [deal.II] error when trying to initialize PETSc preconditioners

2016-08-15 Thread Wolfgang Bangerth
On 08/15/2016 02:46 PM, Ignacio Tomas wrote: Great! Many thanks for solving this problem. I owe at least a lunch. Ah, now I'm jealous I left this easy to fix bug to Timo! ;-) Cheers W. -- Wolfgang Bangerth

[deal.II] Re: Data exchanges in IO

2016-08-15 Thread bjpalmer58
On Friday, August 12, 2016 at 4:05:33 PM UTC-7, Daniel Arndt wrote: > > Bruce, > > > >> The p_local_solution vector is filled with values as the result of >> solving a linear equation, p_local_rho is filled with values by looping >> over individual elements and assigning values calculated

Re: [deal.II] error when trying to initialize PETSc preconditioners

2016-08-15 Thread Ignacio Tomas
Timo: Simple question: basically, now I have to download the new file ''include/deal.II/lac/petsc_precondition.h'' from the repository, replace it in my dealii source code and recompile deal, that should do the trick? Ignacio. On Sun, Aug 14, 2016 at 8:02 PM, Timo Heister

Re: [deal.II] Question concerning BlockSparsityPattern.copy_from() member function

2016-08-15 Thread Martin Kronbichler
Dear Dustin, I had a look at your program on my machine with the most recent development version of deal.II. Here is the final timer output in release mode: +-+++ | Total wallclock time elapsed since start| 1.02s |

Re: [deal.II] Question concerning BlockSparsityPattern.copy_from() member function

2016-08-15 Thread Dustin Kumor
Dear Martin, after one week on a conference and two additional weeks on holidays I am finally back in office and realised the test case. I attached the file to the post and also log files for runs for both in Debug and Release mode. You can call DynamicSparsityPattern::n_nonzero_elements() to