# cross, two functional spatial variables, COUNT and SUM, referencing # different stochastic variables, two dimensional: ENTITY s , "", "tests/model_all_spat/file.txt" { } ENTITY n , "" { } # two-dimensional (spatial = Y) ENTITY cross02 , "" , combines(s, n) { INTEGER depsc02 ~ discrete_uniform(0, 1) REAL depcc02 ~ continuous_uniform(0, 1) REAL sc02 = SUM(& depsc02) REAL cc02 = COUNT(& depcc02) } # two-dimensional (spatial = X) ENTITY cross03 , "" , combines(n, s) { INTEGER depsc03 ~ discrete_uniform(0, 1) REAL depcc03 ~ continuous_uniform(0, 1) REAL sc03 = SUM(& depsc03) REAL cc03 = COUNT(& depcc03) }