# three, two functional spatial variables, COUNT and SUM, referencing the same # stochastic variable, all cases: ENTITY s , "", "tests/model_all_spat/file.txt" { } ENTITY n , "" { } # two-dimensional (spatial = Y) ENTITY three02 , "" , combines(s, n) { INTEGER dept02 ~ discrete_uniform(0, 1) INTEGER st02 = SUM(& dept02) INTEGER ct02 = COUNT(& dept02) } # two-dimensional (spatial = X) ENTITY three03 , "" , combines(n, s) { INTEGER dept03 ~ discrete_uniform(0, 1) INTEGER st03 = SUM(& dept03) INTEGER ct03 = COUNT(& dept03) }