1648 Commits

Author SHA1 Message Date
5f25de32f9 SCHEMES: Adopt update_flux_srmhd_adi() to use separate reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 23:01:16 -03:00
7a2c83d0ea SCHEMES: Adopt update_flux_srhd_adi() to use separate reconstruction.
Implement reconstruction based on 3-vector and 4-vector as well.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 22:52:40 -03:00
5c8d60e47e SCHEMES: Adopt update_flux_mhd_adi() to use separate reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 20:56:21 -03:00
bbac5511f8 SCHEMES: Adopt update_flux_mhd_iso() to use separate reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 20:46:27 -03:00
5d5b277e9b SCHEMES: Move GLM solver to Riemann solver subroutines for adiabatic SRMHD.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 20:34:20 -03:00
fd3ddd5e8a SCHEMES: Move GLM solver to Riemann solver subroutines for adiabatic MHD.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 20:29:25 -03:00
58d0c03036 SCHEMES: Move GLM solver to Riemann solver subroutines for isothermal MHD.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 19:48:46 -03:00
704ec5754d SCHEMES: Make state variable argument 'inout' in Riemann solvers.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 19:15:42 -03:00
bf38b8ad04 SCHEMES: Remove reconstruct_states_1d().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 19:04:36 -03:00
87ac23663e INTERPOLATIONS: Implement interfaces separately along each direction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 23:39:08 -03:00
b2830f7979 INTERPOLATIONS: Limit derivatives instead in interfaces_tvd().
Try better for positive variable interpolation. Limit the derivatives
instead of zeroing them.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 20:37:53 -03:00
a74240e3b5 Merge branch 'master' into full_reconstruction 2016-08-12 20:27:24 -03:00
c58117d7ed BOUNDARIES: Guarantee positivity in block_face_prolong().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 20:25:28 -03:00
68087041db BOUNDARIES: Guarantee positivity in block_edge_prolong().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 20:21:55 -03:00
17f46cf1d6 BOUNDARIES: Guarantee positivity in block_corner_prolong().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 20:17:10 -03:00
753b288b71 MESH: Make sure the negativity is detected in the full cell.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 20:11:11 -03:00
25ba130da3 MESH: Guarantee the positivity of positive variables in prolongation.
We use 1D TVD limiter to prolongate blocks, but in 2D or 3D they can
produce negative values of positive variables in the corners. Detect
such situation and limit the derivatives until the whole interpolated
region is positive.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-12 19:24:31 -03:00
cbf9c081ec SCHEMES: Move interface interpolation to module INTERPOLATIONS.
This will allow for implementations of truly multidimentional
interpolations.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-09 16:00:41 -03:00
1ee7e0b402 SCHEMES: Adopt update_flux_hd_iso() to use separate reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-01 23:44:09 -03:00
e5cfae408a SCHEMES: Move reconstruction part to new subroutine.
The reconstruction in all three directions has been moved to a separate
subroutine in order to make it generic. It will allow for introducing a
full two or three dimensional reconstruction. This is for adiabatic
hydrodynamics so far, but other set of equations will be supported in
the following changes.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-01 23:36:15 -03:00
954a287129 SCHEMES: Separate reconstruction and solver in update_flux_hd_adi().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-07-30 00:22:20 -03:00
677284b003 EVOLUTION, SCHEMES: Calculate all directional fluxes at once.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-07-26 22:47:55 -03:00
744c213648 INTERPOLATIONS: Implement reconstruction based on Gaussian Processes.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-07-23 19:18:41 -03:00
84b20d6d6a ALGEBRA: Add subroutine to invert arbitrary matrix.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-07-23 14:43:20 -03:00
8c947eab75 INTEGRALS: Implement reconnection rate terms.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-05-13 20:00:15 -03:00
1576802a48 BOUNDARIES: Do not apply curl-free condition to reconnection boundaries.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-05-13 14:01:42 -03:00
bac3af0617 Merge branch 'master' into reconnection 2016-05-13 13:55:33 -03:00
bc1a7b9c98 OPERATORS: Make derivative subroutines public as well.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-05-13 13:53:08 -03:00
80372a620d Merge branch 'master' into reconnection 2016-03-10 07:23:33 -03:00
a8afe2d3d7 BOUNDARIES: Handle magnetic field in the reflective boundaries.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-03-10 07:23:09 -03:00
b4d0b32379 Merge branch 'master' into reconnection 2015-12-18 06:56:24 -02:00
1b8add50eb MESH: Fix block statistics calculation after job restart.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-18 06:55:32 -02:00
8b84f7b735 Merge branch 'master' into reconnection 2015-12-14 20:07:16 -02:00
14d2b82a02 INTERPOLATIONS: Implement low-dissipation version of CRMP5 method.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-14 18:59:11 -02:00
6412e00d03 INTERPOLATIONS: Make two extrema points monotonic in WENO5NS.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-14 09:48:11 -02:00
4ce1b6574b INTERPOLATIONS: Make two extrema points monotonic in WENO5YC.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-14 09:46:25 -02:00
a66cb723e4 INTERPOLATIONS: Make two extrema points monotonic in WENO5Z.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-14 09:44:45 -02:00
a4c805c32f Merge branch 'master' into reconnection 2015-12-13 16:07:43 -02:00
c7e0a3e17c INTERPOLATIONS: Make the extrema points monotonic in CRWENO5NS.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 12:55:34 -02:00
e49a186f22 INTERPOLATIONS: Make the extrema points monotonic in CRWENO5YC.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 12:48:54 -02:00
1185ee2072 INTERPOLATIONS: Make the extrema points monotonic in CRWENO5Z.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 12:42:18 -02:00
b60840bc53 INTERPOLATIONS: Make the extrema points monotonic in WENO5NS.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 12:34:53 -02:00
2f0d9f056b INTERPOLATIONS: Make the extrema points monotonic in WENO5YC.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 12:31:23 -02:00
600e93239b Merge branch 'master' into reconnection 2015-12-13 11:43:51 -02:00
2f26b79e79 INTERPOLATIONS: Make the extrema points monotonic in CRMP5.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 11:34:03 -02:00
c22a5437b8 INTERPOLATIONS: Make the extrema points monotonic in MP5.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 11:10:31 -02:00
28324447c4 INTERPOLATIONS: Parameter eps should be at least 1.0d-12 for LIMO3.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 10:59:31 -02:00
5b5efea431 INTERPOLATIONS: Make LIMO3 reconstruction symmetric.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 10:56:28 -02:00
f96c0d0297 INTERPOLATIONS: Make the extrema points monotonic in WENO5Z.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 09:14:34 -02:00
dbe5fe71a0 INTERPOLATIONS: Make the extrema points monotonic in LIMO3.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 08:59:21 -02:00