Bases: object
Class used by any SPH application.
Constructor
Setup the application’s solver.
This will parse the command line arguments (if this is not called from within an IPython notebook or shell) and then using those parameters and any additional parameters and call the solver’s setup method.
>>> def create_particles():
... ...
...
>>> solver = Solver(...)
>>> equations = [...]
>>> app = Application()
>>> app.setup(solver=solver, equations=equations,
... particle_factory=create_particles)
>>> app.run()