#include <formulaLiCo.hh>
Public Types | |
typedef Real | value_type |
typedef Realtype< Real >::type | G |
Public Member Functions | |
FormulaLiCo (const Formula< Real > &frmA, const Formula< Real > &frmB, Real cA, Real cB) | |
virtual Formula< Real > * | clone () const |
Return a clone of this linear combination. | |
virtual Real | operator() (const Real p, const Real t=0.0) const |
Application operator for one dimension. | |
virtual Real | operator() (const Real2d &p, const Real t=0.0) const |
Application operator for two dimensions. | |
virtual Real | operator() (const Real3d &p, const Real t=0.0) const |
Application operator for three dimensions. | |
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< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
virtual const F & | dflt_value () const |
Gives default value. | |
virtual F & | dflt_value () |
Gives default value. | |
virtual Real | operator() (const Connector &cntr, const Real p, const Real t=0.0) const |
virtual Real | operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const |
virtual Real | operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Linear combination of two formulae. Calculates cA * frmA(x,t) + cB * frmB(x,t).
Definition at line 19 of file formulaLiCo.hh.
|
inherited |
Definition at line 37 of file formula.hh.
|
inherited |
Definition at line 36 of file formula.hh.
|
inline |
Constructor.
frmA | formula A |
frmB | formula B |
cA | coefficient of frmA |
cB | coefficient of frmB |
Definition at line 27 of file formulaLiCo.hh.
Return a clone of this linear combination.
Implements concepts::Formula< Real >.
Definition at line 30 of file formulaLiCo.hh.
|
inlinevirtualinherited |
Gives default value.
Definition at line 83 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Gives default value.
Definition at line 81 of file piecewiseFormula.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::FormulaExpImag1D, concepts::FormulaExpImag2D, concepts::FormulaExpImag2DRadialDer, concepts::FormulaExpImag2DGrad, concepts::FormulaPMLPowerSigma< F >, concepts::FormulaPMLPowerSigma2D< F >, concepts::FormulaPMLPowerSigmaB2D< F >, concepts::ExplicitResidual< F >, estimator::PolynomialDegrees< dim >, estimator::KeysInfo< F >, concepts::BesselJ< n >, concepts::BesselY< n >, concepts::ConstFormula< F >, concepts::FormulaContainer< F >, concepts::Exp_i_n_phi, concepts::Cos_n_phi, concepts::Sin_n_phi, concepts::Exp_i_n_x, concepts::Cos_n_x, concepts::Sin_n_x, concepts::Exp_i_n_y, concepts::Cos_n_y, concepts::Sin_n_y, concepts::Frm_Product< F, H, J >, concepts::Frm_Sum< F, H, J >, concepts::ParsedFormula< Real >, concepts::ParsedFormula< Cmplx >, concepts::ParsedFormula< Real2d >, concepts::SphericalFormula< Real >, concepts::SphericalFormula< Real2d >, concepts::VectorFormula< F, dim >, concepts::PiecewiseFormula0< F >, concepts::PiecewiseConstFormula< F >, concepts::PiecewiseConstFormula< concepts::Point >, concepts::PiecewiseConstFormula< Real >, concepts::PiecewiseConstDynArrayFormula< F >, concepts::PiecewiseFormula< F >, concepts::PiecewiseFormula< Cmplx >, concepts::PiecewiseFormula< Cmplx2d >, concepts::PiecewiseFormula< concepts::Point >, concepts::PiecewiseFormula< Real >, concepts::PiecewiseFormulaFun< F, G >, concepts::PiecewiseFormulaFun< Cmplx, Real >, concepts::PiecewiseFormulaFun< Real, Real >, concepts::PiecewiseFormulaCombine< F, G, H, I >, concepts::FormulaFromElementFormula< dim, F, G >, concepts::Wsym_x< dim >, concepts::Wsym_y< dim >, concepts::Wunsym_x< dim >, concepts::Wunsym_y< dim >, concepts::FormulaPMLPowerSigma< F >, concepts::FormulaPMLPowerSigma2D< F >, concepts::FormulaPMLPowerSigmaB2D< F >, concepts::FormulaExpImag1D, concepts::FormulaExpImag2D, concepts::FormulaExpImag2DRadialDer, concepts::FormulaExpImag2DGrad, concepts::FormulaLayerPlaneWaveSource, concepts::FormulaLayerPlaneWaveSourceGrad, concepts::FormulaLayerPlaneWaveLayer, concepts::FormulaLayerPlaneWaveLayerGrad, and concepts::LocalEstimator< F >.
Definition at line 100 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 53 of file formula.hh.
|
inlinevirtualinherited |
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 56 of file formula.hh.
|
inlinevirtualinherited |
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 59 of file formula.hh.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
inlinevirtualinherited |
Definition at line 52 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Definition at line 57 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Definition at line 63 of file piecewiseFormula.hh.
|
inlinevirtual |
Application operator for one dimension.
Implements concepts::Formula< Real >.
Definition at line 35 of file formulaLiCo.hh.
|
inlinevirtual |
Application operator for two dimensions.
Implements concepts::Formula< Real >.
Definition at line 39 of file formulaLiCo.hh.
|
inlinevirtual |
Application operator for three dimensions.
Implements concepts::Formula< Real >.
Definition at line 43 of file formulaLiCo.hh.