48 const Array<
OneD,
const Array<OneD, NekDouble> > &Fwd,
49 const Array<
OneD,
const Array<OneD, NekDouble> > &Bwd,
50 Array<
OneD, Array<OneD, NekDouble> > &flux)
54 int expDim = Fwd.num_elements()-1;
59 for (
int i = 0; i < Fwd[0].num_elements(); ++i)
62 Fwd [0][i], Fwd [1][i], 0.0,
63 Bwd [0][i], Bwd [1][i], 0.0,
64 flux[0][i], flux[1][i], hvf);
69 for (
int i = 0; i < Fwd[0].num_elements(); ++i)
72 Fwd [0][i], Fwd [1][i], Fwd [2][i],
73 Bwd [0][i], Bwd [1][i], Bwd [2][i],
74 flux[0][i], flux[1][i], flux[2][i]);
79 ASSERTL0(
false,
"No 3D Shallow water supported.");