Skip to content

Commit

Permalink
Add comments on 2d open channel example
Browse files Browse the repository at this point in the history
  • Loading branch information
hochunlin committed Jun 23, 2024
1 parent 6dfe8f2 commit c765f47
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
Binary file not shown.
9 changes: 9 additions & 0 deletions examples/2d_open_channel_through_disorder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ nz_low = round(Int,(L_tot-L)/2/dx)
nz_high = nz_low
opts.nz_low = nz_low
opts.nz_high = nz_high
# opts.use_L0_threads = true would enhances the time performance,
# but marginally increases the memoery usage.
# the default of opts.use_L0_threads is true for 2D system.
# here we turn opts.use_L0_threads off, because this L0-threads layer
# in multithreads makes the numerical results slightly depends on the
# number of threads with acceptable error.
# later we want to show that the result from mesti() and mesti2s()
# should be exact the same later, so we turn it off to exclude the influence from
# the this L0-threads layer.
opts.use_L0_threads = false

# for field-profile computations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@
"nz_high = nz_low\n",
"opts.nz_low = nz_low\n",
"opts.nz_high = nz_high\n",
"# opts.use_L0_threads = true would enhances the time performance, \n",
"# but marginally increases the memoery usage. \n",
"# the default of opts.use_L0_threads is true for 2D system.\n",
"# here we turn opts.use_L0_threads off, because this L0-threads layer\n",
"# in multithreads makes the numerical results slightly depends on the\n",
"# number of threads with acceptable error. \n",
"# later we want to show that the result from mesti() and mesti2s()\n",
"# should be exact the same later, so we turn it off to exclude the influence from\n",
"# the this L0-threads layer.\n",
"opts.use_L0_threads = false\n",
"\n",
"# for field-profile computations\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ nz_low = round(Int,(L_tot-L)/2/dx)
nz_high = nz_low
opts.nz_low = nz_low
opts.nz_high = nz_high
# opts.use_L0_threads = true would enhances the time performance,
# but marginally increases the memoery usage.
# the default of opts.use_L0_threads is true for 2D system.
# here we turn opts.use_L0_threads off, because this L0-threads layer
# in multithreads makes the numerical results slightly depends on the
# number of threads with acceptable error.
# later we want to show that the result from mesti() and mesti2s()
# should be exact the same later, so we turn it off to exclude the influence from
# the this L0-threads layer.
opts.use_L0_threads = false

# compute the field-profiles through mesti()
Expand Down
Binary file removed mumps/windows/.Makefile.inc.swp
Binary file not shown.

0 comments on commit c765f47

Please sign in to comment.