hybrid system for multi-language and multi-environment generation of numerical codes
The paper presents a hybrid system for automatic generation of numerical procedures for various finite element environments from the same symbolic description. The system consists of two major components. The Mathematica package AceGen is used for the automatic derivation of formulae needed in numerical procedures. An approach, implemented in AceGen , avoids the usual problem of uncontrollable growth of expressions by combining several techniques: symbolic and algebraic capabilities of Mathematica , automatic differentiation technique, automatic code generation, simultaneous optimization of expressions and theorem proving by a stochastic evaluation of the expressions. The Computational Templates package is a collection of prearranged modules for the creation of the finite element templates that enables the generation of multi-language and multi-environment finite element codes.
finite element environments code generation symbolic approach