Dear Kyusik, That is, "component == 0" of RHS would correspond to x component of RHS and > "component ==1 " would correspond to y component of RHS. > The "component" refers to each component of your FESystem. For a scalar problem, there is only 1 component, for a system with a single vector-valued FE there are dim components, and for a mixed system (e.g. step-20 <https://www.dealii.org/8.5.0/doxygen/deal.II/step_20.html>) there are more components. To what each component refers depends on how you've set up your FESystem. So if it is set up something like this
FESystem<dim> fe (FE_Q <https://www.dealii.org/8.5.0/doxygen/deal.II/classFE__RaviartThomas.html> <dim>(degree), dim, // displacement FE_DGQ <https://www.dealii.org/8.5.0/doxygen/deal.II/classFE__DGQ.html><dim>(degree), 1), // pressure then, yes, what you've stated above would be correct. Regards, Jean-Paul -- 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.
