hp2Dedge::RotRot< F > Class Template Referenceabstract
A function class to calculate element matrices for the Rot u Rot v-bilinearform (Maxwell equations). More...
#include <bilinearForm.hh>
Public Member Functions | |
virtual RotRot< F > * | clone () const |
Virtual constructor. More... | |
virtual BilinearForm * | clone () const=0 |
Virtual constructor. More... | |
void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &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< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em, const ElementPair< typename Realtype< Real >::type > &ep) const |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
void | operator() (const Quad< Real > &elmX, const Quad< Real > &elmY, concepts::ElementMatrix< F > &em) const |
RotRot (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >()) | |
Constructor. More... | |
virtual | ~RotRot () |
Protected Member Functions | |
void | computeIntermediate_ (const BaseQuad< Real > &elm) const |
Compute the intermediate data for element matrix computation. More... | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
concepts::ElementFormulaContainer< Real > | frm_ |
ElementFormula. More... | |
concepts::Array< Real > | intermediateValue_ |
Intermediate value. More... | |
Detailed Description
template<typename F = Real>
class hp2Dedge::RotRot< F >
A function class to calculate element matrices for the Rot u Rot v-bilinearform (Maxwell equations).
Definition at line 62 of file bilinearForm.hh.
Constructor & Destructor Documentation
◆ RotRot()
hp2Dedge::RotRot< F >::RotRot | ( | const concepts::ElementFormulaContainer< F > | frm = concepts::ElementFormulaContainer< F >() | ) |
Constructor.
◆ ~RotRot()
|
inlinevirtual |
Definition at line 68 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 69 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.
◆ computeIntermediate_()
|
protectedinherited |
Compute the intermediate data for element matrix computation.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< Real >.
◆ operator()() [1/4]
void hp2Dedge::RotRot< F >::operator() | ( | const concepts::Element< Real > & | elmX, |
const concepts::Element< Real > & | elmY, | ||
concepts::ElementMatrix< F > & | em | ||
) | const |
◆ operator()() [2/4]
|
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
◆ operator()() [3/4]
|
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.
◆ operator()() [4/4]
void hp2Dedge::RotRot< F >::operator() | ( | const Quad< Real > & | elmX, |
const Quad< Real > & | elmY, | ||
concepts::ElementMatrix< F > & | em | ||
) | const |
Member Data Documentation
◆ frm_
|
protectedinherited |
ElementFormula.
Definition at line 276 of file bilinearFormHelper.hh.
◆ intermediateValue_
|
mutableprotectedinherited |
The documentation for this class was generated from the following file:
- hp2Dedge/bilinearForm.hh