Helper class for building a linear form in vectorial.
More...
#include <linearFormHelper.hh>
Static Public Member Functions | |
| static void | assembleComponents (const Element< Real > &elm, concepts::ElementMatrix< Real > &em, concepts::LinearForm< Real > **const lfs, const uint vdim) |
| Assembles the scalar contributions of the components into the vector valued element load vector. | |
Helper class for building a linear form in vectorial.
Definition at line 16 of file linearFormHelper.hh.
| static void vectorial::LinearFormHelper::assembleComponents | ( | const Element< Real > & | elm, |
| concepts::ElementMatrix< Real > & | em, | ||
| concepts::LinearForm< Real > **const | lfs, | ||
| const uint | vdim | ||
| ) | [static] |
Assembles the scalar contributions of the components into the vector valued element load vector.
This is done by looping over all non-zero entries in lfs and calling it with elm. The result is written to em.
This method is used by vectorial::LinearForm and vectorial::TimeLinearForm.
| elm | Vector valued element to evaluate the linear form on |
| em | Element load vector (result) |
| lfs | List of linear forms |
| vdim | Number of linear forms in lfs |