942 Commits

Author SHA1 Message Date
Grzegorz Kowal
d20487494f Add subroutine copy_boundaries() to module BOUNDARIES. 2012-08-02 18:28:33 -03:00
Grzegorz Kowal
b276bbec00 Add new subroutine prolong_boundaries() to BOUNDARIES. 2012-08-02 18:18:30 -03:00
Grzegorz Kowal
2aa2ed841a Add new subroutine restrict_boundaries() to BOUNDARIES. 2012-08-02 18:09:50 -03:00
Grzegorz Kowal
d9a43e8b32 Add subroutine update_corners() to module BOUNDARIES.
This subroutine is called before the boundary update and assures that
the values stored in all cells of block are physical, even if they do
not influence the solution.
2012-08-02 17:21:42 -03:00
Grzegorz Kowal
c49dabf737 First step of the BOUNDARY module rewrite. 2012-08-02 16:05:02 -03:00
Grzegorz Kowal
179ae41321 Fix compilation when MPI=N. 2012-08-02 15:09:44 -03:00
Grzegorz Kowal
fd7b393415 Implement storing refinement criterion values if DEBUG is on. 2012-08-02 13:09:44 -03:00
Grzegorz Kowal
9dbb5186ec First step of the module IO rewrite. 2012-08-02 00:35:37 -03:00
Grzegorz Kowal
eff71922d2 Change the default refinement criterion parameters. 2012-08-01 19:13:13 -03:00
Grzegorz Kowal
1d02d28905 Rename subroutine boundary_correct_fluxes() to boundary_fluxes(). 2012-08-01 17:41:56 -03:00
Grzegorz Kowal
85c25ea2c4 Correct comments. 2012-08-01 17:25:49 -03:00
Grzegorz Kowal
9c1bda9e6c Rewrite Roe's Riemann solvers and eigensystem for HYDRO. 2012-08-01 17:24:12 -03:00
Grzegorz Kowal
2c463858e7 Add compilation flag FIX_POSITIVITY. 2012-08-01 16:56:14 -03:00
Grzegorz Kowal
c6f046485f Remove all occurences of the flag CONSERVATIVE.
The scheme is fully conservative now.
2012-08-01 16:52:07 -03:00
Grzegorz Kowal
abc98f8369 Implement positivity fix subroutine in module INTERPOLATIONS. 2012-08-01 16:42:45 -03:00
Grzegorz Kowal
88bbafeeb4 Rename module SCHEME to SCHEMES and rewrite it completely. 2012-08-01 16:38:10 -03:00
Grzegorz Kowal
4006de5584 Update makefile after the rename of file scheme.F90. 2012-08-01 12:59:27 -03:00
Grzegorz Kowal
02fc228cd6 Rename file scheme.F90 to schemes.F90. 2012-08-01 12:58:19 -03:00
Grzegorz Kowal
bbed8c41e5 Rewrite module EVOLUTION. Move update_interval() to SCHEME.
Improve subroutine comments and remove unused code.
2012-08-01 12:56:52 -03:00
Grzegorz Kowal
2413de249f Move maxspeed() to module EQUATIONS. 2012-08-01 12:16:38 -03:00
Grzegorz Kowal
fca524da42 Remove all remaining and unused evolution subroutines. 2012-07-31 17:43:11 -03:00
Grzegorz Kowal
abc6c263b0 Remove subroutine evolve(). 2012-07-31 17:40:34 -03:00
Grzegorz Kowal
ec16790010 Use fluxspeed() from module EQUATIONS in SCHEME. 2012-07-31 17:02:29 -03:00
Grzegorz Kowal
c15296df8e In Riemann solvers use prim2cons() from module EQUATIONS. 2012-07-31 16:57:39 -03:00
Grzegorz Kowal
bc57d406d1 Use primitive variables in maxspeed() and remove cons2prim(). 2012-07-31 16:55:00 -03:00
Grzegorz Kowal
db606cfa1a Use primitive variables in the Riemann solvers.
There is no need to convert conservative variables to primitive ones,
since they are already up to date, so pass primitive variables directly
to Riemann solvers in subroutine update_flux().
2012-07-31 16:49:14 -03:00
Grzegorz Kowal
272b40ddbb Move primitive variable update for all blocks to update_variables(). 2012-07-31 16:38:16 -03:00
Grzegorz Kowal
e0860d9afb Move variable interval calculation to update_interval(). 2012-07-31 16:23:20 -03:00
Grzegorz Kowal
3d5582f230 Remove flag CONSERVATIVE from advance_rk2(). 2012-07-31 16:04:43 -03:00
Grzegorz Kowal
68dc3de4d9 Move flux update of data blocks to update_fluxes(). 2012-07-31 16:02:59 -03:00
Grzegorz Kowal
e3df4f38f2 Update time step after updating primitive variables in advance(). 2012-07-31 15:16:25 -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
Grzegorz Kowal
b337e89f88 Merge branch 'master' into new_time_advance 2012-07-31 14:37:34 -03:00
Grzegorz Kowal
771c769c70 Fix the flux boundary update. 2012-07-31 14:37:05 -03:00
Grzegorz Kowal
2e26d47362 Add two arrays of conserved variables to the block structure.
In these two arrays we store temporary states during the Runge-Kutta
integration.  The new pointer %u in the block structure points to the
current array of the conservative variables.
2012-07-31 14:14:42 -03:00
Grzegorz Kowal
b09f21351a Remove variable conversion and dependency on SCHEME from module IO. 2012-07-28 14:21:39 -03:00
Grzegorz Kowal
bff5db8b71 Rewrite the blast problem. 2012-07-28 14:11:07 -03:00
Grzegorz Kowal
0f57b01d61 Rewrite main program in driver.F90. 2012-07-28 13:48:15 -03:00
Grzegorz Kowal
f5347db830 Rename initialize_mpi() and finalize_mpi() subroutines. 2012-07-28 12:29:44 -03:00
Grzegorz Kowal
50429d322d First step of the rewrite of the main program. 2012-07-28 12:24:12 -03:00
Grzegorz Kowal
f74412ccd7 Correct comments in module PROBLEMS. 2012-07-28 12:13:58 -03:00
Grzegorz Kowal
f74146691c Remove completely dependencies and module CONFIG. 2012-07-28 12:12:35 -03:00
Grzegorz Kowal
03bace4603 Move iterm from CONFIG to common block. 2012-07-28 12:03:17 -03:00
Grzegorz Kowal
4cca807172 Remove module dependency of EVOLUTION on CONFIG. 2012-07-28 11:47:14 -03:00
Grzegorz Kowal
287e3690eb Remove IO module dependency on CONFIG. 2012-07-28 08:43:11 -03:00
Grzegorz Kowal
ecc715b535 Use primitive variables in the refinement criterion check. 2012-07-27 22:47:39 -03:00
Grzegorz Kowal
d230bc369e Update primitive variables for each block after each time advance. 2012-07-27 22:33:18 -03:00
Grzegorz Kowal
06d5f3178c Add new subroutine update_primitive_variables(). 2012-07-27 22:28:29 -03:00
Grzegorz Kowal
087b9bc282 Rewrite the blast problem setup. 2012-07-27 22:13:52 -03:00