[deal.II] Re: Derivative of a scalar function in the code

2016-08-15 Thread Daniel Arndt
Benhour, What exactly is your problem? Lots of the examples programs, i.e. step-14, step-15, step-18, step-31, step-32, step-35, step-43 and step-44, use FEValues::get_function_gradients. Best, Daniel Am Montag, 15. August 2016 03:13:14 UTC+2 schrieb benhour@gmail.com: > > Dear All, > I wa

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 emai

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

2016-08-15 Thread Ignacio Tomas
Great! Many thanks for solving this problem. I owe at least a lunch. On Mon, Aug 15, 2016 at 3:25 PM, Timo Heister wrote: > Yes, or you wait another 2 hours (then it should be merged) and just > pull the latest development version from github. > > On Mon, Aug 15, 2016 at 2:34 PM, Ignacio Tomas

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

2016-08-15 Thread Timo Heister
Yes, or you wait another 2 hours (then it should be merged) and just pull the latest development version from github. On Mon, Aug 15, 2016 at 2:34 PM, Ignacio Tomas wrote: > Timo: > > Simple question: basically, now I have to download the new file > ''include/deal.II/lac/petsc_precondition.h'' fr

[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 f

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 wrote: > Thanks, this

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 g

Re: Re: [deal.II] global dof renumbering with parallel triangulation and trilinos direct solver (Bug ?)

2016-08-15 Thread Denis Davydov
FYI, I created a GitHub issue to further track this problem: https://github.com/dealii/dealii/issues/2966 Regards, Denis. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this messag