Re: [deal.II] Install and running deal.II with latest debian package

2021-01-13 Thread Matthias Maier
All, I have created an issue on github to track some much needed updates to our documentation :-) https://github.com/dealii/dealii/issues/11529 Best, Matthias On Thu, Jan 14, 2021, at 00:47 CST, Matthias Maier wrote: > Dear Matt, > > You need to compile and link your source code with all

Re: [deal.II] Install and running deal.II with latest debian package

2021-01-13 Thread Matthias Maier
Dear Matt, You need to compile and link your source code with all include directives ( -I ) and external libraries. It is easiest to simply use the CMake configuration that we ship with the examples. I guess you installed the deal.II package via apt? If so, simply install the doc package and

[deal.II] Install and running deal.II with latest debian package

2021-01-13 Thread Matthew Rich
Hi, I am new to deal.II and I wanted to mess with the tutorials. I am running the mint LDE distro of linux and just installed the package. per the website. On step one when you are just creating a mesh, I am getting an error regrading Sacado.h which appears to be a solver package external to

[deal.II] Face and line orientation dependent dof permutations in FE_Q

2021-01-13 Thread Konrad Simon
Dear Deal.II community, I am currently fixing an orientation issue for some (non-primitive) vector elements with the help of two other Deal.II developers/maintainers. I have a quick question: On complicated meshes some faces can have a non-standard orientation or they can be rotated against

Re: [deal.II] Mean value of component of TrilinosWrappers::MPI::BlockVector

2021-01-13 Thread Konrad Simon
> > Then you need to create a vector with locally relevant entries as ghosts > and > copy your fully distributed vector to it. There is no other way if you > want to > use that function. > > But if your goal is to fix the pressure in a Stokes problem, it doesn't > have > to be the integral

Re: [deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-13 Thread Jean-Paul Pelteret
Hi Behrooz, Great, I'm glad that you're at least one step closer to getting deal.II installed. Unfortunately, the information that you've provided about the build error is not enough to diagnose what the problem is. Can you attach the build log so that we can take a look at them? When the

Re: [deal.II] Mean value of component of TrilinosWrappers::MPI::BlockVector

2021-01-13 Thread Wolfgang Bangerth
On 1/12/21 9:18 AM, Konrad Simon wrote: Thank you, Wolfgang, that was the issue.  I am using the mean value function at several different places in my code. One of them is inside a preconditioner vmult that accepts only a fully distributed vector. Is there also a simple workaround? Then

Re: [deal.II] Build error | resizing a vector of FunctionParsers

2021-01-13 Thread Wells, David
Hi Vachan, We explicitly disabled copying and moving instances of FunctionParser because it depends (for threaded parallelism) on several objects that cannot be copied or moved - that's why your code works as long as you don't try to resize the vector. The best workaround is to use

Re: [deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-13 Thread Behrooz Karami
Dear Jean-Paul, Thanks very much for your explanations. It helped me a lot to better understanding of Spack environment and its functionality. You were also right, my Spack version is a bit old. Anyway, after some further manipulations I was a able to configure Trilions. However thereafter,