vectorial::LinearFormHelper< F, G > Class Template Reference

Helper class for building a linear form in vectorial. More...

#include <linearFormHelper.hh>

Static Public Member Functions

static void assembleComponents (const concepts::Element< G > &elm, concepts::ElementMatrix< F > &em, concepts::LinearForm< F > **const lfs, const uint vdim)
 Assembles the scalar contributions of the components into the vector valued element load vector. More...
 

Detailed Description

template<class F, class G = typename concepts::Realtype<F>::type>
class vectorial::LinearFormHelper< F, G >

Helper class for building a linear form in vectorial.

Author
Philipp Frauenfelder, 2003.

Definition at line 20 of file linearFormHelper.hh.

Member Function Documentation

◆ assembleComponents()

template<class F , class G = typename concepts::Realtype<F>::type>
static void vectorial::LinearFormHelper< F, G >::assembleComponents ( const concepts::Element< G > &  elm,
concepts::ElementMatrix< F > &  em,
concepts::LinearForm< F > **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.

Parameters
elmVector valued element to evaluate the linear form on
emElement load vector (result)
lfsList of linear forms
vdimNumber of linear forms in lfs

The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich