Skip to content
Snippets Groups Projects
Commit cbd84722 authored by bt308146's avatar bt308146
Browse files

fix get value in docs

parent 06500814
No related branches found
No related tags found
1 merge request!140fix get value in docs
Pipeline #254951 passed
...@@ -210,8 +210,8 @@ the following: ...@@ -210,8 +210,8 @@ the following:
c.statistics['tauK'])) c.statistics['tauK']))
data_file = c.get_data_file() data_file = c.get_data_file()
print ('total time simulated is = {0:.4e} Tint, {1:.4e} tauK'.format( print ('total time simulated is = {0:.4e} Tint, {1:.4e} tauK'.format(
data_file['iteration'].value*c.parameters['dt'] / c.statistics['Tint'], data_file['iteration'][()] * c.parameters['dt'] / c.statistics['Tint'],
data_file['iteration'].value*c.parameters['dt'] / c.statistics['tauK'])) data_file['iteration'][()] * c.parameters['dt'] / c.statistics['tauK']))
:func:`compute_statistics <TurTLE.DNS.DNS.compute_statistics>` :func:`compute_statistics <TurTLE.DNS.DNS.compute_statistics>`
will read the data will read the data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment