e0a0c816f3
USER_PROBLEM: Clean up unused variables.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-08 13:02:41 -03:00
aeab9f9fe7
MAKEFILE: Organize order of dependencies.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-08 12:59:56 -03:00
08cca6647e
BOUNDARIES, USER_PROBLEM: Add user specific boundary conditions.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-08 11:46:41 -03:00
dad181b23a
USER_PROBLEM, SOURCES: Add user defined source terms.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-08 11:10:22 -03:00
d57b5aed69
USER_PROBLEM: Add user interface to define its problem.
...
In this way the user can define his problem, i.e. the initial setup, the
shape update, the gravitational acceleration profile, in one module.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-08 11:02:59 -03:00
c5b3501744
PROBLEMS: Adopt Rayleigh-Taylor problem for isothermal case.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 17:46:24 -03:00
0c0e98a3cd
BOUNDARIES: Implement isothermal hydrostatic boundary conditions.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 17:30:14 -03:00
837ec0b8d7
BOUNDARIES: Implement adiabatic hydrostatic boundary conditions.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 17:14:58 -03:00
f1b4af2a37
BOUNDARIES: Pass t, dt, and coordinates to block_boundary_specific().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 16:20:11 -03:00
88141891c3
BOUNDARIES: Prepare block coordinates in boundaries_specific().
...
If specific boundary condition depends on the position, it would be good
to pass the coordinates to them in order to update the data block.
Also, if boundary conditions are time dependent, we should pass time and
the time increment too.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 16:16:05 -03:00
e503c4fc0a
BOUNDARIES: Pass t and dt to boundaries_specific().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 16:06:33 -03:00
334252c83d
SOURCES: Correct argument description in update_sources().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 16:04:03 -03:00
2a202605b0
BOUNDARIES: Pass time and dt to boundary_variables().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 16:02:01 -03:00
42dcce439f
GRAVITY, SOURCES: Pass time and dt to gravitational acceleration module.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 15:47:22 -03:00
d63d6bbe6f
EVOLUTION, SOURCES: Pass tm and dtm to update_sources().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 15:41:10 -03:00
5786b7f457
EVOLUTION: Move tm and dtm calculation befor applying source terms.
...
If we have time dependent source terms, we should pass tm and dtm to
subroutine update_sources().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 15:36:51 -03:00
270cc68414
Add Rayleigh-Taylor problem parameter file.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-07 12:09:56 -03:00
bf9efe14df
GRAVITY: Correct the acceleration in gacc_rayleigh_taylor().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 12:24:04 -03:00
dbdb5b3b4a
PROBLEMS: Simplify the Rayleigh-Taylor problem setup.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 12:23:17 -03:00
251ac66fde
PROBLEMS: Read value of gacc in Rayleigh-Teylor problem setup.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 11:52:08 -03:00
b6dae2abe1
GRAVITY: Implement acceleration for Rayleigh-Taylor problem.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 11:50:48 -03:00
0a789a3be7
PROBLEMS: Add the Rayleigh-Taylor instability setup.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 11:37:57 -03:00
7753c101ae
GRAVITY: Remove unused code from initialize_gravity().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 11:26:22 -03:00
9256b58905
SOURCES: Plug the GRAVITY module in.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 11:12:25 -03:00
28be951d3f
GRAVITY: Make gravitational acceleration static for now.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 11:09:49 -03:00
d5433025af
GRAVITY: Add flag indicating if gravity is enabled.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-06 10:57:43 -03:00
e00a70b477
GRAVITY: Add new module to handle gravitational forces.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-03 18:15:15 -03:00
5c4248581f
Update the year.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-03-03 17:51:42 -03:00
002301393c
make.default: Remove OMP since OpenMP is not implemented yet.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2017-01-17 13:19:53 -02:00
d9f16a2b6d
Merge branch 'master' of ssh://bitbucket.org/amunteam/amun-code
2016-12-22 10:28:16 -02:00
912fc85f30
IO: Acknowledge Pierre in write_snapshot_xdmf_master() as well.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-22 10:25:08 -02:00
c2a34b5fb0
IO: Make region and block numbers shorter in XMDF files.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-22 10:23:08 -02:00
59786c7ee0
IO: Fix block dimensions in write_snapshot_xdmf().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-21 15:16:37 -02:00
dd0e490ac4
IO: Implement write_snapshot_xdmf_master().
...
This subroutine write a master file which gathers all MPI subdomains
into one domain.
Based on the subroutine written by Pierre Kestener.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-21 14:17:36 -02:00
5a9d8f0c46
IO: Implement write_snapshot_xdmf().
...
This subroutine stores an XDMF file which is a wrapper to HDF5 files for
easy reading simulation data to visualization tools like Paraview or
Visit.
This subroutine is based on the one written by Pierre Kestener.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-21 12:15:32 -02:00
723a20054b
IO: Add flag to switch XDMF file generation.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-21 07:08:56 -02:00
88a1765a40
SOURCES: Fix upper limit in i-loops.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-12-02 09:58:13 -02:00
416cc0a5dd
IO: Flush HDF5 files to disk before closing them.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 11:39:17 -02:00
84a3f1e687
COPYRIGHTS: Update year.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 11:09:19 -02:00
af3ba85029
DRIVER: Reduce iterm from read_restart_snapshot().
...
If reading from only some files failed, we should let know all processes
about it, so they terminate in a proper way.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 10:58:49 -02:00
6e611781a0
IO: Rewrite subroutine read_restart_snapshot_h5().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 10:56:16 -02:00
cc6642c17b
DRIVER: Use iterm instead of iret in read_restart_snapshot().
...
In this way the last message will indicate where the problem is.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 10:12:51 -02:00
275856c587
DRIVER: Do not open termination timer before it is needed.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 10:09:22 -02:00
b0e8c97401
IO: Add return flag to the snapshot restart.
...
If there is any problem with reading the restart snapshots, we just quit
instead of starting a dump uninitialized run.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-11-18 10:04:38 -02:00
670668c293
INTERPOLATIONS: Implement multidimentional GP reconstruction.
...
This is truely multidimentional reconstruction based on Gaussian
Processes. All neighbors of the interpolation cell are taken into
account and properly weighted. The size of the neighbor region can be
controlled.
The monotonicity of the interpolated interfaces is detected and if the
case of lack it, the linear TVD reconstruction is applied. Therefore,
only the monotonic regions are interpolated using the high-order Gauss
Process.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-15 17:34:20 -03:00
0a067f1f26
SCHEMES: Remove subroutines for states reconstruction.
...
The whole interface reconstruction was moved to the INTERPOLATIONS
module, so these subroutines are not used anymore, nor planned to be
used.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 23:08:11 -03:00
5f25de32f9
SCHEMES: Adopt update_flux_srmhd_adi() to use separate reconstruction.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 23:01:16 -03:00
7a2c83d0ea
SCHEMES: Adopt update_flux_srhd_adi() to use separate reconstruction.
...
Implement reconstruction based on 3-vector and 4-vector as well.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 22:52:40 -03:00
5c8d60e47e
SCHEMES: Adopt update_flux_mhd_adi() to use separate reconstruction.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 20:56:21 -03:00
bbac5511f8
SCHEMES: Adopt update_flux_mhd_iso() to use separate reconstruction.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2016-08-14 20:46:27 -03:00