#include <vectorial.hh>
Public Member Functions | |
| BilinearForm (const uint vdim1, const uint vdim2=0) | |
| BilinearForm (const BilinearForm &b) | |
Copy constructor. This copy constructor performs a deep copy of b. | |
| virtual BilinearForm * | clone () const |
| virtual void | put (concepts::BilinearForm< F, G > &bf, const int i, const int j) |
| void | putStore (concepts::BilinearForm< F, G > *bf, const int i, const int j) |
| void | putStore (concepts::RCP< concepts::BilinearForm< F, G > > bf, const int i, const int j) |
| void | putData (concepts::Cloneable *data) |
| BilinearForm< F, G > & | reset () |
| Clear the stores bilinear forms and the shared data. | |
| virtual void | operator() (const concepts::Element< G > &elmX, const concepts::Element< G > &elmY, concepts::ElementMatrix< F > &em) 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 | insert (F &vdata, const int a=0, const int b=0) |
| Add a component. | |
| virtual const F * | get (const int a, const int b=0) const |
| Get a component. | |
| uint | vdim () const |
| Returns number of components. | |
Public Attributes | |
| uint | vdim2 |
| vectorial dimension of second argument of bilinear form | |
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< F * > | vdata_ |
| Storage. | |
Vector valued bilinear form.
Definition at line 317 of file vectorial.hh.
|
inline |
Constructor.
| vdim1 | vectorial dimension of test functions |
| vdim2 | vectorial dimension of trial functions. Defaults to vdim1 |
Definition at line 324 of file vectorial.hh.
|
virtual |
Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::BilinearForm< F, G >.
|
inlinevirtualinherited |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< F, G >.
|
virtualinherited |
Add a component.
Definition at line 94 of file vectorial.hh.
|
virtual |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep.
em has the correct size. | elmX | Left element |
| elmY | Right element |
| em | Return element matrix |
| ep | Element pair holding more information on the pair elmX and elmY |
Reimplemented from concepts::BilinearForm< F, G >.
|
virtual |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.
em has the correct size. | elmX | Left element (test functions) |
| elmY | Right element (trial functions) |
| em | Return element matrix |
Implements concepts::BilinearForm< F, G >.
|
virtual |
insert a Bilinearform bf of one vectorial dimension to the all v-dimensionial Bilinearform
| i | row number of v-dimensions (test functions) |
| j | column number of v-dimensions (trial functions) |
|
inline |
Stores data in sharedData_ (this includes destruction of sharedData_ at cleanup).
Definition at line 354 of file vectorial.hh.
| 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.
|
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.
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
| uint vectorial::BilinearForm< F, G >::vdim2 |
vectorial dimension of second argument of bilinear form
Definition at line 368 of file vectorial.hh.
|
protectedinherited |
Number of components.
Definition at line 80 of file vectorial.hh.