concepts::BilinearF_W< F, H, J, G > Class Template Referenceabstract
Product of scalar and a bilinear form with possible different field type F
.
More...
#include <bilinearForm.hh>
Public Member Functions | |
BilinearF_W (const BilinearFormContainer< H, G > bf1, const J w) | |
virtual BilinearF_W< F, H, J, G > * | clone () const |
Virtual constructor. More... | |
virtual BilinearForm * | clone () const=0 |
Virtual constructor. More... | |
void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const |
virtual void | operator() (const Element< typename Realtype< F >::type > &elmX, const Element< typename Realtype< F >::type > &elmY, ElementMatrix< F > &em) const=0 |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
virtual void | operator() (const Element< typename Realtype< F >::type > &elmX, const Element< typename Realtype< F >::type > &elmY, ElementMatrix< F > &em, const ElementPair< typename Realtype< F >::type > &ep) const |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
virtual | ~BilinearF_W () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
BilinearFormContainer< H, G > | bf1_ |
First element formula. More... | |
J | w_ |
the scalar value More... | |
Detailed Description
template<class F, class H = F, class J = F, class G = typename Realtype<F>::type>
class concepts::BilinearF_W< F, H, J, G >
Product of scalar and a bilinear form with possible different field type F
.
Definition at line 274 of file bilinearForm.hh.
Constructor & Destructor Documentation
◆ BilinearF_W()
|
inline |
Definition at line 276 of file bilinearForm.hh.
◆ ~BilinearF_W()
|
inlinevirtual |
Definition at line 283 of file bilinearForm.hh.
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::Cloneable.
Definition at line 303 of file bilinearForm.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implemented in concepts::BilinearFormContainer< F, typename Realtype< F >::type >.
◆ info()
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< F, typename Realtype< F >::type >.
Definition at line 308 of file bilinearForm.hh.
◆ operator()() [1/3]
|
inline |
Definition at line 285 of file bilinearForm.hh.
◆ operator()() [2/3]
|
pure virtualinherited |
Evaluates the bilinear form for all shape functions on elmX
and elmY
and stores the result in the matrix em
.
- Postcondition
- The returned matrix
em
has the correct size.
- Parameters
-
elmX Left element (test functions) elmY Right element (trial functions) em Return element matrix
Implemented in concepts::BilinearFormContainer< F, typename Realtype< F >::type >.
◆ operator()() [3/3]
|
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
.
- Postcondition
- The returned matrix
em
has the correct size.
- Parameters
-
elmX Left element elmY Right element em Return element matrix ep Element pair holding more information on the pair elmX
andelmY
Definition at line 57 of file bilinearForm.hh.
Member Data Documentation
◆ bf1_
|
private |
First element formula.
Definition at line 314 of file bilinearForm.hh.
◆ w_
|
private |
the scalar value
Definition at line 316 of file bilinearForm.hh.
The documentation for this class was generated from the following file:
- operator/bilinearForm.hh