Re: [deal.II] Re: deal.ii step-33 tests

2023-03-08 Thread Wells, David
Hi Lorenzo, What an interesting coincidence - I saw a student show me the same error message last week. This is definitely a bug in deal.II! Best, David Wells From: dealii@googlegroups.com on behalf of Lore Micalizzi Sent: Wednesday, March 8, 2023 9:42 AM To:

Re: [deal.II] Trying to run 2d simulation in step 18

2023-03-08 Thread Wolfgang Bangerth
On 3/8/23 14:29, Abhishek Nath Thakur wrote: Why at every time steps i am getting norm of rhs is 0 and why it is converged at 0 iteration? i tried to find the error by myself and i got that  gradient of variable is zero and incremental distance is also coming zero at every time step.. I can

Re: [deal.II] VectorTools::interpolate_boundary_values doesn't work for DG

2023-03-08 Thread Abbas
I would still want to initialise my solution vector to the values which are prescribed at the boundary before solving. Context: I am solving a nonlinear problem with DG and my BCs are in the weak form. It would be helpful if I start with a solution vector that is closer to the prescribed

[deal.II] Re: deal.ii step-33 tests

2023-03-08 Thread Lore Micalizzi
I also would like to point out that make test did not spot any problem Test project /home/lorenzo/Desktop/GIT/dealii_source/build/tests/quick_tests Start 1: step.debug Start 2: step.release Start 3: affinity.debug Start 4: mpi.debug Start 5: tbb.debug

Re: [deal.II] Required mapping member initialization of type MappingQ

2023-03-08 Thread Konrad Schneider
Dear Wolfgang, thanks for clearing this up and responding so fast. Your explanation makes sense to me. Best Konrad Wolfgang Bangerth schrieb am Mittwoch, 8. März 2023 um 15:03:13 UTC+1: > On 3/8/23 06:34, Konrad Schneider wrote: > > > > Only if I uncomment line 30 of my code (// ,

Re: [deal.II] Required mapping member initialization of type MappingQ

2023-03-08 Thread Wolfgang Bangerth
On 3/8/23 06:34, Konrad Schneider wrote: Only if I uncomment line 30 of my code (// , mapping(mapping_degree)) the program compiles. Why is that? In my understanding, the program should compile just fine without the initialization of the mapping member variable since there is no requirement

[deal.II] Re: Trying to interpolate deal.ii solution to a Cartesian grid

2023-03-08 Thread Marco Feder
Hi, I've recently used the following function for a similar task: https://www.dealii.org/developer/doxygen/deal.II/classFunctions_1_1FEFieldFunction.html#ac25d965867c71d1139262cf383f9f593 (see in particular the first snippet). This works under the assumption that the cartesian grid is

Re: [deal.II] Re: Dimension Mismatch

2023-03-08 Thread Wolfgang Bangerth
On 3/8/23 05:37, jack urombo wrote: --- An error occurred in line <1333> of file in function    constexpr ArrayElementType& dealii::internal::TensorSubscriptor::subscript(ArrayElementType*, un signed int, std::integral_constant) [with

Re: [deal.II] Re: trying to install dealii 9.1.1 using candi.

2023-03-08 Thread Bruno Turcksin
Do you need to use Boost in your own project? If you don't, try adding -DDEAL_II_FORCE_BUNDLED_BOOST=ON to your configuration. Best, Bruno Le mer. 8 mars 2023 à 00:02, ME20D503 NEWTON a écrit : > Dear Bruno, > i am using ubuntu 22.04.1 and g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0. > > Thank

[deal.II] Required mapping member initialization of type MappingQ

2023-03-08 Thread Konrad Schneider
Dear all, I am fairly new to deal.ii and have a question concerning the MappingQ-class of deal.ii Why do I have to initialize the private mapping member of type MappingQ to get a compilable code? To illustrated what I mean, I did thin out the step-11 tutorial in the following way: #include

Re: [deal.II] Re: Dimension Mismatch

2023-03-08 Thread jack urombo
I am halfway there, after taking Wolfgang's correction. Now the program is running, but runs into trouble later with error: --- An error occurred in line <1333> of file in function constexpr ArrayElementType&