concepts::FrmE_Product< F, H, J, G > Class Template Referenceabstract
Product of two element formulas or an element formula and a factor. More...
#include <frmE_product.hh>
Public Types | |
typedef F | value_type |
Public Member Functions | |
virtual FrmE_Product< F, H, J, G > * | clone () const |
Virtual constructor. More... | |
virtual ElementFormula< F, typename Realtype< F >::type > * | clone () const=0 |
Virtual copy constructor. More... | |
FrmE_Product (const ElementFormulaContainer< H > frm1, const ElementFormulaContainer< J > frm2) | |
FrmE_Product (const ElementFormulaContainer< H > frm1, const J a) | |
FrmE_Product (const FrmE_Product< F, H, J, G > &frm) | |
Copy constructor. More... | |
virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual F | operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual F | operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual | ~FrmE_Product () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Member Functions | |
FrmE_Product (const ElementFormulaContainer< H > frm1, const ElementFormulaContainer< J > frm2, const RCP< J > a) | |
Private constructor. More... | |
Private Attributes | |
RCP< J > | a_ |
Constant factor instead of an ElementFormula (not necessary scalar) More... | |
ElementFormulaContainer< H > | frm1_ |
First ElementFormula. More... | |
ElementFormulaContainer< J > | frm2_ |
Second ElementFormula. More... | |
Detailed Description
template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
class concepts::FrmE_Product< F, H, J, G >
Product of two element formulas or an element formula and a factor.
- Parameters
-
F type of the product element formula H type of the first element formula J type of the second element formula or the factor G type of the basis functions
Definition at line 39 of file frmE_product.hh.
Member Typedef Documentation
◆ value_type
|
inherited |
Definition at line 37 of file elementFormula.hh.
Constructor & Destructor Documentation
◆ FrmE_Product() [1/4]
|
inline |
Definition at line 41 of file frmE_product.hh.
◆ FrmE_Product() [2/4]
|
inline |
Definition at line 48 of file frmE_product.hh.
◆ FrmE_Product() [3/4]
|
inline |
Copy constructor.
Definition at line 56 of file frmE_product.hh.
◆ ~FrmE_Product()
|
inlinevirtual |
Definition at line 59 of file frmE_product.hh.
◆ FrmE_Product() [4/4]
|
inlineprivate |
Private constructor.
Definition at line 119 of file frmE_product.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 96 of file frmE_product.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual copy constructor.
Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.
◆ info()
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 101 of file frmE_product.hh.
◆ operator()() [1/6]
|
inlinevirtual |
Definition at line 63 of file frmE_product.hh.
◆ operator()() [2/6]
|
inlinevirtual |
Definition at line 74 of file frmE_product.hh.
◆ operator()() [3/6]
|
inlinevirtual |
Definition at line 85 of file frmE_product.hh.
◆ operator()() [4/6]
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.
◆ operator()() [5/6]
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.
◆ operator()() [6/6]
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ElementFormulaContainer< F >, and concepts::ElementFormulaContainer< F, typename Realtype< F >::type >.
Member Data Documentation
◆ a_
|
private |
Constant factor instead of an ElementFormula (not necessary scalar)
Definition at line 116 of file frmE_product.hh.
◆ frm1_
|
private |
First ElementFormula.
Definition at line 112 of file frmE_product.hh.
◆ frm2_
|
private |
Second ElementFormula.
Definition at line 114 of file frmE_product.hh.
The documentation for this class was generated from the following file:
- formula/frmE_product.hh