19 Commits

Author SHA1 Message Date
ffba632740 MAKEFILE: Add preprocessor prefix for -D directives.
IBM Fortran does not support preprocessor directives -D directly. They
have to be passed using -WF, compilation flag. Therefore we add a
variable CPPPREFIX to provide this kind of prefix.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2014-08-04 09:26:36 -03:00
610762d263 Correct double precision flags in default hosts file.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2013-12-10 12:06:45 -02:00
Grzegorz Kowal
72e0038d2f Add SIGNALS flag to default host file. 2011-04-29 15:01:06 -03:00
Grzegorz Kowal
ba92cd4f7a Change the default compiler to GNU Fortran. 2011-03-23 23:34:48 -03:00
Grzegorz Kowal
d05f1d4116 Remove linking to HDF4 libraries. 2011-03-23 22:22:57 -03:00
Grzegorz Kowal
4e1e535ec6 Reorganize compilation flags and move them to make.config.
- in this way all flags are controlled from make.config and host
   specific files choose the right compilers, options, and libraries,
   depending on the chosen flags;
2011-03-11 19:55:31 -03:00
Grzegorz Kowal
9c861ff96d Use TVD interpolation in boundary update, update mesh before time step.
BOUNDARY CONDITIONS

  - use TVD interpolation for prolongation of the boundary conditions

CONFIGURATION

  - put lower limit for the number of ghost and domain cells

HOST FILES

  - host files should not be included in the revision control

INTERPOLATION

  - define all arrays as REAL, not REAL(KIND=8) since the precision of
    calculations is determined at the compilation stage

  - replace j0 and j1 indices with new more obvious il and ir

MESH

  - update mesh before calculating new time step
2010-03-14 15:40:24 -03:00
Grzegorz Kowal
cab66e8fc3 Implement FIELD-CD scheme for magnetic field evolution. 2010-02-22 16:21:20 -03:00
Grzegorz Kowal
ea00024b65 Remove unnecessary dimension variable fm from bnd_prol(). 2010-02-12 15:38:05 -02:00
Grzegorz Kowal
4953cfbe22 Fix dimensions of the neigh field. Use better vars naming.
FIXES

 - the field neigh of meta blocks structure must use ndims, nsides, and
   nfaces variables

BLOCK STRUCTURE

 - use pmeta and pdata names for ponters to meta and data blocks,
   respectively; this helps reading the code

HOSTS

 - turn on DEBUG
2009-09-26 14:27:47 -03:00
Grzegorz Kowal
1baa4b452c Use MPI by default on acrux.home. 2009-09-26 12:20:06 -03:00
Grzegorz Kowal
ad09c4b150 Add host file for daphne.iag.usp.br. 2009-09-26 12:16:11 -03:00
Grzegorz Kowal
75e8ec7b0e Merge branch 'mpi'
Conflicts:
	src/config.F90
2009-09-26 12:12:28 -03:00
Grzegorz Kowal
3c74c9a8ea More work on the block refinement.
The initial block mesh refinement seems to be optimized now. However,
more work in the MPI version is required, e.g. refine blocks on all CPUs
until the number of blocks exceeds some number dependent on the number
of CPUs. From that point refine independently on each CPU.

The initial work on the mesh update has been done too, but the processes
do not exchange block information.
2009-05-18 22:46:19 +02:00
Grzegorz Kowal
3f6321cfe0 Add initial velocity configuration for binaries problem. 2008-12-31 12:57:31 -06:00
Grzegorz Kowal
1f581e9610 Add new module for MPI handling.
A new 'mpitools' module has been added. This module contains subroutines
to initialize, deinitialize and handle MPI communication. This initial
version can now initialize and deinitialize parallelization. It does not
support full parallelization yet.
2008-12-22 14:57:31 -06:00
Grzegorz Kowal
1331044dee More reorganization of the compilation flags.
Now the source file can use some of the values defined in make files,
like NDIMS. The make files, i.e. makefile, make.default, and host files
are simpler and should be easier to manage.
2008-12-08 15:31:35 -06:00
Grzegorz Kowal
e16db21a1a Reorganization of compilation flags. 2008-12-08 13:59:57 -06:00
Grzegorz Kowal
e6ae8fd2b0 Initial commit of Godunov-AMR code.
Initial commit includes driver, make system files, license and default
host configurations.
2008-11-04 13:08:01 -06:00