#include <timeLinearForm.hh>
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::TimeLinearForm * | get (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. | |
Vector valued time dependent linear form. Consists of vdim
timestepping::TimeLinearForms and sets the time of all of them when the time is set.
Definition at line 26 of file timeLinearForm.hh.
|
inline |
Definition at line 29 of file timeLinearForm.hh.
|
inlinevirtualinherited |
Get a component.
Definition at line 74 of file vectorial.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< Real >.
|
virtualinherited |
Add a component.
Definition at line 72 of file vectorial.hh.
|
pure virtualinherited |
Computes the element contribution to the function.
elm | Element on which the computations should be performed |
em | The local matrix |
|
inlineinherited |
Returns time_
.
Definition at line 41 of file vectors.hh.
|
virtual |
set the time of all scalar linear forms
Reimplemented from timestepping::TimeLinearForm.
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
|
protectedinherited |
The current time.
Definition at line 44 of file vectors.hh.
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
|
protectedinherited |
Number of components.
Definition at line 80 of file vectorial.hh.