| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
argument into PUGH's overloadable for CCTK_Barrier().
This allows CCTK_Barrier() to be called even before a grid hierarchy exists
(eg. during PARAM_CHECK).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@488 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
| |
Do not overload CCTK_SyncGroup() anymore by default.
This patch requires the most recent changes in the flesh API to provide the
new overloadable function CCTK_SyncGroupsByDirI(), as discussed in thread
http://www.cactuscode.org/old/pipermail/developers/2006-June/004933.html.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@482 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
| |
ghost zones to be larger than the number of interior points if there
is only one processor in the corresponding direction. This is
necessary to allow two ghost zones when there is only one interior
grid point, which is often used to set up lower-dimensional domains.
Second part of this patch.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@470 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
ghost zones to be larger than the number of interior points if there
is only one processor in the corresponding direction. This is
necessary to allow two ghost zones when there is only one interior
grid point, which is often used to set up lower-dimensional domains.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@469 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
are legal, and whether malloc returned a null pointer.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@468 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
staggering code.
And use this former later on - this closes PR CactusPUGH 1549: "Staggered grids crash PUGH".
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@446 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@439 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
error.
Do not synchronise groups without storage when running on a single
processor. (This happens only for periodic boundaries.)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@432 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@430 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
Allow vector groups with more than one declared variable.
Much of this patch consists of removing special case code for scalars.
Scalars are now almost everywhere treated as rank 0 arrays.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@423 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the following flesh routines:
- CCTK_SyncGroup
- CCTK_EnableGroupCommI / CCTK_DisableGroupCommI
- CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI
- CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease
You will also need to update the flesh now.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@414 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
before did. This fixes a compiler warning.
VS: ----------------------------------------------------------------------
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@383 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@376 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
multiple timelevels.
Completed grdoc.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@374 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
a 'const cGH *' argument now.
Also fixed a couple of other warnings. Untabified sources.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@357 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
not by number of bytes anymore.
This fixes PR CactusPUGH-PUGH/689.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@333 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@324 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@320 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@313 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@301 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
single-processor case.
This fixes CactusPUGH-PUGH 481 as well as John's problems with QFT.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@299 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@297 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
| |
Now send requests aren't simply freed anymore but rather explicitely finished
by calling MPI_Waitall() on all of them for a given communication.
This solves the problem of MPICH and LAM on some Linux SMP machines
where it needed a long time to complete a communication.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@268 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@260 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
is a temporary fix as some of this code needs to be redone properly.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@251 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
to MPI_Wait() on them.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@234 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a memory leak in PUGH.
Also introduced a termination routine for PUGH which destroys the top-most pGH.
Now all memory ever allocated by PUGH should be finally freed at CCTK_TERMINATE.
Other thorns' termination routines which still need some information from
the pGH should register themselfs as "BEFORE Driver_Terminate".
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@226 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than doing it sequentially on individual arrays.
Nothing changes for the CCTK routines overloaded by PUGH.
For BAM and other thorns which don't care about groups there is now
a separate interface to synchronize individual arrays.
Also eliminated the restriction to synchronize 1D and 3D arrays only
- now it should do arbitrary dims (not yet tested).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@222 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
should begin with PUGH.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@211 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@207 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@204 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
for GROUP_GF and GROUP_ARRAY.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@203 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@199 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Reconfigure after you update
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@193 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
should never be touched.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@191 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
pugh::storage_verbose = "yes"
will give an screen report of the number of grid arrays and the storage
they use in bytes each time a variable group has storage enabled/disabled.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@185 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is lowered to being simply a special case of a grid array, pGA. Grid arrays
can all have different sizes, which means that now the size of a GA is moved
from the GH to a structure on the GA, along with a lot of other connectivity
and additional information which was formerly on the GH.
If you need to care about these changes, take a look at the files in
src/include/pGH.h and src/include/pGA.h, to see the new structures
(I'll leave the old files pGF.h and SetupPGF.c around for a while to compare with).
Also, look at a PUGH dependent file which has already been converted, such
as CactusPUGHIO/IOASCII/src/Write1D.c.
Warning:
This commit breaks the development versions of IOHDF5 and IsoSurfacer, these
will be fixed real quick.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@182 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@179 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@178 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
| |
and return values.
Fixing CactusPUGH-PUGH 264.
Thomas
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@176 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Fixed CactusPUGH-PUGH/256 (missing prototype)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@172 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
not tested.
CactusPUGH-PUGH/259
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@171 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
Got rid of redundant file.
Did some formatting changes in line with the coding guidelines.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@164 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@158 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
General tidying
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@153 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@147 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
Adding USE_CCTK_PARAMETERS
Removing compiler warnings
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@142 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@137 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@136 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Was an empty function before.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@119 b61c5cb5-eaca-4651-9a7a-d64986f99364
|