114 Commits

Author SHA1 Message Date
9df9b7fa45 Make the config and host file detection similar to GODUNOV.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-10 11:58:26 -02:00
Grzegorz Kowal
b7bdcb3982 Implement MC limiter and use it in prolongation. 2012-08-05 22:03:13 -03:00
Grzegorz Kowal
139a4bca00 Rewrite some subroutines of module INTERPOLATIONS. 2012-08-05 19:42:06 -03:00
Grzegorz Kowal
39afde1328 Check the refinement criterion before storing it in the file.
This step is required, since the mesh can be refined/derefined just
before the snapshot dump.  Since the refinement is checked before the
mesh update, it means that the freshly refined/derefined blocks have
undetermined array %c in their structure.
2012-08-02 23:50:46 -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
4006de5584 Update makefile after the rename of file scheme.F90. 2012-08-01 12:59:27 -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
b09f21351a Remove variable conversion and dependency on SCHEME from module IO. 2012-07-28 14:21:39 -03:00
Grzegorz Kowal
f74146691c Remove completely dependencies and module CONFIG. 2012-07-28 12:12:35 -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
5b2d79a0c4 Remove dependency of PROBLEMS on module SCHEME. 2012-07-27 21:42:10 -03:00
Grzegorz Kowal
fcac1db487 Move domain subroutines to new module DOMAINS. 2012-07-27 21:37:57 -03:00
Grzegorz Kowal
d5e720fb5c Move refinement check to new module REFINEMENT. 2012-07-27 21:28:59 -03:00
Grzegorz Kowal
92462e76b9 Rewrite module PROBLEMS.
Heavy rewrite of the module PROBLEMS in order to remove the dependency
on module CONFIG and improve the cleariness of the module.
2012-07-27 21:13:43 -03:00
Grzegorz Kowal
07048dca7d Update makefile after file problem.F90 rename. 2012-07-27 19:27:42 -03:00
Grzegorz Kowal
fc72250516 Rename module PROBLEM to PROBLEMS and update dependencies. 2012-07-27 19:23:11 -03:00
Grzegorz Kowal
d2a6ebcb8b Remove dependency on CONFIG from module BOUNDARIES. 2012-07-27 17:18:24 -03:00
Grzegorz Kowal
10d65b727a Slightly rewrite module EVOLUTION. 2012-07-27 17:01:21 -03:00
Grzegorz Kowal
6f6ecbb592 Rewrite a bit the module FORCING. 2012-07-27 16:55:32 -03:00
Grzegorz Kowal
9596b29671 Use module COORDINATES in INTEGRALS. 2012-07-27 16:49:46 -03:00
Grzegorz Kowal
7f38a53bb2 Rewrite module INTERPOLATIONS and initialize in main program. 2012-07-27 16:46:36 -03:00
Grzegorz Kowal
87dd287a8f Update makefile after file interpolation.F90 rename. 2012-07-27 16:40:06 -03:00
Grzegorz Kowal
dbd38c9399 Remove dependency of module SCHEME on CONFIG. 2012-07-27 16:30:55 -03:00
Grzegorz Kowal
28ec2b9144 Initialize module EQUATIONS in the main program. 2012-07-27 16:29:30 -03:00
Grzegorz Kowal
4fd6ed0f84 Add new module EQUATIONS.
This module handles variable conversion for a given set of equations.
2012-07-27 16:18:02 -03:00
Grzegorz Kowal
e1b79a34d0 Use variables from COORDINATES in module INTERPOLATION. 2012-07-27 16:07:50 -03:00
Grzegorz Kowal
24c261afb5 Use variables from COORDINATES in module SCHEME. 2012-07-27 16:06:27 -03:00
Grzegorz Kowal
20b300ab74 Use variables from COORDINATES in module MESH.
Remove dependency on module CONFIG.
2012-07-27 16:02:07 -03:00
Grzegorz Kowal
91fb4324be Rewrite initialize_coordinates().
The coordinate dimensions and bounds have been moved to module
COORDINATES.  In the rewritten subroutine initialize_coordinates() the
block dimensions and domain bounds are obtained from module PARAMETERS,
and then all other module variables are initialized.
2012-07-27 15:10:31 -03:00
Grzegorz Kowal
3fb472d760 Move domain bounds to module COORDINATES.
Also rename init_coords() to initialize_coordinates(), and
clear_coords() to finalize_coordinates().
2012-07-23 22:43:23 -03:00
Grzegorz Kowal
48c40f19da Update makefile after the coords.F90 to coordinates.F90 rename. 2012-07-22 22:18:47 -03:00
Grzegorz Kowal
3d7a74f61d Copy module RANDOM from GODUNOV and make it working. 2012-07-22 19:37:58 -03:00
Grzegorz Kowal
77d9e511c1 Initialize and finalize module PARAMETERS in the main program. 2012-07-22 19:32:21 -03:00
Grzegorz Kowal
3e9ff91f5a Add new module to handle parameter files.
This module is 100% compatible with the module from GODUNOV code.
Another step to reduce differences between those codes.
2012-07-22 19:22:07 -03:00
Grzegorz Kowal
515c82d435 Rewrite module MPITOOLS and adopt the rest to the changes.
Another step of reducing differences between the AMUN and GODUNOV codes.
2012-07-22 19:01:27 -03:00
Grzegorz Kowal
0da52f7aec Rewrite module TIMERS to be compatible with Godunov version. 2012-07-22 15:46:56 -03:00
Grzegorz Kowal
080aa4c7b1 Update makefile after timer.F90 to timers.F90 rename. 2012-07-22 12:51:42 -03:00
Grzegorz Kowal
14e58a4369 Pass COMPILER flag to the compilation options.
- this allows for use preprocessor to compile incompatible parts;
2011-06-07 16:51:52 -03:00
Grzegorz Kowal
3df4e1e4d8 Add timers for reconstruction and Riemann solver. 2011-05-29 12:22:50 -03:00
Grzegorz Kowal
b20c60404a Use precomputed coordinates in the BINARIES problem. 2011-05-11 17:20:20 -03:00
Grzegorz Kowal
0fc7717100 Move coordinate variables from MESH to new COORDS module.
- a new module COORDS handles the mesh variables which needed to be
   separated from the MESH module since they are used in PROBLEM module,
   which is required by MESH module; this created a circular dependency;
   by introducing a new COORDS module we removed that problem;
2011-05-11 15:32:01 -03:00
Grzegorz Kowal
dcd58927cc Remove remaining dependency of BLOCK on CONFIG modules.
- now, the BLOCK module dependends only on ERROR module; all other
   dependencies have been removed;
2011-05-05 16:59:51 -03:00
Grzegorz Kowal
e28a0a83c8 Make module BLOCKS independent of VARIABLES.
- add a new subroutine set_datablock_dims() to set dimensions of the
   allocatable arrays in data blocks; this subroutine is called from
   init_mesh(), which is the right place to initiate BLOCK module;

 - remove dependency of blocks.o on variables.o;

 - boundaries.o depends on timers.o;
2011-05-05 15:56:38 -03:00
Grzegorz Kowal
67ba2b5422 Module blocks does not depend on mpitools. 2011-05-05 14:26:26 -03:00