Cantera  3.1.0a4
Loading...
Searching...
No Matches

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

Collaboration diagram for Basic Functors:

Detailed Description

Basic 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 basic functor object (see Basic Functors).
 

Function Documentation

◆ newFunc1()

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

Create a new basic functor object (see Basic 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.