Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::TimeLinearForm Class Referenceabstract

#include <timeLinearForm.hh>

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

Public Member Functions

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

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< timestepping::TimeLinearForm * > vdata_
 Storage.
 
Real time_
 The current time.
 

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.

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

Returns information in an output stream.

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()()

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

Computes the element contribution to the function.

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

◆ 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 ( ) const
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: