summaryrefslogtreecommitdiff
path: root/src/research.py
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-05-26 01:41:18 +0400
committereug-vs <eugene@eug-vs.xyz>2022-05-26 01:41:18 +0400
commit519da34ae60842b248997f04daaf21d98e7f572a (patch)
treebd0fec0043cc6fdf2404551615d59852f5e567c5 /src/research.py
parent7a948fe1d90e858902766dd49143f9ec46188bec (diff)
downloadCFD-SIMPLE-519da34ae60842b248997f04daaf21d98e7f572a.tar.gz
feat: minor improvements
Diffstat (limited to 'src/research.py')
-rw-r--r--src/research.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/research.py b/src/research.py
index 8c46877..e085b07 100644
--- a/src/research.py
+++ b/src/research.py
@@ -32,7 +32,7 @@ class Research:
error = self.model.avg_error()
print(f'Iteration {iteration}, avg error: {error}')
- if iteration % 10 == 0 or iteration == 1:
+ if iteration % 50 == 0 or iteration == 1:
if preview or save_plot:
self.plotter.plot(self.model, normalize=True)
if preview:
@@ -52,7 +52,7 @@ class Research:
self.inspect()
def inspect(self):
- self.plotter.plot(self.model, streamplot=True)
+ self.plotter.plot(self.model, streamplot=True, density=1)
while True:
self.plotter.show()