FEDEM Solver  R8.0
Source code of the dynamics solver
Functions
FFaMathExprFactory_F.C File Reference
#include "FFaMathExpr/FFaMathExprFactory.H"
#include "FFaLib/FFaOS/FFaFortran.H"
Include dependency graph for FFaMathExprFactory_F.C:

Functions

 SUBROUTINE (ffame_create, FFAME_CREATE) const
 Creates a math expression. More...
 
 DOUBLE_FUNCTION (ffame_getvalue, FFAME_GETVALUE) const
 Returns a value from the expression. More...
 
 DOUBLE_FUNCTION (ffame_getvalue2, FFAME_GETVALUE2) const
 Returns a value from the multi-variable expression. More...
 
 DOUBLE_FUNCTION (ffame_getdiff, FFAME_GETDIFF) const
 Returns a value from the differentiated expression. More...
 
 DOUBLE_FUNCTION (ffame_getdiff2, FFAME_GETDIFF2) const
 Returns a value from the differentiated multi-variable expression. More...
 

Function Documentation

◆ DOUBLE_FUNCTION() [1/4]

DOUBLE_FUNCTION ( ffame_getdiff  ,
FFAME_GETDIFF   
) const

Returns a value from the differentiated expression.

  • exprId - Id of the expression to evaluate
  • arg - Argument to the function expression
    Returns
    Corresponding function derivative, i.e., f'(arg)

◆ DOUBLE_FUNCTION() [2/4]

DOUBLE_FUNCTION ( ffame_getdiff2  ,
FFAME_GETDIFF2   
) const

Returns a value from the differentiated multi-variable expression.

  • exprId - Id of the expression to evaluate
  • i - Argument index to differentiate the expression with respect to
  • arg - Arguments to the function expression
    Returns
    Corresponding function derivative, df/dargi

◆ DOUBLE_FUNCTION() [3/4]

DOUBLE_FUNCTION ( ffame_getvalue  ,
FFAME_GETVALUE   
) const

Returns a value from the expression.

  • exprId - Id of the expression to evaluate
  • arg - Argument to the function expression
    Returns
    Corresponding function value, f(arg)

◆ DOUBLE_FUNCTION() [4/4]

DOUBLE_FUNCTION ( ffame_getvalue2  ,
FFAME_GETVALUE2   
) const

Returns a value from the multi-variable expression.

  • exprId - Id of the expression to evaluate
  • arg - Arguments to the function expression
    Returns
    Corresponding function value, f(arg[0],arg[1],...)

◆ SUBROUTINE()

SUBROUTINE ( ffame_create  ,
FFAME_CREATE   
) const

Creates a math expression.

  • narg - Number of arguments
  • expr - User-defined function expression
  • expId - Associated expression id
Note
Existing expressions are replaced.