| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Add infrastructure to prolongate faces of grid functions. This may be used during refluxing to apply part of the correction to the fine grid.
|
|
|
|
|
| |
centering since CarpetLib does and the comment is a leftover from an
older implementation of the functionality.
|
|
|
|
| |
when computing "send" region for restriction communication setup
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Rename buffer2 zones to overlap zones.
Complete implementing overlap zones in the dh class.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
During regridding, there are two sets of component indices and process
numbers, namely those of the old and of the new grid structure.
Previously, Carpet would erroneously always use those of the new grid
structure; this fails when the number of components changes.
|
|
|
|
|
| |
Correct communication schedule for regridding prolongation for
cell-centred mesh refinement.
|
|
|
|
|
|
|
|
| |
Specifically, remove any hierarchy information that has been added to
the name of timers, as well as any code for creating timers
dynamically, as these are now unnecessary. Additionally, time some
previously-untimed parts of the code and make timer names in some
places more consistent.
|
|
|
|
|
|
|
|
|
|
| |
Pre-calculate and store the regions for CarpetReduce's reduction
weight.
Add new dh fields prolongation_boundary and restriction_boundary.
Remove field fine_active.
Disable also the dh fields buffers_stepped.
|
| |
|
| |
|
|
|
|
|
|
| |
Calculate fine_active, the active points on the next finer grid overlapping with the current component.
Temporarily store the per-level set of active grid points per level, introducing a new structure level_dboxes.
Remove outdated code.
|
|
|
|
|
| |
Store locations of prolongation and restriction boundaries not only
per direction, but per direction and face.
|
| |
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
| |
Rewrite the code setting up the refluxing communication schedule,
using "more modern" features of bbox and bboxset.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Add new entries for the CarpetRegrid mask and for refluxing
- Rename dboxes to light_dboxes.
- Add local_dboxes with more information about the process-local part of
the grid hierarchy.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
New functions:
- construct a bboxset from a container of bboxes
- expand or contract bboxsets
|
|
|
|
| |
Disable explicit normalization.
|
|
|
|
|
|
|
| |
Add field "active" to dh::dboxes, the replicated part of the data
hierarchy. Since bboxsets cannot be transmitted via MPI, this can
contain only up to 4 bboxes. There are helper routines to transform
bboxsets to these bboxes and back.
|
|
|
|
|
| |
Allow different numbers of ghost zones and different spatial
prolongation orders on different refinement levels.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Use the processor number of the correct refinement level.
Also output the fast_* communication schedule.
|
|
|
|
|
|
|
| |
combine_recompose recomposes all grid functions at once. This increases
memory usage, but combines the communications and may thus also increase
the speed. The default behaviour is unchanged, recomposing all grid
functions sequentially.
|
|
|
|
|
| |
Handle correctly the case where the multi-patch processor decomposition
changes during regridding.
|
|
|
|
|
|
|
| |
Splite the grid hierarchy and communication schedule into two separate
data structures.
Correct error in determining the processor owning a certain region when
calculating the communication schedule.
|
|
|
|
|
|
|
| |
Remove some superfluous if statements when calculating the
communication schedule. This re-indents a lot of code.
darcs-hash:20080219044952-dae7b-61370e7eab49b5f173fa25778d6fbc1b2570f84b.gz
|
|
|
|
|
|
|
| |
Add an overloaded function memoryof which measures the size in bytes
of CarpetLib's data structures.
darcs-hash:20080202154302-dae7b-de41c79cb04617327695fae27928c05c5d431ee8.gz
|
|
|
|
|
|
|
|
|
|
| |
Remove the unoptimised and the old-style optimised fields for the
communication and regridding structure from the dh::boxes structure.
(Keep the new-style optimised fields.) Remove the code that sets
them. Remove the old-style optimisation routines. Update the output
routines.
darcs-hash:20080130221033-dae7b-cd7a9b8445ba13eaf95af2b1739bf6592cebdbcf.gz
|