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

Safe HaskellNone
LanguageHaskell2010

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)) => Show (OM vector gauge anot) Source 
Nameable (OM v g a) Source 

makeOM Source

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.