vectorial::TimeLinearForm Class Referenceabstract

Vector valued time dependent linear form. More...

#include <timeLinearForm.hh>

Inheritance diagram for vectorial::TimeLinearForm:
vectorial::Vectorial< timestepping::TimeLinearForm > timestepping::TimeLinearForm concepts::LinearForm< Real >

Public Member Functions

virtual const timestepping::TimeLinearFormget (const int a, const int b=0) const
 Get a component. More...
 
virtual void insert (timestepping::TimeLinearForm &vdata, const int a=0, const int b=0)
 Add a component. More...
 
virtual void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em)
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 Computes the element contribution to the function. More...
 
virtual void put (timestepping::TimeLinearForm &lf, const int i, const int j=0)
 
Real time ()
 Returns time_. More...
 
virtual void time (Real time)
 set the time of all scalar linear forms More...
 
 TimeLinearForm (const uint vdim, const uint arrayWidth=0)
 
uint vdim () const
 Returns number of components. More...
 
virtual ~TimeLinearForm ()
 

Protected Member Functions

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

Protected Attributes

uint idx_
 Index of the last added component. More...
 
Real time_
 The current time. More...
 
concepts::Array< timestepping::TimeLinearForm * > vdata_
 Storage. More...
 
uint vdim_
 Number of components. More...
 

Detailed Description

Vector valued time dependent linear form.

Consists of vdim timestepping::TimeLinearForms and sets the time of all of them when the time is set.

Author
Christoph Winkelmann, 2003

Definition at line 26 of file timeLinearForm.hh.

Constructor & Destructor Documentation

◆ TimeLinearForm()

vectorial::TimeLinearForm::TimeLinearForm ( const uint  vdim,
const uint  arrayWidth = 0 
)
inline

Definition at line 29 of file timeLinearForm.hh.

◆ ~TimeLinearForm()

virtual vectorial::TimeLinearForm::~TimeLinearForm ( )
virtual

Member Function Documentation

◆ get()

virtual const timestepping::TimeLinearForm * vectorial::Vectorial< timestepping::TimeLinearForm >::get ( const int  a,
const int  b = 0 
) const
inlinevirtualinherited

Get a component.

Definition at line 74 of file vectorial.hh.

◆ info()

virtual std::ostream& vectorial::TimeLinearForm::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::LinearForm< Real >.

◆ insert()

void vectorial::Vectorial< timestepping::TimeLinearForm >::insert ( timestepping::TimeLinearForm vdata,
const int  a = 0,
const int  b = 0 
)
virtualinherited

Add a component.

Definition at line 72 of file vectorial.hh.

◆ operator()() [1/2]

virtual void vectorial::TimeLinearForm::operator() ( const concepts::Element< Real > &  elm,
concepts::ElementMatrix< Real > &  em 
)
virtual

◆ operator()() [2/2]

virtual void concepts::LinearForm< Real , typename Realtype<Real >::type >::operator() ( const Element< G > &  elm,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Computes the element contribution to the function.

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

◆ put()

virtual void vectorial::TimeLinearForm::put ( timestepping::TimeLinearForm lf,
const int  i,
const int  j = 0 
)
virtual

◆ time() [1/2]

Real timestepping::TimeLinearForm::time ( )
inlineinherited

Returns time_.

Definition at line 41 of file vectors.hh.

◆ time() [2/2]

virtual void vectorial::TimeLinearForm::time ( Real  time)
virtual

set the time of all scalar linear forms

Reimplemented from timestepping::TimeLinearForm.

◆ vdim()

uint vectorial::Vectorial< timestepping::TimeLinearForm >::vdim
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ idx_

uint vectorial::Vectorial< timestepping::TimeLinearForm >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ time_

Real timestepping::TimeLinearForm::time_
protectedinherited

The current time.

Definition at line 44 of file vectors.hh.

◆ vdata_

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

uint vectorial::Vectorial< timestepping::TimeLinearForm >::vdim_
protectedinherited

Number of components.

Definition at line 80 of file vectorial.hh.


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