queso-0.57.1
|
Class for one-dimensional functions. More...
#include <1D1DFunction.h>
Public Member Functions | |
Constructor/Destructor methods | |
Base1D1DFunction (double minDomainValue, double maxDomainValue) | |
Default constructor. More... | |
virtual | ~Base1D1DFunction () |
Destructor. More... | |
Mathematical methods | |
double | minDomainValue () const |
Returns the minimum value of the domain of the (one-dimensional) function. More... | |
double | maxDomainValue () const |
Returns the maximum value of the domain of the (one-dimensional) function. More... | |
virtual double | value (double domainValue) const =0 |
Returns the value of the (one-dimensional) function. See template specialization. More... | |
virtual double | deriv (double domainValue) const =0 |
Returns the value of the derivative of the function. See template specialization. More... | |
virtual double | multiplyAndIntegrate (const Base1D1DFunction &func, unsigned int quadratureOrder, double *resultWithMultiplicationByTAsWell) const |
TODO: Multiplies this function with function , and integrates it numerically. See template specialization. More... | |
Protected Attributes | |
double | m_minDomainValue |
double | m_maxDomainValue |
Class for one-dimensional functions.
Base class for one-dimensional functions.
Definition at line 53 of file 1D1DFunction.h.
QUESO::Base1D1DFunction::Base1D1DFunction | ( | double | minDomainValue, |
double | maxDomainValue | ||
) |
Default constructor.
Definition at line 33 of file 1D1DFunction.C.
References m_maxDomainValue, and m_minDomainValue.
|
virtual |
|
pure virtual |
Returns the value of the derivative of the function. See template specialization.
Implemented in QUESO::LagrangeBasis1D1DFunction, QUESO::LagrangePolynomial1D1DFunction, QUESO::FuncPlusFunc1D1DFunction, QUESO::FuncTimesFunc1D1DFunction, QUESO::ScalarTimesFunc1D1DFunction, QUESO::Sampled1D1DFunction, QUESO::Quadratic1D1DFunction, QUESO::PiecewiseLinear1D1DFunction, QUESO::Linear1D1DFunction, QUESO::Constant1D1DFunction, and QUESO::Generic1D1DFunction.
double QUESO::Base1D1DFunction::maxDomainValue | ( | ) | const |
Returns the maximum value of the domain of the (one-dimensional) function.
Definition at line 54 of file 1D1DFunction.C.
References m_maxDomainValue.
double QUESO::Base1D1DFunction::minDomainValue | ( | ) | const |
Returns the minimum value of the domain of the (one-dimensional) function.
Definition at line 48 of file 1D1DFunction.C.
References m_minDomainValue.
|
virtual |
TODO: Multiplies this
function with function
, and integrates it numerically. See template specialization.
Definition at line 60 of file 1D1DFunction.C.
References value().
|
pure virtual |
Returns the value of the (one-dimensional) function. See template specialization.
Implemented in QUESO::LagrangeBasis1D1DFunction, QUESO::LagrangePolynomial1D1DFunction, QUESO::FuncPlusFunc1D1DFunction, QUESO::FuncTimesFunc1D1DFunction, QUESO::ScalarTimesFunc1D1DFunction, QUESO::Sampled1D1DFunction, QUESO::Quadratic1D1DFunction, QUESO::PiecewiseLinear1D1DFunction, QUESO::Linear1D1DFunction, QUESO::Constant1D1DFunction, and QUESO::Generic1D1DFunction.
Referenced by multiplyAndIntegrate(), QUESO::SubF1F2Gaussian2dKdeIntegral(), QUESO::ScalarTimesFunc1D1DFunction::value(), QUESO::FuncTimesFunc1D1DFunction::value(), and QUESO::FuncPlusFunc1D1DFunction::value().
|
protected |
Definition at line 86 of file 1D1DFunction.h.
Referenced by Base1D1DFunction(), QUESO::Generic1D1DFunction::deriv(), QUESO::Constant1D1DFunction::deriv(), QUESO::Linear1D1DFunction::deriv(), QUESO::PiecewiseLinear1D1DFunction::deriv(), QUESO::Quadratic1D1DFunction::deriv(), QUESO::Sampled1D1DFunction::deriv(), QUESO::ScalarTimesFunc1D1DFunction::deriv(), QUESO::FuncTimesFunc1D1DFunction::deriv(), QUESO::FuncPlusFunc1D1DFunction::deriv(), QUESO::LagrangePolynomial1D1DFunction::deriv(), QUESO::LagrangeBasis1D1DFunction::deriv(), maxDomainValue(), QUESO::Sampled1D1DFunction::set(), QUESO::Generic1D1DFunction::value(), QUESO::Constant1D1DFunction::value(), QUESO::Linear1D1DFunction::value(), QUESO::PiecewiseLinear1D1DFunction::value(), QUESO::Quadratic1D1DFunction::value(), and QUESO::Sampled1D1DFunction::value().
|
protected |
Definition at line 85 of file 1D1DFunction.h.
Referenced by Base1D1DFunction(), QUESO::Generic1D1DFunction::deriv(), QUESO::Constant1D1DFunction::deriv(), QUESO::Linear1D1DFunction::deriv(), QUESO::PiecewiseLinear1D1DFunction::deriv(), QUESO::Quadratic1D1DFunction::deriv(), QUESO::Sampled1D1DFunction::deriv(), QUESO::ScalarTimesFunc1D1DFunction::deriv(), QUESO::FuncTimesFunc1D1DFunction::deriv(), QUESO::FuncPlusFunc1D1DFunction::deriv(), QUESO::LagrangePolynomial1D1DFunction::deriv(), QUESO::LagrangeBasis1D1DFunction::deriv(), minDomainValue(), QUESO::Sampled1D1DFunction::set(), QUESO::Generic1D1DFunction::value(), QUESO::Constant1D1DFunction::value(), QUESO::Linear1D1DFunction::value(), QUESO::PiecewiseLinear1D1DFunction::value(), QUESO::Quadratic1D1DFunction::value(), and QUESO::Sampled1D1DFunction::value().