#include <bilinearForm.hh>
Public Member Functions | |
BilinearFormLiCo (BilinearForm< F, G > &bfA, BilinearForm< F, G > &bfB, const F cA=1.0, const F cB=1.0) | |
BilinearFormLiCo (const BilinearFormLiCo &b) | |
Copy constructor. This copy constructor implements a deep copy. | |
virtual void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const |
virtual BilinearFormLiCo< F, G > * | clone () const |
virtual void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
A linear combination of bilinear forms. The resulting element matrices of the bilinear forms are added into each other with the correct coefficient and can then be assembled.
Definition at line 78 of file bilinearForm.hh.
|
inline |
Constructor
bfA | First bilinear form |
bfB | Second bilinear form |
cA | Coefficient of bfA |
cB | Coefficient of bfB |
Definition at line 86 of file bilinearForm.hh.
|
inlinevirtual |
Definition at line 96 of file bilinearForm.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 >.
|
protectedvirtual |
Returns information in an output stream.
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 >.
|
inlinevirtualinherited |
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 in vectorial::BilinearForm< F, G >.
Definition at line 57 of file bilinearForm.hh.