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

Safe HaskellNone
LanguageHaskell2010

Language.Paraiso.Annotation.Boundary

Description

calculate the Valid regions for each Orthotope value where all information needed to update the region is available. also annotates the global boundary condition.

Synopsis

Documentation

newtype Valid g Source

a type that represents valid region of computation.

Constructors

Valid [Interval (NearBoundary g)] 

Instances

Eq g => Eq (Valid g) 
Show g => Show (Valid g) 
Ord g => PiSystem (Valid g) 
Typeable (* -> *) Valid 

data NearBoundary a Source

the displacement around either side of the boundary.

Instances

Eq a => Eq (NearBoundary a) 
Ord a => Ord (NearBoundary a) 
Show a => Show (NearBoundary a) 
Typeable (* -> *) NearBoundary 

data Condition Source

type for global boundary conditions

Constructors

Open

open boundary; do not touch anything

Cyclic

cyclic boundary; data out of the bounds are copied from the other side