concepts::ElementFormulaLiCo< F, G, H, J > Class Template Referenceabstract
#include <formula.hh>
Public Types | |
typedef Real | value_type |
Public Member Functions | |
virtual ElementFormulaLiCo< F, G, H, J > * | clone () const |
Virtual constructor. More... | |
virtual ElementFormula< Real, typename Realtype< Real >::type > * | clone () const=0 |
Virtual copy constructor. More... | |
ElementFormulaLiCo (const ElementFormula< F, J > &frm1, const ElementFormula< G, J > &frm2, H a=1.0, H b=1.0) | |
ElementFormulaLiCo (const ElementFormulaLiCo< F, G, H, J > &frm) | |
virtual F | operator() (const ElementWithCell< J > &elm, const Real p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< J > &elm, const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< J > &elm, const Real3d &p, const Real t=0.0) const |
virtual Real | operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Real | operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Real | operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual | ~ElementFormulaLiCo () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Member Functions | |
template<typename P > | |
F | combine_ (const ElementWithCell< J > &elm, const P &p, const Real t=0.0) const |
Method for calculating the return value. More... | |
Private Attributes | |
const H | a_ |
Scalar factors. More... | |
const H | b_ |
std::unique_ptr< const ElementFormula< F, J > > | frm1_ |
1st element formulas More... | |
std::unique_ptr< const ElementFormula< G, J > > | frm2_ |
2nd element formulas More... | |
Detailed Description
template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
class concepts::ElementFormulaLiCo< F, G, H, J >
Definition at line 39 of file formula.hh.
Member Typedef Documentation
◆ value_type
|
inherited |
Definition at line 37 of file elementFormula.hh.
Constructor & Destructor Documentation
◆ ElementFormulaLiCo() [1/2]
|
inline |
Definition at line 41 of file formula.hh.
◆ ElementFormulaLiCo() [2/2]
|
inline |
Definition at line 45 of file formula.hh.
◆ ~ElementFormulaLiCo()
|
inlinevirtual |
Definition at line 48 of file formula.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 63 of file formula.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual copy constructor.
Implemented in concepts::ElementFormulaContainer< Real >.
◆ combine_()
|
private |
Method for calculating the return value.
Definition at line 83 of file formula.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 91 of file formula.hh.
◆ operator()() [1/6]
|
inlinevirtual |
Definition at line 51 of file formula.hh.
◆ operator()() [2/6]
|
inlinevirtual |
Definition at line 55 of file formula.hh.
◆ operator()() [3/6]
|
inlinevirtual |
Definition at line 59 of file formula.hh.
◆ operator()() [4/6]
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ElementFormulaContainer< Real >.
◆ operator()() [5/6]
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ElementFormulaContainer< Real >.
◆ operator()() [6/6]
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ElementFormulaContainer< Real >.
Member Data Documentation
◆ a_
|
private |
Scalar factors.
Definition at line 74 of file formula.hh.
◆ b_
|
private |
Definition at line 74 of file formula.hh.
◆ frm1_
|
private |
1st element formulas
Definition at line 70 of file formula.hh.
◆ frm2_
|
private |
2nd element formulas
Definition at line 72 of file formula.hh.
The documentation for this class was generated from the following file:
- space/formula.hh