This is a utility to change the value of a uniform on multiple solvers. It can be useful when implementing user interactions with a WebGL application that utilizes multiple solvers and the same uniform needs to be updated on multiple sets of the solvers.
Abubu.setUniformInSolvers( uniformName, uniformNewValue, arrayOfSolvers) ;
Uppon executing the above line, the uniform with the name
uniformName will be update with the new value of
uniformNewValue on all the solvers in the array
Abubu.setUniformInSolvers( 'diffusion', 1.5, [ solver1, solver2, solver3 ] ) ;
Execution of the above line, updates a uniform with the name
'diffusion' with the new value of