timestepping::TimeLinearForm Class Referenceabstract

Abstract class implementing time dependent linear forms. More...

#include <vectors.hh>

Inheritance diagram for timestepping::TimeLinearForm:
concepts::LinearForm< Real > linDG2D::LaplaceTimeLf linDG3D::ConstRhs linDG3D::FvdgTimeRhs linDG3D::FvdgTimeRhsDiff vectorial::TimeLinearForm

Public Member Functions

virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 Computes the element contribution to the function. More...
 
Real time ()
 Returns time_. More...
 
virtual void time (Real time)
 Sets time_. More...
 
 TimeLinearForm ()
 

Protected Member Functions

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

Protected Attributes

Real time_
 The current time. More...
 

Detailed Description

Abstract class implementing time dependent linear forms.

In order to get the linear form at time t, call the time function with argument t.

Author
Manuel Walser, 2002

Definition at line 35 of file vectors.hh.

Constructor & Destructor Documentation

◆ TimeLinearForm()

timestepping::TimeLinearForm::TimeLinearForm ( )
inline

Definition at line 37 of file vectors.hh.

Member Function Documentation

◆ info()

◆ operator()()

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

◆ time() [1/2]

Real timestepping::TimeLinearForm::time ( )
inline

Returns time_.

Definition at line 41 of file vectors.hh.

◆ time() [2/2]

virtual void timestepping::TimeLinearForm::time ( Real  time)
inlinevirtual

Sets time_.

Reimplemented in vectorial::TimeLinearForm.

Definition at line 39 of file vectors.hh.

Member Data Documentation

◆ time_

Real timestepping::TimeLinearForm::time_
protected

The current time.

Definition at line 44 of file vectors.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