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

Vector valued bilinear form. More...

#include <bf_advection.hh>

Public Member Functions

 BilinearForm (const BilinearForm &b)
 Copy constructor. This copy constructor performs a deep copy of b. More...
 
 BilinearForm (const uint vdim1, const uint vdim2=0)
 Constructor. More...
 
virtual BilinearFormclone () const
 
virtual void operator() (const concepts::Element< G > &elmV, const concepts::Element< G > &elmU, concepts::ElementMatrix< F > &em, const concepts::ElementPair< G > &elmp) const
 
virtual void operator() (const concepts::Element< G > &elmX, const concepts::Element< G > &elmY, concepts::ElementMatrix< F > &em) const
 
virtual void put (concepts::BilinearForm< F, G > &bf, const int i, const int j)
 insert a Bilinearform bf of one vectorial dimension to the all v-dimensionial Bilinearform More...
 
void putData (concepts::Cloneable *data)
 Stores data in sharedData_ (this includes destruction of sharedData_ at cleanup). More...
 
void putStore (concepts::BilinearForm< F, G > *bf, const int i, const int j)
 Acts similarly to the normal put() command, but stores bf in deepCopies_ (without cloning bf first). More...
 
void putStore (concepts::RCP< concepts::BilinearForm< F, G > > bf, const int i, const int j)
 
BilinearForm< F, G > & reset ()
 Clear the stores bilinear forms and the shared data. More...
 
virtual ~BilinearForm ()
 

Public Attributes

uint vdim2
 vectorial dimension of second argument of bilinear form More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

concepts::Array< concepts::RCP< concepts::BilinearForm< F, G > > > deepCopies_
 Stores the deep copies of the component bilinear forms, if there are any. More...
 
std::unique_ptr< concepts::CloneablesharedData_
 Stores the data which is shared between the components of the bilinear forms. More...
 

Detailed Description

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

Vector valued bilinear form.

Author
Kersten Schmidt, 2002
Examples
elasticity2D_tutorial.cc, and hpFEM3d-EV.cc.

Definition at line 38 of file bf_advection.hh.

Constructor & Destructor Documentation

◆ BilinearForm() [1/2]

template<class F , class G = typename concepts::Realtype<F>::type>
vectorial::BilinearForm< F, G >::BilinearForm ( const uint  vdim1,
const uint  vdim2 = 0 
)
inline

Constructor.

Parameters
vdim1vectorial dimension of test functions
vdim2vectorial dimension of trial functions. Defaults to vdim1

Definition at line 324 of file vectorial.hh.

◆ BilinearForm() [2/2]

template<class F , class G = typename concepts::Realtype<F>::type>
vectorial::BilinearForm< F, G >::BilinearForm ( const BilinearForm< F, G > &  b)

Copy constructor. This copy constructor performs a deep copy of b.

◆ ~BilinearForm()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual vectorial::BilinearForm< F, G >::~BilinearForm ( )
virtual

Member Function Documentation

◆ clone()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual BilinearForm* vectorial::BilinearForm< F, G >::clone ( ) const
virtual

◆ info()

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

◆ operator()() [1/2]

template<class F , class G = typename concepts::Realtype<F>::type>
virtual void vectorial::BilinearForm< F, G >::operator() ( const concepts::Element< G > &  elmV,
const concepts::Element< G > &  elmU,
concepts::ElementMatrix< F > &  em,
const concepts::ElementPair< G > &  elmp 
) const
virtual

◆ operator()() [2/2]

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

◆ put()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual void vectorial::BilinearForm< F, G >::put ( concepts::BilinearForm< F, G > &  bf,
const int  i,
const int  j 
)
virtual

insert a Bilinearform bf of one vectorial dimension to the all v-dimensionial Bilinearform

Parameters
irow number of v-dimensions (test functions)
jcolumn number of v-dimensions (trial functions)

◆ putData()

template<class F , class G = typename concepts::Realtype<F>::type>
void vectorial::BilinearForm< F, G >::putData ( concepts::Cloneable data)
inline

Stores data in sharedData_ (this includes destruction of sharedData_ at cleanup).

Definition at line 354 of file vectorial.hh.

◆ putStore() [1/2]

template<class F , class G = typename concepts::Realtype<F>::type>
void vectorial::BilinearForm< F, G >::putStore ( concepts::BilinearForm< F, G > *  bf,
const int  i,
const int  j 
)

Acts similarly to the normal put() command, but stores bf in deepCopies_ (without cloning bf first).

At cleanup time, bf is destroyed by this class.

◆ putStore() [2/2]

template<class F , class G = typename concepts::Realtype<F>::type>
void vectorial::BilinearForm< F, G >::putStore ( concepts::RCP< concepts::BilinearForm< F, G > >  bf,
const int  i,
const int  j 
)

◆ reset()

template<class F , class G = typename concepts::Realtype<F>::type>
BilinearForm<F,G>& vectorial::BilinearForm< F, G >::reset ( )

Clear the stores bilinear forms and the shared data.

Member Data Documentation

◆ deepCopies_

template<class F , class G = typename concepts::Realtype<F>::type>
concepts::Array<concepts::RCP<concepts::BilinearForm<F,G> > > vectorial::BilinearForm< F, G >::deepCopies_
private

Stores the deep copies of the component bilinear forms, if there are any.

Definition at line 374 of file vectorial.hh.

◆ sharedData_

template<class F , class G = typename concepts::Realtype<F>::type>
std::unique_ptr<concepts::Cloneable> vectorial::BilinearForm< F, G >::sharedData_
private

Stores the data which is shared between the components of the bilinear forms.

Definition at line 377 of file vectorial.hh.

◆ vdim2

template<class F , class G = typename concepts::Realtype<F>::type>
uint vectorial::BilinearForm< F, G >::vdim2

vectorial dimension of second argument of bilinear form

Definition at line 368 of file vectorial.hh.


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