Cantera  3.1.0a1

Simple functors implement standard mathematical expressions with a single parameter. More...

Collaboration diagram for Simple Functors:

Detailed Description

Simple functors implement standard mathematical expressions with a single parameter.

The following simple functor types are implemented:

Classes

class  Sin1
 Implements the sin() function. More...
 
class  Cos1
 Implements the cos() function. More...
 
class  Exp1
 Implements the exp() (exponential) function. More...
 
class  Log1
 Implements the log() (natural logarithm) function. More...
 
class  Pow1
 Implements the pow() (power) function. More...
 
class  Const1
 Implements a constant. More...
 

Functions

shared_ptr< Func1newFunc1 (const string &func1Type, double coeff=1.)
 Create a new simple functor object (see Simple Functors). More...
 

Function Documentation

◆ newFunc1()

shared_ptr< Func1 > newFunc1 ( const string &  func1Type,
double  coeff = 1. 
)

Create a new simple functor object (see Simple Functors).

Parameters
func1TypeString identifying functor type.
coeffCoefficient; definition depends on functor type.
Since
New in Cantera 3.0

Definition at line 145 of file Func1Factory.cpp.