1635 Commits

Author SHA1 Message Date
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
bc1a7b9c98 OPERATORS: Make derivative subroutines public as well.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-05-13 13:53:08 -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
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
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
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
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
a876581745 INTERPOLATIONS: Make the extrema points monotonic in WENO3.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 08:53:15 -02:00
d2ca2551dd INTERPOLATIONS: Make the extrema points monotonic in TVD.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-13 08:48:20 -02:00
164f809ee5 Revert "INTERPOLATIONS: Make sure MC, VL, and SB limiters do not overshoot."
This reverts commit 99cc1ca2abcf3e52ecfcf6bc66ee051cf034bbce.
2015-12-10 11:22:23 -02:00
9cf87ed959 EQUATIONS: Make optional arguments really optional in fluxspeed().
This commit makes the optional arguments working only in relativistic
systems.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-10 07:25:17 -02:00
5056ac452b EQUATIONS: Make optional arguments really optional in fluxspeed().
This commit makes the optional arguments working only in classical systems.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-10 07:07:10 -02:00
5957461d92 REFINEMENT: Add vorticity based criterion.
Also, calculate vorticity and current density assuming dx=dy=dz=1, so
the criterion value is level independent.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-09 07:41:46 -02:00
224cc37b53 INTERPOLATIONS: Remove unused variables.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-08 09:54:35 -02:00
c382b714ad INTERPOLATIONS: Use tridiag() solver in CRWENO5NS reconstruction.
Also fix the matrix coefficient calculation.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-08 09:53:34 -02:00
e3d91d48f1 INTERPOLATIONS: Use tridiag() solver in CRWENO5YC reconstruction.
Also fix the matrix coefficient calculation.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-08 09:23:13 -02:00
52f520f215 INTERPOLATIONS: Use tridiag() solver in CRWENO5Z reconstruction.
Also fix the matrix coefficient calculation.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-08 09:14:48 -02:00
a00dc32c71 INTERPOLATIONS: Use tridiag() solver in CRMP5 reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-08 08:21:39 -02:00
eb118745a1 ALGEBRA: Add tridiagonal linear system solver.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-08 08:03:08 -02:00
68b56b08ce INTERPOLATIONS: Fix weigth coeffcients in compact WENO methods.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-06 12:28:26 -02:00
5794ab4b13 INTERPOLATIONS: Fix weigth coeffcients in explicit WENO methods.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-06 12:03:59 -02:00
132cd3326f Revert "INTERPOLATIONS: Correct weights in WENO5Z reconstruction."
This reverts commit 9cf1eb846a3eec90f30f9fe6499adefc3ecc5519.
2015-12-06 11:44:45 -02:00
9cf1eb846a INTERPOLATIONS: Correct weights in WENO5Z reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-06 11:17:37 -02:00
eaf4f7adfa INTERPOLATIONS: Implement 5th order Compact MP method.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-04 17:52:21 -02:00
33576cecc3 INTERPOLATIONS: Implement 5th order Monotonicity Preserving method.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-04 17:32:27 -02:00
ea66b5b169 BLOCKS: Do not mark neighbors of refined/derefined blocks for update.
The previous commit fixes the problem with updating boundaries for
changed blocks. It means that we don't need to mark all their neighbors
for update as well.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-04 10:21:46 -02:00
bbc09f5585 BOUNDARIES: Update boundaries if any of block has update flag set.
We can have a situation when the whole block was changed and its update
flag was set. The boundaries of the block have to be updated too,
however, the neighbor's update flag is unset. This creates a undesired
situation of the block boundaries not being updated.

Just check if either the block or its neighbor has been set to update to
avoid the above situation.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-12-04 10:09:43 -02:00
81f79dee7c PARAMETERS: Support "" and '' in string parameters.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-07-03 17:00:01 -03:00
04998c29c1 README: Add point about special relativity support.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-24 17:01:01 -03:00
929789c116 IO: Store the equation system and equation of state among attributes.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-24 16:53:58 -03:00
647fa7a2ea IO: Add subroutine to store string attributes.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-24 16:53:16 -03:00
a76063783e EQUATIONS: Make variable eos unique.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-24 16:15:43 -03:00
2005abf687 EQUATIONS: Make variable eqsys unique.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-24 16:12:25 -03:00
6e20fa26a9 Rename LICENSE to LICENSE.md.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-15 21:55:59 -03:00
7947b7126d Rename README to README.md.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-15 21:55:10 -03:00
f7ef45c559 MESH: Fix indices to fill the borders in restrict_block().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-08 20:13:43 -03:00
4a5cec8168 EVOLUTION: No need to initialize fluxes in update_fluxes().
The fluxes are already initialized in update_flux().

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2015-06-05 19:09:46 -03:00