Ignition v0.1.0 documentation

Ignition IntGen

Language

Defines the IntGen (Integral Generator) language.

class ignition.int_gen.language.Add[source]

Function addition

class ignition.int_gen.language.DiscFunc[source]

A discrete function

class ignition.int_gen.language.Dom[source]

The domain

class ignition.int_gen.language.Func[source]

Base Function object, also the symbolic function wrapper

class ignition.int_gen.language.IntGenExpr[source]

Base Expression Object

class ignition.int_gen.language.Integral[source]

An integral

class ignition.int_gen.language.Mul[source]

Function multiplication

Generator

Defines the generators for the IntGen language.

ignition.int_gen.generator.gen_file(name, integrals, func_names, input_vars)[source]

Wrapper to generate numerous integrals in a single file.

ignition.int_gen.generator.int_gen(integral, func_name, input_vars, indent=0)[source]

Main C code generator for a integral expression

ignition.int_gen.generator.select_quad_rule(num_pts, name='Gauss')[source]

Simple selector for quadrature rules