[deal.II] Re: DG explicit time integration for linear advection equation with MeshWorker (suggestions)

2019-09-18 Thread vachan potluri
step-33 does compute interior face integrals twice. One way I handle this is to attach a cell user index Thanks Praveen, this is similar to owner/neighbour concept of OpenFOAM :). Doug, Many thanks for the detailed explanations and your code :). -- The deal.II project is located at http://

Re: [deal.II] Instantiation MappingFEField with hp::DoFHandler

2019-09-18 Thread Doug Shi-Dong
On Wednesday, September 18, 2019 at 11:28:45 PM UTC-4, Wolfgang Bangerth wrote: > > > Doug, > > It does not greatly surprise me that it doesn't compile -- what isn't > tested > generally doesn't work. > Makes sense. We'd of course be very happy to accept any patches to make things work. T

Re: [deal.II] Instantiation MappingFEField with hp::DoFHandler

2019-09-18 Thread Wolfgang Bangerth
Doug, > I am trying to use MappingFEField to represent my high-order mesh points > (which will then be deformed through optimization). Similarly to this thread > High order mesh from Gmsh >

[deal.II] Re: Cmake-GUI error

2019-09-18 Thread Gary Roach
On Tuesday, September 17, 2019 at 3:13:54 PM UTC-7, GaryR wrote: > > I keep getting the following error when running cmake-gui. > > > CMake Error at /home/gary/Deal.II/share/deal.II/macros/ > macro_deal_ii_setup_target.cmake:64 (INCLUDE): > INCLUDE could not find load file: > > > /home/gary

Re: [deal.II] Re: Cmake-GUI error

2019-09-18 Thread Wolfgang Bangerth
On 9/18/19 2:10 PM, Gary Roach wrote: > > > Thanks for the reply. I'm not sure that this is the correct way to > fashion a response. I fnound the forum format a bit confusing. > > For your second question: I am installing Deal.II from > dealii-9.1.1.tar.gz. I created a Deal.II directory in my

[deal.II] Re: Cmake-GUI error

2019-09-18 Thread Gary Roach
On Tuesday, September 17, 2019 at 3:13:54 PM UTC-7, GaryR wrote: > > I keep getting the following error when running cmake-gui. > > > CMake Error at /home/gary/Deal.II/share/deal.II/macros/ > macro_deal_ii_setup_target.cmake:64 (INCLUDE): > INCLUDE could not find load file: > > > /home/gary

[deal.II] Re: Cmake-GUI error

2019-09-18 Thread Gary Roach
On Tuesday, September 17, 2019 at 3:13:54 PM UTC-7, GaryR wrote: > > I keep getting the following error when running cmake-gui. > > > CMake Error at /home/gary/Deal.II/share/deal.II/macros/ > macro_deal_ii_setup_target.cmake:64 (INCLUDE): > INCLUDE could not find load file: > > > /home/gary

[deal.II] Re: Specifying internal "boundary" conditions

2019-09-18 Thread Bruno Turcksin
Mélanie, I am not sure I understand exactly what you want to do but often people who want internal boundary conditions, really just want to impose some constraints to a few dofs. This can be done using AffineConstraints . I

Re: [deal.II] Initialization of iterative solver

2019-09-18 Thread Konrad Simon
> > Yes, you just set the solution vector to your best guess before you pass > it to the solver. But you'll find that in practice, this rarely reduced > the number of iterations by any significant amount :-( > Many thanks, Wolfgang. Now, I also saw that in the source code of solver_cg.h. I re

Re: [deal.II] Initialization of iterative solver

2019-09-18 Thread Wolfgang Bangerth
On 9/18/19 9:33 AM, Konrad Simon wrote: > > I have a quick question: Suppose I know a vector that is close to the > solution of my linear system. Is there a method to initialize an > iterative solver with this vector? Yes, you just set the solution vector to your best guess before you pass it

[deal.II] Specifying internal "boundary" conditions

2019-09-18 Thread Mélanie Gérault
Hi, I am wondering if anyone has ever implemented/used internal boundary conditions in deal.II. I need to impose displacements inside of a domain. I am assuming that it is feasible with the code, but please let me know if I am wrong. And in case I need to do it from scratch, I would also appre

[deal.II] Initialization of iterative solver

2019-09-18 Thread Konrad Simon
Dear deal.ii community, I have a quick question: Suppose I know a vector that is close to the solution of my linear system. Is there a method to initialize an iterative solver with this vector? Best, Konrad -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum opt

Re: [deal.II] Problem warning in eclipse: invalid argument for the distance function

2019-09-18 Thread Brian Zhang
Thank you very much for your help! I have deleted my post because I saw Prof. Bangerth answered a similar post previously saying the same opinion that the compiler not Eclipse is more important. It is so helpful to receive your answer. It is so important for us beginners to get confirmation fr