f9b390d55e
Merge branch 'master' into gem-reconnection-challenge
2023-02-07 10:19:21 -03:00
9f74a1e0c9
INTERPOLATIONS: Correct mispelled name in mp_limiter().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2023-02-07 10:14:20 -03:00
57795f0ca3
INTERPOLATIONS: Rewrite the monotonicity-preserving limiter.
...
Restore the original Suresh & Huynh limiter and add modification by
Ahn & Lee for compact schemes. Additionally, pass the variable
positivity flag and for positive variables modifie the lower limit
using the minimum value obtained from the cubic spline interpolation.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2023-02-07 10:11:48 -03:00
81de98d9e2
Update the copyright year to 2023.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2023-02-01 18:36:37 -03:00
d9a7cc1b9e
STATISTICS: Calculate current density only if magnetic field present.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-12-17 15:09:57 -03:00
4f8c9219b2
MESH: Rewrite and simplify redistribute_blocks().
...
Attribute new process division and distribute data blocks in one loop.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-12-08 12:48:54 -03:00
7da9421744
BLOCKS: Do nothing if processes are equal in change_blocks_process().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-12-06 13:01:13 -03:00
295453b01c
IO: Distribute files better among the restarting processes.
...
This is an improvement in the case a job restarted with a higher
number of processes. The reading of data blocks is spread among new
processes, so it better balances memory.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-12-04 20:16:55 -03:00
d9101794bc
Merge branch 'master' into gem-reconnection-challenge
2022-11-27 16:00:41 -03:00
f59db0375f
FORCING: Add parameter 'driving_velocity'.
...
By default this parameter is set to zero and the behavior is the same as
before. However, if this parameter is set to a value larger than zero,
it determines the driving time scale for the Ornstein–Uhlenbeck method,
and the injection power for the Alvelius method.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-27 15:55:57 -03:00
f742662d9a
README: Update supported Riemann solvers.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-25 18:26:26 -03:00
0cd26a7683
Merge branch 'master' into gem-reconnection-challenge
2022-11-25 18:22:45 -03:00
0a20337054
EVOLUTION: Remove debug check for NaNs.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-25 18:16:02 -03:00
b28a42427c
FORCING: Parallelize inject_eddy() using OpenMP.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-25 18:13:22 -03:00
9ee8c0a2ae
FORCING: Slightly rewrite the parallelization of get_vcoefs().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-25 18:10:12 -03:00
89be37c8b5
FORCING: Parallelize inject_fmodes() using OpenMP.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-25 16:07:04 -03:00
36544af793
FORCING: Parallelize get_vcoefs() using OpenMP.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-25 16:06:15 -03:00
cd69ef4447
Merge branch 'master' into gem-reconnection-challenge
2022-11-16 15:52:12 -03:00
ec7d12260e
FORCING: Adjust forcing modes for domain smaller than unity.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-16 13:41:43 -03:00
8da8927a35
Merge branch 'master' into gem-reconnection-challenge
2022-11-11 17:50:24 -03:00
c06bce0ee0
CMAKE: Allow enabling/disabling FMA only on x86_64 architecture.
...
By default disable FMA on x86_64.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-11 17:45:57 -03:00
8191e2ceb1
Merge branch 'master' into gem-reconnection-challenge
2022-11-07 19:58:44 -03:00
22104fb867
FORCING: Fix region of turbulence driving.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-11-07 19:56:47 -03:00
d95549fda7
USER_PROBLEMS: Fix user boundary conditions.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-24 15:55:46 -03:00
2c59d9ba5b
Merge branch 'master' into gem-reconnection-challenge
2022-10-24 10:07:58 -03:00
caa0a1bcdb
STATISTICS: Fix averaging of the boundary fluxes.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-24 10:06:36 -03:00
be01bc13fe
Merge branch 'master' into gem-reconnection-challenge
2022-10-24 08:56:34 -03:00
5c8d13f385
STATISTICS: Remove unused variables.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-24 08:54:03 -03:00
fbfc1983e6
STATISTICS: Implement mass and energy conservation terms calculation.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-23 22:42:17 -03:00
b953ebed09
Merge branch 'master' into statistics-rework
2022-10-23 18:46:03 -03:00
f539dbe3bb
PYTHON: Increase amunpy version to 0.9.9.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-23 15:56:43 -03:00
41bfe45764
PYTHON: Correct calculation of electric field.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-23 15:55:08 -03:00
296da6a63e
STATISTICS: Introduce flags to enable/disable statistics collection.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 12:37:20 -03:00
a70a74d231
Revert "CMAKE: Disable FMA optimizations by default."
...
This reverts commit 94ad4878502dcbd23945dbd03790504989b63c79.
It breaks CI on ARM64 machine.
2022-10-17 11:35:03 -03:00
94ad487850
CMAKE: Disable FMA optimizations by default.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 11:32:27 -03:00
5952bcdb34
CMAKE: Turn off OpenMP by default.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 11:31:30 -03:00
336a04377b
BOUNDARIES: Remove unused variables.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 11:29:58 -03:00
64c58bb4bd
EQUATIONS: Make compiler happy with imported variables.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 11:26:19 -03:00
8b98176f02
PROBLEMS: Add the GEM problem parameters' file.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 11:21:23 -03:00
b6d86db3dc
USER_PROBLEM: Implement setup for GEM magnetic reconnection challenge.
...
See, e.g., Birn et al., Journal of Geophysical Research, 2001, 106, A3,
3715-3719, DOI:10.1029/1999JA900449.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-17 11:09:30 -03:00
a09bcfeccb
PYTHON: Increase amunpy version to 0.9.8.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-14 12:41:12 -03:00
b2cc87d0aa
PYTHON: Fix __complete_variables__().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-14 12:34:30 -03:00
0badf0d143
PYTHON: Increase amunpy version to 0.9.7.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-06 13:08:22 -03:00
9190efe4a8
PYTHON: Add pressure for the isothermal case.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-06 07:58:37 -03:00
3ec21a59cb
PYTHON: Fix reading pressure.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-10-05 22:24:42 -03:00
cd0e6ea675
USEWR_PROBLEM: Fix identation in setup_user_problem().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-09-30 19:12:01 -03:00
cd9b909333
USER_PROBLEM: Correct arguments for update_user_sources().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-09-30 19:09:59 -03:00
dac7a1fcfe
CI: Never pull image.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-09-30 18:44:10 -03:00
a8fb5d33c5
Revert "CI: Update image to ubuntu-hpc:latest."
...
This reverts commit 203d5df7b8ee6448baad9e3b1b19f8dd54ea4277.
2022-09-30 18:40:31 -03:00
203d5df7b8
CI: Update image to ubuntu-hpc:latest.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-09-30 18:29:41 -03:00