| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
Use CCTK_Error and CCTK_BUILTIN_UNREACHABLE
|
| |
|
|
|
|
| |
When this parameters is set, then (some) prolongation/restriction operators are parallelized via LoopControl instead of in dh.cc.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Rewrite padding infrastructure.
Add padded array extents to transport operator APIs.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* rename controlling parameter to use_higher_order_restriction
* introduce parameter restriction_order_space to control which operator
is used (currently order 1 and 3 are suppoted)
* include some comments on what the operator does
* change the way the restrictable region is computed in dh.cc/regrid to
be based on exterior.shrink(stencil_width) rather that the interior
|
| |
|
|
|
|
| |
OMIT_F90 was already non-functional.
|
| |
|
| |
|
|
|
|
|
| |
* Allow larger errors
* Disable 11th order as single precision isn't good enough for it to be accurate.
|
|
|
|
|
|
|
|
|
|
|
| |
Re-organise some of the internal details of refluxing. Refluxing
requires restricting fluxes from fine to coarse grids. Previously,
Carpet would internally store bounding boxes that were offset by 1/2
grid point, and adjust (correct) these boxes in various places in a
rather ad-hoc manner. This is now cleaned up.
Remove the (unused) "accumulate" operator, and the (unused)
"accumulate" prolongation type.
|
| |
|
|
|
|
|
| |
Allocate space for dstbox instead of srcbox before restricting or
prolongating.
|
|
|
|
|
|
|
| |
Extend API of grid operators and of gdata::copy_from,
gdata::transfer_from to allow hyperslabbing
Implement hyperslabbing in copy_3d.cc
|
| |
|
|
|
|
|
|
|
|
|
|
| |
larger.
This is consistent with vertex-centered eno.
The trouble is that Carpet derives the stencil radius from the interpolation order imposing Lagrange interpolation.
I also commented out the code that checks whether we have to switch down to first order.
According to Shu, this is not necessary! This way interpolation runs faster.
|
| |
|
| |
|
| |
|
|
|
|
| |
Implement all prolongation operators via templates, so that there is a single, unified implementation independent of the order. This should also correct all problems with the previous higher-order operators.
|
|
|
|
|
|
| |
Add a new transport operator "accumulate", which accumulates ghost
zones into grid functions. (This is in a sense the opposite of regular
synchronisation, which copies grid function values into ghost zones.)
|
| |
|
| |
|
| |
|
|
|
|
| |
Disable explicit normalization.
|
|
|
|
|
|
| |
single mechanism provided by CarpetLib.
Use this mechanism everywhere.
|
| |
|
| |
|
|
|
|
| |
OpenMP parallelise AMR operators along longest direction.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure that there is exactly one OpenMP parallelisation for each
operator.
Improve the prolongation operator parallellisation method by splitting
along the direction of longest extent, not always in the z direction.
Use LoopControl for copy, restriction, and time interpolation
operators instead of explicit OpenMP directives.
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 1a389f0dd3f40a0c0edb3fdabd6e7d40
Padding grid variables means that e.g. a component of size 32x32x32 is
allocated as 33x33x33 instead, but only 32x32x32 of this storage is
used. This can improve cache performance considerably. This requires
corresponding changes to the cGH entries.
|
|
|
|
| |
Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
|
| |
|
|
|
|
| |
spacetime variables, while keeping 3rd-order for the hydro variables.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Use #pragma instead of _Pragma for OpenMP directives. The PGI compilers do
not understand the _Pragma syntax.
Use int instead of ptrdiff_t for loop variables which are parallelised via
OpenMP. The PGI compilers cannot handle ptrdiff_t.
|
|
|
|
| |
darcs-hash:20080219044903-dae7b-e51f39ce37e1d2b812cc996d99c81bd8468bd034.gz
|
|
|
|
|
|
|
|
|
|
| |
When passing in a pointer to mem<T>, also pass the size of the
pointed-to memory region, so that mem<T> can check that there is
enough space.
Keep track of the number of allocated bytes in mempools.
darcs-hash:20080219044528-dae7b-107edc6f696a35aad32ef6e58129b3281d00eb56.gz
|
|
|
|
|
|
|
| |
Add an overloaded function memoryof which measures the size in bytes
of CarpetLib's data structures.
darcs-hash:20080202154302-dae7b-de41c79cb04617327695fae27928c05c5d431ee8.gz
|