70a0b137b6
DRIVER: Make sure we compare the same data types.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-08-04 09:54:49 -03:00
9ac290f980
DRIVER: Change real variables to double precision.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-08-04 09:14:53 -03:00
7500981dbe
DRIVER: Update boundaries just after problem initialization.
...
Otherwise we can get some kind of mass leaking problem, like in the case
of Kelvin-Helmholtz test.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-06-11 23:06:28 -03:00
b4d2055f8b
OPERATORS: Add initialization/finalization subroutines.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-05-28 18:21:16 -03:00
8ac8248279
SOURCES: Add initial version of source terms module.
...
This contains only point mass gravitational acceleration so far, as an
example.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-04-29 18:35:58 -03:00
22f71ac94e
DRIVER: Set the maximum number of iterations to a huge number.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-04-02 15:25:08 -03:00
73cbed8192
PROBLEMS: Rewrite module.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-02-07 13:57:28 -02:00
e0ca4b0392
SHAPES: Add new module to handle shapes embedded in domain.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-02-07 12:12:27 -02:00
29a1aa67d7
DRIVER: Add missing comma.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-30 17:55:41 -02:00
cddf77613e
BLOCKS: Rewrite initialize_blocks() and finalize_blocks().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-15 10:33:37 -02:00
2983ba0580
INTEGRALS: Rewrite module. Add profiling.
...
Now, after restarting a job, a new integrals file is created. Integrals
are stored after interval controlable by the parameter
'integrals_interval'. Also profiling has been added to measure time
spent on the integrals calculation.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-10 12:42:18 -02:00
1e7cb2a72c
DRIVER: Store mesh statistics after restart as well.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-09 12:50:05 -02:00
08353c6fca
IO: Implement restart snapshot intervals.
...
Using the runtime parameter 'restart_interval', which is a value
expressed in hours, we can control how often the restart snapshot is
written. This is useful for long runs if we want to reduce the risk of
loosing too many processor hours.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-09 12:13:26 -02:00
b196256479
IO: Modify the way the job restart is handled by the code.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-09 11:22:23 -02:00
578ddbf7ea
IO: Rename public subroutines *_data() to *_snapshot().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-09 09:29:22 -02:00
c01e0760fe
DRIVER, IO: Implement precise snapshot times.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-08 18:07:54 -02:00
8009d6ff5c
EVOLUTION: Rename n and t to step and time, respectively.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-08 17:34:15 -02:00
f08b917208
DRIVER: Increase nrun for the restarted jobs.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-08 17:08:08 -02:00
3443dc18aa
IO: Rewrite subroutine read_data_h5().
...
The new version of subroutine read_data_h5() allows for restart a job
more efficiently with flexibility of changing the number of used
processes, both smaller or larger than the number of restart files.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-08 16:53:26 -02:00
4fd23fb32b
IO: Rename restart_job() to read_restart_data().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-08 11:38:18 -02:00
75f756238b
DRIVER: Correct loop termination conditions.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-08 11:14:50 -02:00
3f6e61e08e
DRIVER: Remove cruft.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-06 13:42:47 -02:00
8c59513f0c
DRIVER: Fix execution time calculation.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-06 13:40:11 -02:00
79bc31c918
DRIVER: Rewrite execution timing printing.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-06 11:37:27 -02:00
eb65443039
BOUNDARIES: Rewrite initialize_boundaries().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 17:18:42 -02:00
b20d11a159
TIMERS: Add timer counters.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 12:48:58 -02:00
788d328f7a
Update years in copyright information.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-01-02 11:52:59 -02:00
758c712991
MESH: Rewrite initialization and statistics.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-26 19:51:26 -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
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
360fc7a0c6
PROBLEMS: Rewrite blast problem.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-12 16:09:47 -02:00
a59220bac3
EVOLUTION: Remove parameter dtini.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 22:48:48 -02:00
a8e06fa535
INTERPOLATIONS: rewrite module, use procedure pointers.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 22:34:29 -02:00
618969e22e
Delete cruft after FORCING removal.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 18:13:12 -02:00
5c064987e4
DRIVER: Cleanups.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 17:29:15 -02:00
e2c80a5552
TIMERS: Rewrite slightly.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 17:18:56 -02:00
ad15dec7cd
COORDINATES: Improve initialization/finalization subroutines.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 17:01:22 -02:00
071a414969
EVOLUTION: Module rewrite.
...
The time integration method can be chose now through the runtime
parameter 'time_advance'.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 10:59:25 -02:00
9c6ed6bdbf
Slightly organize information printing.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 10:22:51 -02:00
5dc8dba168
SCHEMES: complete rewrite of the module.
...
Riemann solver is selected now through the runtime parameter
'riemann_solver'.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 10:16:06 -02:00
601a35eeb0
EQUATIONS should be initialized after MPI.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 00:09:15 -02:00
74e5058dd8
Update the year in copyright.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-11 00:06:30 -02:00
f48950aa4d
EQUATIONS: Completely rewrite this module.
...
Now, module EQUATIONS provides a complet interface for equation systems,
including the definition of the number of equations/independent
variables, variable indices and names, conversion subroutines between
primitive and conservative variables, flux and characteristic speed
calculation, and maximum speed determination.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-10 20:56:37 -02:00
386fd36f5e
Update copyright line.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-10 15:23:28 -02:00
Grzegorz Kowal
179ae41321
Fix compilation when MPI=N.
2012-08-02 15:09:44 -03:00
Grzegorz Kowal
9dbb5186ec
First step of the module IO rewrite.
2012-08-02 00:35:37 -03:00
Grzegorz Kowal
eda9cdcf43
Make subroutine find_new_timestep() private.
...
Also call it in initialize_evolution().
2012-07-31 15:13:51 -03:00
Grzegorz Kowal
63d1c8c0b1
Implement subroutines advance() and advance_rk2().
...
Subroutine advance() is a replacement for the subroutine evolve(). It
performs one step variable update by calling the selected integration
method. So far only 2nd order Runge-Kutta is supported, which is
implemented in subroutine advance_rk2().
Subroutine advance_rk2() advances the conservative variables by one step
using the 2nd order Runge-Kutta method with the boundary update after
each substep. This results in the reduced number of ghost zones, for
example 2 instead of 4, as in the previous version.
2012-07-31 15:04:40 -03:00