Re: [deal.II] Adding random filling functionality to vector classes

2019-08-14 Thread Wolfgang Bangerth
On 8/14/19 4:24 AM, Michał Wichrowski wrote: > > It nothing big, but I thing adding method fill_random(const double& a=-1., > const double =1.) to vector classes that will fill a vector with random > values (from range [a,b]) would be useful. I'm using it in most of my > programs,  it's great

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Matthias Maier
On Wed, Aug 14, 2019, at 13:38 CDT, Bruno Blais wrote: > Hello all, > I am re-implementing some tests on our solvers (following > https://www.dealii.org/developer/developers/testsuite.html#layoutaddtests) > Right now, it is really easy to test individual applications with a > combination of

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Matthias Maier
On Wed, Aug 14, 2019, at 18:55 CDT, Matthias Maier wrote: > [...] This is actually explained here: https://www.dealii.org/current/users/testsuite.html :-D -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Matthias Maier
On Wed, Aug 14, 2019, at 18:58 CDT, Bruno Blais wrote: > Dear Matthias, > If I understand correctly, the only constraint of working this way is that > all tests for a single executable must be grouped in a single folder, and > that a single folder can test a single executable? > That's

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Bruno Blais
Hahaha, that is amazing! So much documentation that sometimes documentation becomes its own enemy :P Thanks for everything! That will definitely be incredibly helpful (not only to me, but to others)! On Wednesday, 14 August 2019 20:00:00 UTC-4, Matthias Maier wrote: > > > On Wed, Aug 14, 2019,

Re: [deal.II] Re: Hessian computation

2019-08-14 Thread Shiva Rudraraju
Perfect. This is exactly what I was looking for. Thanks, Wolfgang. > On Aug 14, 2019, at 4:58 PM, Wolfgang Bangerth wrote: > > On 8/13/19 5:34 PM, Shiva Rudraraju wrote: >> Thanks for the pointer, Vivek. I did check the usual locations, >> including fe_values.h, but couldn’t locate the exact

Re: [deal.II] Re: Hessian computation

2019-08-14 Thread Wolfgang Bangerth
On 8/13/19 5:34 PM, Shiva Rudraraju wrote: > Thanks for the pointer, Vivek. I did check the usual locations, > including fe_values.h, but couldn’t locate the exact implementation of > the computation for the hessian in the real cell coordinates. (Should > involve the product of shape function

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Matthias Maier
On Wed, Aug 14, 2019, at 18:57 CDT, Matthias Maier wrote: > On Wed, Aug 14, 2019, at 18:55 CDT, Matthias Maier wrote: > >> [...] > > This is actually explained here: > > https://www.dealii.org/current/users/testsuite.html AND I apparently created a demo repository showcasing all of that:

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Wolfgang Bangerth
Bruno, > I am re-implementing some tests on our solvers (following > https://www.dealii.org/developer/developers/testsuite.html#layoutaddtests) > Right now, it is really easy to test individual applications with a > combination of executable + output + prm file. > We also test with various

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Bruno Blais
Dear Matthias, If I understand correctly, the only constraint of working this way is that all tests for a single executable must be grouped in a single folder, and that a single folder can test a single executable? That's perfect. I will try that tomorrow. If I manage to make that work, it is

Re: [deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Matthias Maier
Wolfgang, there was a little bit of CMake development behind your back *cough* *cough* (Luca wanted to have the feature Bruno was asking about). Best, Matthias On Wed, Aug 14, 2019, at 18:16 CDT, Wolfgang Bangerth wrote: > Bruno, > >> I am re-implementing some tests on our solvers

[deal.II] How to use FE_FaceQ with update_gradients.

2019-08-14 Thread Lars Corbijn
Hello, I am trying to implement and HDG like method from [1], but without the elimination process described in step 51. Thereby creating a block matrix. To implement this I use as finite element a system of FE_DGQ + FE_FaceQ. On the face I need to compute integrals between the functions from

[deal.II] Adding random filling functionality to vector classes

2019-08-14 Thread Michał Wichrowski
Dear all, It nothing big, but I thing adding method fill_random(const double& a=-1., const double =1.) to vector classes that will fill a vector with random values (from range [a,b]) would be useful. I'm using it in most of my programs, it's great for testing solvers, especially multigrid

Re: [deal.II] MGTransferBlockMatrixFree< dim, Number > ::clear rrmoves number of blocks

2019-08-14 Thread Michał Wichrowski
> > > So you want to a separate function that calls the current interface with > default constructed MGConstraindedDoFs objects? > We are happy to have a look and discuss if you create a pull request for > this. > > Thanks, for reporting the problem with the default constructor. I will > have

[deal.II] Re: Paraview's TemporalInterpolator with adaptive mesh

2019-08-14 Thread Bruno Blais
Francis (^^) If you look at the documentation of the temporal interpolator of paraview ( https://www.paraview.org/Wiki/Advanced_Animations) you will see that it enforces that the support for your data (the mesh) remains constant throughout the time series. Consequently, you cannot use it with

[deal.II] Testing with CTest : Testing the same executable with more than one ".prm" and ".output" combination

2019-08-14 Thread Bruno Blais
Hello all, I am re-implementing some tests on our solvers (following https://www.dealii.org/developer/developers/testsuite.html#layoutaddtests) Right now, it is really easy to test individual applications with a combination of executable + output + prm file. We also test with various number of

[deal.II] Re: How I see open source software

2019-08-14 Thread Mélanie Gérault
I really enjoyed reading this! Thanks! Melanie On Saturday, June 29, 2019 at 8:12:02 PM UTC-4, Wolfgang Bangerth wrote: > > > All, > if you want to read a bit about how I got into open source software, and > how I > see my role in deal.II, here's something that just came out: > > >