[deal.II] Solving a linear advection equation

2019-03-03 Thread Apurva Tiwari
Hello! I'm trying to solve the simplest linear advection equation: partial(u) / partial(t) + partial(u) / partial(x) = 0, using the Discontinuous Galerkin Method. I've just begun using dealii, browsed a few initial tutorial programs (steps 1 - 7, 12). Is there already an implementation written? I

Re: [deal.II] Re: Parallel Nonlinear Poisson code in DEALII

2019-03-03 Thread Wolfgang Bangerth
On 3/3/19 10:24 PM, mboron1...@gmail.com wrote: > Is there any equivalent of DoFTools::extract_boundary_dofs(inputs) for > distributed memory parallelization in DEALII. Not that I know. The problem is of course that no processor will know all boundary DoFs (because it only knows its local part

[deal.II] Re: Parallel Nonlinear Poisson code in DEALII

2019-03-03 Thread mboron1982
Dear all, Is there any equivalent of DoFTools::extract_boundary_dofs(inputs) for distributed memory parallelization in DEALII. On Thursday, February 21, 2019 at 3:32:08 PM UTC+5:30, mboro...@gmail.com wrote: > > Dear all, > I am Boron. I am a new to DEALII. I am currently trying to write a >

Re: [deal.II] Solving a linear advection equation

2019-03-03 Thread Wolfgang Bangerth
On 3/3/19 10:34 PM, Apurva Tiwari wrote: > I'm trying to solve the simplest linear advection equation: > partial(u) / partial(t) + partial(u) / partial(x) = 0, using the > Discontinuous > Galerkin Method. > I've just begun using dealii, browsed a few initial tutorial programs (steps > 1 > - 7,

Re: [deal.II] problerm during configuration of dealii-8.2.1

2019-03-03 Thread Muhammad Adil
Hi Wolfgang Bangerth, Thank you for your response. I am executing the commands in the following order: Installation:1. Unpacking tar -xvf dealii-8.2.1.tar.gz 2. Configuring and building the library mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/home/muhammad/Adil ../dealii-8.2.1

Re: [deal.II] problerm during configuration of dealii-8.2.1

2019-03-03 Thread Muhammad Adil
Hi, I tried according to your instructions and it is working now. Thank you. On Sun, Mar 3, 2019 at 12:31 AM Wolfgang Bangerth wrote: > On 3/1/19 10:40 PM, Muhammad Adil wrote: > > I have successfully installed the deal.II-8.2.1 by using the following > > commands as shown in the attached

[deal.II] Shared memory parallelism of Trilinos

2019-03-03 Thread Bruno Blais
Hello everyone, I have a quick question for which I have not found documentation. The suggested compilation options for Trilinos do not suggest the use of OpenMP and the flag is not enabled by default. DEALII by default also compiles using TBB for shared memory parallelism. Does this mean that

Re: [deal.II] L2 norm of distribution solution

2019-03-03 Thread Jean Ragusa
Thanks Wolfgang.I am just replying to add a couple of details that were not 100% obvious to me. Maybe someone else will benefit from this when the search the post archive... As Wolfgang stated, copying the vector that contains ghosted values (relevant dofs) into a completely distributed vector

Re: [deal.II] L2 norm of distribution solution

2019-03-03 Thread Wolfgang Bangerth
On 3/3/19 12:27 PM, Jean Ragusa wrote: > > As Wolfgang stated, copying the vector that contains ghosted values (relevant > dofs) into a completely distributed vector allows you to use l2_norm() on > it.What I didn't realize is that the l2_norm() on a distributed vector calls > the