Cantera  3.1.0a1
Loading...
Searching...
No Matches

Helper functions detect simplifications that can be made to compound expressions. More...

Collaboration diagram for Helper Functions:

Detailed Description

Helper functions detect simplifications that can be made to compound expressions.

Functions

shared_ptr< Func1newSumFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2)
 Sum of two functions.
 
shared_ptr< Func1newDiffFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2)
 Difference of two functions.
 
shared_ptr< Func1newProdFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2)
 Product of two functions.
 
shared_ptr< Func1newRatioFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2)
 Ratio of two functions.
 
shared_ptr< Func1newCompositeFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2)
 Composite of two functions.
 
shared_ptr< Func1newTimesConstFunction (shared_ptr< Func1 > f1, double c)
 Product of function and constant.
 
shared_ptr< Func1newPlusConstFunction (shared_ptr< Func1 > f1, double c)
 Sum of function and constant.
 

Function Documentation

◆ newSumFunction()

shared_ptr< Func1 > newSumFunction ( shared_ptr< Func1 f1,
shared_ptr< Func1 f2 
)

Sum of two functions.

Definition at line 556 of file Func1.cpp.

◆ newDiffFunction()

shared_ptr< Func1 > newDiffFunction ( shared_ptr< Func1 f1,
shared_ptr< Func1 f2 
)

Difference of two functions.

Definition at line 577 of file Func1.cpp.

◆ newProdFunction()

shared_ptr< Func1 > newProdFunction ( shared_ptr< Func1 f1,
shared_ptr< Func1 f2 
)

Product of two functions.

Definition at line 600 of file Func1.cpp.

◆ newRatioFunction()

shared_ptr< Func1 > newRatioFunction ( shared_ptr< Func1 f1,
shared_ptr< Func1 f2 
)

Ratio of two functions.

Definition at line 653 of file Func1.cpp.

◆ newCompositeFunction()

shared_ptr< Func1 > newCompositeFunction ( shared_ptr< Func1 f1,
shared_ptr< Func1 f2 
)

Composite of two functions.

Definition at line 673 of file Func1.cpp.

◆ newTimesConstFunction()

shared_ptr< Func1 > newTimesConstFunction ( shared_ptr< Func1 f,
double  c 
)

Product of function and constant.

Definition at line 693 of file Func1.cpp.

◆ newPlusConstFunction()

shared_ptr< Func1 > newPlusConstFunction ( shared_ptr< Func1 f,
double  c 
)

Sum of function and constant.

Definition at line 707 of file Func1.cpp.