#include <bilinearForm2D.hh>
Public Member Functions | |
| virtual void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< Real > &em) const |
| void | operator() (const linearFEM::Quad &elmX, const linearFEM::Quad &elmY, concepts::ElementMatrix< Real > &em) const |
| void | operator() (const linearFEM::Triangle &elmX, const linearFEM::Triangle &elmY, concepts::ElementMatrix< Real > &em) const |
| virtual Identity2d * | clone () const |
| virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em) const=0 |
| virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em, const ElementPair< typename Realtype< Real >::type > &ep) const |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Discrete equivalent for a reaction term in 2D for linear FEM. This bilinear form computes the mass matrix resulting from the discretization of a reaction term with reaction coefficient 1:
![\[ \int_K \phi_i \phi_j \, dx \]](form_677.png)
for the element shape functions 
Definition at line 63 of file bilinearForm2D.hh.
|
inlinevirtual |
Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::BilinearForm< Real >.
Definition at line 81 of file bilinearForm2D.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::DivDiv< Weight >, hp2D::RotRot, hp2Dedge::Rotuv, hp2Dedge::EdgeIdentity, hp3D::DivDiv< Weight >, hp3D::Hook, and hp3D::RotRot.
|
pure virtualinherited |
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 |
|
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 |
Definition at line 57 of file bilinearForm.hh.
| void linearFEM::Identity2d::operator() | ( | const linearFEM::Quad & | elmX, |
| const linearFEM::Quad & | elmY, | ||
| concepts::ElementMatrix< Real > & | em | ||
| ) | const |
Computes the element mass matrix for a quadrilateral. The mass matrix has to be integrated numericaly since the Jacobian of the element map is not constant.
| void linearFEM::Identity2d::operator() | ( | const linearFEM::Triangle & | elmX, |
| const linearFEM::Triangle & | elmY, | ||
| concepts::ElementMatrix< Real > & | em | ||
| ) | const |
Computes the element mass matrix for a triangle. The mass matrix is precomputed since the element map is constant.