Paraiso-0.3.1.0: a code generator for partial differential equations solvers.

Safe HaskellSafe-Infered

Language.Paraiso.OM

Synopsis

Documentation

data OM vector gauge anot Source

POM is Primordial Orthotope Machine.

Constructors

OM 

Fields

omName :: Name
 
setup :: Setup vector gauge anot
 
kernels :: Vector (Kernel vector gauge anot)
 

Instances

(Show anot, Show (vector gauge), Vector vector) => Show (OM vector gauge anot) 
Nameable (OM v g a) 

makeOMSource

Arguments

:: Name

The machine name.

-> a

The annotation at the root level.

-> [Named DynValue]

The list of static variables.

-> [Named (Builder v g a ())]

The list of pair of the kernel name and its builder.

-> OM v g a

The result.

create a POM easily and consistently.