Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::LinearForm< F, G > Class Template Reference

#include <linearForm.hh>

Inheritance diagram for vectorial::LinearForm< F, G >:
vectorial::Vectorial< F > concepts::LinearForm< F, G > concepts::OutputOperator

Public Member Functions

 LinearForm (const uint vdim, const uint arrayWidth=0)
 
virtual void put (concepts::LinearForm< F, G > &lf, const uint i, const uint j=0)
 
void putStore (concepts::LinearForm< F, G > *lf, const uint i)
 
virtual void operator() (const concepts::Element< G > &elm, concepts::ElementMatrix< F > &em) const
 
virtual void insert (F &vdata, const int a=0, const int b=0)
 Add a component.
 
virtual const F * get (const int a, const int b=0) const
 Get a component.
 
uint vdim () const
 Returns number of components.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

uint vdim_
 Number of components.
 
uint idx_
 Index of the last added component.
 
concepts::Array< F * > vdata_
 Storage.
 

Detailed Description

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

Vector valued linear form.

Author
Kersten Schmidt, 2002

Definition at line 20 of file linearForm.hh.

Constructor & Destructor Documentation

◆ LinearForm()

template<class F , class G = typename concepts::Realtype<F>::type>
vectorial::LinearForm< F, G >::LinearForm ( const uint  vdim,
const uint  arrayWidth = 0 
)
inline

Definition at line 23 of file linearForm.hh.

Member Function Documentation

◆ get()

template<class F >
virtual const F * vectorial::Vectorial< F >::get ( const int  a,
const int  b = 0 
) const
inlinevirtualinherited

Get a component.

Examples
hpFEM3d-EV.cc.

Definition at line 74 of file vectorial.hh.

◆ info()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual std::ostream & vectorial::LinearForm< F, G >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::LinearForm< F, G >.

◆ insert()

template<class F >
void vectorial::Vectorial< F >::insert ( F &  vdata,
const int  a = 0,
const int  b = 0 
)
virtualinherited

Add a component.

Definition at line 94 of file vectorial.hh.

◆ operator()()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual void vectorial::LinearForm< F, G >::operator() ( const concepts::Element< G > &  elm,
concepts::ElementMatrix< F > &  em 
) const
virtual

Computes the element contribution to the function.

Parameters
elmElement on which the computations should be performed
emThe local matrix

Implements concepts::LinearForm< F, G >.

◆ put()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual void vectorial::LinearForm< F, G >::put ( concepts::LinearForm< F, G > &  lf,
const uint  i,
const uint  j = 0 
)
virtual

insert a Linearform lf of one vectorial dimension to the all v-dimensionial Linearform

Parameters
irow number of v-dimensions

◆ putStore()

template<class F , class G = typename concepts::Realtype<F>::type>
void vectorial::LinearForm< F, G >::putStore ( concepts::LinearForm< F, G > *  lf,
const uint  i 
)

Acts similarly to the normal put() command, but stores lf in deepCopies_ (without cloning lf first). At cleanup time, lf is destroyed by this class.

◆ vdim()

template<class F >
uint vectorial::Vectorial< F >::vdim ( ) const
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ idx_

template<class F >
uint vectorial::Vectorial< F >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ vdata_

template<class F >
concepts::Array<F*> vectorial::Vectorial< F >::vdata_
mutableprotectedinherited

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

template<class F >
uint vectorial::Vectorial< F >::vdim_
protectedinherited

Number of components.

Definition at line 80 of file vectorial.hh.


The documentation for this class was generated from the following files: