Special Purpose Functions
Advanced Computational Language » Functions
Collaboration diagram for Special Purpose Functions:

## Classes

class | acl::ElementConvert
| realizes `convert_` functionality More...

## Functions

Element | acl::elementOperators::excerpt (Element source, Element filter)
Element | acl::elementOperators::parse (const std::vector< std::pair< Element, std::string > > &elementNamePairs, const std::string &statement)
Element | acl::elementOperators::convert (const TypeID tName, Element e1, bool strong=true)
Element | acl::elementOperators::printfFunction (std::string args)
void | acl::initData (Element a, Element initializationValue, const KernelConfiguration &kernelConfig=KERNEL_BASIC)

## Detailed Description

## Function Documentation

## convert()

Element acl::elementOperators::convert | ( | const TypeID | tName,
|  | Element | e1,
|  | bool | strong = `true`
| ) |  |

type conversion

Examples
  testKernel.cc.

## excerpt()

Element acl::elementOperators::excerpt | ( | Element | source,
|  | Element | filter
| ) |  |

Creates excerpt from source defined by filter by replacing of "INDEX" occurrences in source->str() by filter->str()

Examples
  testPerformance.cc.

## initData()

void acl::initData | ( | Element | a,
|  | Element | initializationValue,
|  | const KernelConfiguration & | kernelConfig = `KERNEL_BASIC`
| ) |  |

function writes data from `initializationValue` to `a`

Examples
  cubeGravity.cc, cubeIncompressibleGravity.cc, jumpingBox.cc, poroelastic.cc, testASLData.cc, and testReductionFunction.cc.

## parse()

Element acl::elementOperators::parse | ( | const std::vector< std::pair< Element, std::string > > & | elementNamePairs,
|  | const std::string & | statement
| ) |  |

Parses statement by replacing occurrences of element's names by corresponding element->str() from elementNamePairs

## printfFunction()

Element acl::elementOperators::printfFunction | ( | std::string | args | ) |

printf()