Commit 8aaee55e authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

remove unused function

parent 5466ad2e
......@@ -922,32 +922,3 @@ class NavierStokes(_fluid_particle_base):
self.fluid_loop += update_fields
return None
def launch(
opt,
nu = None):
c = NavierStokes(work_dir = opt.work_dir)
assert((opt.nsteps % 4) == 0)
c.parameters['nx'] = opt.n
c.parameters['ny'] = opt.n
c.parameters['nz'] = opt.n
if type(nu) == type(None):
c.parameters['nu'] = 5.5*opt.n**(-4./3)
else:
c.parameters['nu'] = nu
c.parameters['dt'] = 5e-3 * (64. / opt.n)
c.parameters['niter_todo'] = opt.nsteps
c.parameters['niter_part'] = 2
c.parameters['famplitude'] = 0.2
c.parameters['nparticles'] = 32
if opt.particles:
c.add_particles()
c.add_particles(kcut = 'fs->kM/2')
c.finalize_code()
c.write_src()
c.write_par()
if opt.run:
if opt.iteration == 0 and opt.initialize:
c.generate_initial_condition()
c.run(ncpu = opt.ncpu, njobs = opt.njobs)
return c
......@@ -14,3 +14,4 @@ x 2016-01-15 particle output is broken when niter_part != 1
x 2016-01-19 clean up machine_settings mess @design @documentation +v2.0
x 2016-01-24 clear delimitation of public API @documentation +v1.0
x 2016-01-24 document coordinate conventions @documentation +v1.0
x 2016-01-24 move parameters from _fluid_particle_base to NavierStokes etc @design
(B) compute z polynomials only when needed @optimization +v1.0
(B) move parameters from _fluid_particle_base to NavierStokes etc @design
(B) read https://www.xsede.org/documents/271087/369161/ExtScale-Koziol.pdf @optimization @HDF5 +I/O
(B) set up mechanism for adding in new PDEs @design +v2.0 +alternate_algorithms
(B) tweak HDF5 settings @optimization @HDF5 +I/O
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment