[deal.II] Re: Help in value_list

2016-11-04 Thread Jean-Paul Pelteret
Dear Atanu, Here are two stackoverflow posts (the first one more technical, the secon d by exampl

[deal.II] Re: Help in value_list

2016-11-03 Thread Atanu Banerjee
Thanks a lot for the reference. I got the point. Please help in one more thing. While defining the virtual member functions, e.g., RightHandSide::value, at the end of the function declaration "const" is added. Why is it so? Can you please give a reference? Thanks Atanu On Thursday, November

[deal.II] Re: Help in value_list

2016-11-03 Thread Jean-Paul Pelteret
You're welcome. Since you say that you're a C++ beginner, I'm not sure how much you know about polymorphism: just in case you need some further clarification, here's an example that highlights what's actually going on here with the base and

[deal.II] Re: Help in value_list

2016-11-03 Thread Atanu Banerjee
Ok... Thank you Jean. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from thi

[deal.II] Re: Help in value_list

2016-11-03 Thread Jean-Paul Pelteret
Dear Atanu, The RightHandSide class in step-7 derives from the Function class. This in turn defines the value_list