#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 Laplace2d * | 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 of the Laplacian in 2D for linear FEM. This bilinear form computes the stiffness matrix resulting from the discretization of the Laplacian (with integration by parts):
for the element shape functions .
Definition at line 30 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 48 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::Laplace2d::operator() | ( | const linearFEM::Quad & | elmX, |
const linearFEM::Quad & | elmY, | ||
concepts::ElementMatrix< Real > & | em | ||
) | const |
Computes the element stiffness matrix for a quadrilateral. The stiffness matrix has to be integrated numericaly since the Jacobian of the element map is not constant.
void linearFEM::Laplace2d::operator() | ( | const linearFEM::Triangle & | elmX, |
const linearFEM::Triangle & | elmY, | ||
concepts::ElementMatrix< Real > & | em | ||
) | const |
Computes the element stiffness matrix for a triangle. The stiffness matrix is precomputed since the element map is constant.