Navigation

Operators and Keywords

Function List:

C++ API

 Sparse operator for staggering.

 S = sparse_stagger(sz1,m,cyclic)

 Create a sparse operator for staggering a field in dimension m.
 The field is a "collapsed" matrix of the size sz1.

 Input:
   sz1: size of rhs
   m: dimension to stagger
   cyclic: true if domain is cyclic along dimension m. False is the
   default value

Package: divand