Index beta
# Computation
-kinet = fftbox(beta, ket[beta])
+kinet = fftbox(ket[beta])
# Implementation specific
target ONETEP
private val ppdWidth = for(dim <- 0 to 2) yield CellInfo.public % CellInfo.ppdWidth(dim)
}
-class SpatialRestriction(op: IterationSpace, function: BindingIndex) extends IterationSpace {
+class SpatialRestriction(op: IterationSpace) extends IterationSpace {
def getOperands = List(op)
def getDiscreteIndices = Nil
def getSuffixFragment = new NullStatement
term match {
case (t: IndexedIdentifier) => buildIndexedSpace(t)
- case Operator(Identifier("fftbox"), List(indexID, op)) =>
- new SpatialRestriction(buildExpression(op), buildIndex(indexID))
+ case Operator(Identifier("fftbox"), List(op)) =>
+ new SpatialRestriction(buildExpression(op))
/*
case ScalarConstant(s) => new Scalar(s)