792 Commits

Author SHA1 Message Date
756c456c10 PARAMETERS: Slightly rewrite the module.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 15:46:38 -02:00
610685cc07 SCHEMES: Correct spelling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 13:00:58 -02:00
b20d11a159 TIMERS: Add timer counters.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:48:58 -02:00
2dbd70ac72 SCHEMES: Add subroutine profiling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:32:19 -02:00
d964ccaaec SCHEMES: Nullify procedure pointers in finalize_schemes().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:21:43 -02:00
f422d5d399 EVOLUTION: Nullify pointers in finalize_evolution().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:18:04 -02:00
0208b3768a INTERPOLATIONS: Add module subroutines profiling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:12:16 -02:00
f50a070c2c EQUATIONS: Add module subroutines profiling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:06:35 -02:00
788d328f7a Update years in copyright information.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 11:52:59 -02:00
861e765906 PROBLEMS: Fix blast problem default parameters.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 11:40:58 -02:00
e35a54de4a REFINEMENT: Make Intel compiler happy.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 11:36:37 -02:00
d5c819057c IO: Rewrite write_data().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 18:13:12 -02:00
f435a44065 IO: Add module subroutines profiling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 18:07:10 -02:00
7a4e402c8a BLOCKS, IO, MESH: Rename nchild to nchildren.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 17:58:40 -02:00
35f3490eb8 REFINEMENT: Return to recommended refinement thresholds.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 17:41:27 -02:00
acb7eb812d MESH, REFINEMENT: Use statement formatting.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 17:41:04 -02:00
9d7f4b2196 Makefile: Add missing compilation dependence.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 17:37:13 -02:00
053e72ead4 MESH: Rewrite check_mesh().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 15:17:27 -02:00
24b644aa6a MESH: Rewrite prolong_block() and restrict_block().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 15:14:31 -02:00
c1db19d55f MESH: Rewrite update_mesh().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 15:11:03 -02:00
c6c1ed97ed MESH: Relocate store_mesh_stats() in the module.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 13:17:25 -02:00
081eeee471 MESH: Add module subroutines profiling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 13:15:17 -02:00
c877cc6b7c MESH: Rewrite redistribute_blocks().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-27 08:02:07 -02:00
758c712991 MESH: Rewrite initialization and statistics.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-26 19:51:26 -02:00
fa87332225 REFINEMENT: Improve comments.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-26 18:07:23 -02:00
7bf2d7f438 REFINEMENT: Add timers to count timing of refinement.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-26 18:04:02 -02:00
4c081a84bb DRIVER: Improve the run/save time handling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-26 17:54:56 -02:00
a7eed177c1 REFINEMENT: Rewrite the refined variable selection.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-26 17:32:11 -02:00
e19cf534b5 COORDINATES: Fix the formatting again.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 23:10:39 -02:00
ec5516fae1 COORDINATES: Fix information formatting.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 21:52:58 -02:00
e1d554aea7 DOMAINS: Do not allocate data blocks in setup_domain().
The initial data block structure is fully allocated in generate_mesh()
of module MESH.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 21:38:37 -02:00
156d8cf1dd MESH: Rewrite generate_mesh().
The new version uses the minimum amount of memory (1 data block per
process) with a small sacrifice of the problem initialization speed.
This version fully supports 2D and 3D with and without MPI.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 21:35:30 -02:00
3052f9aa04 BLOCKS: Replace associate_blocks() with link/unlink_block().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 18:19:13 -02:00
853618b874 MESH: Replace deallocate_datablock() with remove_datablock().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 17:44:36 -02:00
42c39c5736 BLOCKS: Rewrite data block allocate/removal subroutines.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 17:40:49 -02:00
bc095863c7 IO: Revert comment from the last commit.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 16:44:56 -02:00
3e5f8407f6 IO: Store metablocks only if there are some.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-23 16:44:15 -02:00
9517e6ce4c SCHEMES: Implement isothermal MHD HLLD-M Riemann solver.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-20 14:01:33 -02:00
3735112d9a SCHEMES: Implement isothermal MHD HLLD Riemann solver.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-20 13:53:45 -02:00
7f63bd65be Remove unused preprocessor flags.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 19:09:01 -02:00
5662c2e4b7 COORDINATES: Fix grammar in initialize_coordinates().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 15:03:33 -02:00
aaf75ab123 REFINEMENT: Avoid division by zero in second_derivative_error().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 14:51:58 -02:00
85b92c8090 REFINEMENT: Take absolute values in the error calculation.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 14:47:12 -02:00
072f234e0f REFINEMENT: Rewrite check_refinement_criterion().
Move the second derivative error estimation to another subroutine and
allow to specify which variables should control the refinement.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 14:36:37 -02:00
b73ce00ddb INTERPOLATIONS: Implement LimO3 reconstruction.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 10:38:40 -02:00
1d961330e7 BOUNDARIES: Fix group summation in boundary_restrict().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 10:26:39 -02:00
c1afbb46c8 BOUNDARIES: Group summation in boundary_restrict().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 10:25:02 -02:00
b21b7f99d1 MESH: Change summation order in restrict_block().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 10:18:06 -02:00
2a8eee95c0 BOUNDARIES: Rewrite boundary_restrict().
Make sure that the summation produces symmetric error.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 10:09:08 -02:00
70d43808b0 MESH: Rewrite restrict_block().
Make sure that the summation symmetry is preserved.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-19 09:48:53 -02:00