Brick Library 0.1
Performance-portable stencil datalayout & codegen
Variables
7pt Namespace Reference

Variables

 i = Index(0)
 
 j = Index(1)
 
 k = Index(2)
 
 input = Grid("bIn", 3)
 
 output = Grid("bOut", 3)
 
list param
 
list calc = param[0] * input(i, j, k) + \
 
list STENCIL = [output]
 

Variable Documentation

◆ calc

list 7pt.calc = param[0] * input(i, j, k) + \

◆ i

7pt.i = Index(0)

◆ input

7pt.input = Grid("bIn", 3)

◆ j

7pt.j = Index(1)

◆ k

7pt.k = Index(2)

◆ output

7pt.output = Grid("bOut", 3)

◆ param

list 7pt.param
Initial value:
1= [ConstRef("coeff[0]"), ConstRef("coeff[1]"),
2 ConstRef("coeff[2]"), ConstRef("coeff[3]"),
3 ConstRef("coeff[4]"), ConstRef("coeff[5]"),
4 ConstRef("coeff[6]")]

◆ STENCIL

list 7pt.STENCIL = [output]