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] 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