Skip to content
Snippets Groups Projects
Commit 56468f13 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fixes collision test

parent 7dae7947
No related branches found
No related tags found
1 merge request!133refactor initial condition
Pipeline #239314 passed
......@@ -210,6 +210,16 @@ class ADNS_Stokes_test(TurTLE.DNS):
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING')
return None
def generate_initial_condition(
self,
opt = None):
f = h5py.File(self.get_checkpoint_0_fname(), 'a')
f['vorticity/complex/0'] = self.generate_vector_field(
write_to_file = False,
rseed = self.parameters['field_random_seed'])
f.close()
return None
def launch(
self,
args = [],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment