| Commit message (Collapse) | Author | Age |
... | |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
CarpetInterp2 tests if a fasterp_setup_t object is out of date (older
than the current regridding epoch) before it uses it. This patch exports
this test to user code so that they can check each time they want to
interpolate if they have to re-create the setup object. It has the
advantage of hiding the internal decision criterion from the user.
|
| |
| |
| |
| |
| |
| |
| | |
Determine and store host/process association.
Provide aliased function API to query this.
Improve performance of multi-model API.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
use_unusedpoints_mask
According to the Cactus documentation, boolean parameters do not have
ranges
---
Carpet/Carpet/param.ccl | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch provides a function interface for accelerator (GPU) devices
to be called at certain points when Carpet traverses the schedule
tree. This can be used to copy data between the host (CPU) and the
device (GPU) as it is needed.
---
Carpet/Carpet/interface.ccl | 28 ++++++++++++++++++++++++++++
Carpet/Carpet/param.ccl | 6 ++++++
Carpet/Carpet/src/CallFunction.cc | 12 ++++++++++++
Carpet/Carpet/src/Comm.cc | 8 ++++++++
Carpet/Carpet/src/Cycle.cc | 4 ++++
Carpet/Carpet/src/Evolve.cc | 2 ++
Carpet/Carpet/src/Initialise.cc | 2 ++
Carpet/Carpet/src/Requirements.cc | 34 ++++++++++++++++++++++------------
Carpet/Carpet/src/variables.cc | 3 +++
Carpet/Carpet/src/variables.hh | 3 +++
10 files changed, 90 insertions(+), 12 deletions(-)
|
| |
| |
| |
| |
| |
| |
| |
| | |
single-precision
---
Carpet/Carpet/src/Timing.cc | 2 +-
Carpet/CarpetLib/src/gdata.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
|
|\| |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Define templates in .hh file, instantiate them in .cc file.
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Give more information in error message.
Rename macro.
Correct typo.
|
| |/ |
|
| |
| |
| |
| |
| | |
Check all interpolation stencils whether they are inside their
respective arrays. Abort with an error message if not.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Ensure that all processes have the same number of components.
|
| |
| |
| |
| | |
The output format is processor-number dependent.
|
| |
| |
| |
| |
| | |
Use InterpToArray instead of Carpet's timers and SphericalSurface as
output variables.
|
| |
| |
| |
| |
| | |
Don't output newline after describing a group's variables unless these
are actually output.
|
| |
| |
| |
| | |
This causes the tests to fail as it changes each time
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce dist::barrier as low-level implementation of a named
barrier.
Use it in Carpet::NamedBarrier.
Use the above in almost all barrier calls.
|
| |
| |
| |
| | |
Don't restrict the range to non-negative signed integers.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use an Adler-32 checksum to ensure that the ids in schedule barriers
are unique, so that the code really tests that the same functions are
called at the same time on all processes.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Add more self-checks.
Number components sequentially and per-patch.
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Introduce a new API to checkpoint only a subset of group, via an
aliased function IO_SetCheckpointGroups. This can be used for
simulation spawning, i.e. off-loading certain calculations (e.g.
analysis) outside of the main simulation.
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|