Ali:

Thanks a lot for your responses. Wolfgang kindly gave a concise and clear restatement of my question. So to my understanding it seems that as long as we have defined block vectors and matrices in setup_system properly, and have taken care of correct combinations of trial and test functions within the assembly, we can almost be sure that the rest is handled by deal.ii.

You can be totally sure :-)


But may I ask about step-44 in which the shape functions (?) are addressed through system_to_component/base_index? Are these (steps 20 and 44,8) just two different approaches as explained in the Handling vector valued problems module? I was wondering when we might need to follow step-44 and for example evaluate i_group and j_group s within the assembly function?

You already point to the correct documentation module. The two ways lead to the same outcome. Doing it the way of step-8/44 requires more writing and hand-calculations, but is marginally faster. step-20 is more automatic and closer to the mathematical notation we see in papers and books, but is marginally slower. Which way you choose is mostly a question of personal preference.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/63fa41ff-2299-cf5d-5f4f-7841693fc76c%40colostate.edu.

Reply via email to