Dear Jean-Paul Thank you for your kind answer.
But, could I have one more question...? In step-9, "RightHandSide<dim>::value" and "RightHandSide<dim>::value_list" have to get "component" as input. I want to know the role of it exactly.... so, please check if what I am thinking is right or not. There are a number of tutorials that demonstrate this functionality - > step-9 <https://www.dealii.org/8.5.0/doxygen/deal.II/step_9.html> and > step-15 <https://www.dealii.org/8.5.0/doxygen/deal.II/step_15.html>, for > example, get this information without Extractors while step-44 > <https://www.dealii.org/8.5.0/doxygen/deal.II/step_44.html> does the same > using Extractors. > > In the link of step-9, it says that "The only new thing here is that we check for the value of the component parameter. As this is a scalar function, it is obvious that it only makes sense if the desired component has the index zero, so we assert that this is indeed the case. ExcIndexRange is a global predefined exception (probably the one most often used, we therefore made it global instead of local to some class), that takes three parameters: the index that is outside the allowed range, the first element of the valid range and the one past the last (i.e. again the half-open interval so often used in the C++ standard library):" According to this, it seems that the component means the index of RHS vector. That is, "component == 0" of RHS would correspond to x component of RHS and "component ==1 " would correspond to y component of RHS. Is it correct...? Thank you Kyusik. -- 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 this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
