aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/dh.cc
Commit message (Collapse)AuthorAge
* CarpetLib: Store level_boxes in dh structureErik Schnetter2012-09-16
|
* CarpetLib: Support prolongating facesErik Schnetter2012-09-11
| | | | Add infrastructure to prolongate faces of grid functions. This may be used during refluxing to apply part of the correction to the fine grid.
* CarpetLib: remove comment about not supporting overlaps in vertexRoland Haas2012-09-11
| | | | | centering since CarpetLib does and the comment is a leftover from an older implementation of the functionality.
* CarpetLib: take stencil size of irestriciton operators into accountRoland Haas2012-09-11
| | | | when computing "send" region for restriction communication setup
* CarpetLib: clean up higher order restriciton someRoland Haas2012-09-11
| | | | | | | | | * 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
* CarpetLib: add preliminary support for higher order restrictionRoland Haas2012-09-11
|
* CarpetLib: Fill overlap zones via prolongation during regrid.Christian Reisswig2012-09-11
|
* CarpetLib: disable debug outputRoland Haas2012-09-11
|
* CarpetLib: Correct determining overlap zonesErik Schnetter2012-09-11
|
* CarpetLib: Correct determining buffer and overlap zonesErik Schnetter2012-09-11
|
* Carpet…: Rename buffer2 to overlap zones; correct implementation in dhErik Schnetter2012-09-11
| | | | | | Rename buffer2 zones to overlap zones. Complete implementing overlap zones in the dh class.
* Carpet, CarpetLib: Complete patch to support buffer2 zonesErik Schnetter2012-09-11
|
* CarpetLib: Only produce refluxing debug output with CarpetLib::verboseErik Schnetter2012-09-11
|
* Re-organise some refluxing internalsErik Schnetter2012-09-11
| | | | | | | | | | | 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.
* CarpetLib: Define MPI reduction operators for complex numbersErik Schnetter2011-12-14
|
* CarpetLib: Correct component and process ids while regriddingErik Schnetter2011-12-14
| | | | | | | 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.
* CarpetLib: Correct communication schedule for regridding prolongationErik Schnetter2011-12-14
| | | | | Correct communication schedule for regridding prolongation for cell-centred mesh refinement.
* Adapt Carpet to hierarchical timersIan Hinder2011-12-14
| | | | | | | | 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.
* CarpetLib: Pre-calculate bbox regions for reduction maskErik Schnetter2011-12-14
| | | | | | | | | | 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.
* CarpetLib: Correct calculation of prolongation operators for cell-centred gridsErik Schnetter2011-12-14
|
* CarpetLib: Correct prolongation communication schedule for cell centringErik Schnetter2011-12-14
|
* CarpetLib: Redefine handling of reduction maskErik Schnetter2011-12-14
| | | | | | 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.
* CarpetLib: Store more details for setting up the weight masksErik Schnetter2011-12-14
| | | | | Store locations of prolongation and restriction boundaries not only per direction, but per direction and face.
* CarpetLib: Correct refluxing errorsErik Schnetter2011-12-14
|
* Merged changesErik Schnetter2011-12-14
|\
| * CarpetLib: add commentknarf2011-12-14
| |
| * CarpetLib: remove re-assignment of all_refinedknarf2011-12-14
| |
* | CarpetLib: Correct refluxing communication scheduleErik Schnetter2011-12-14
|/ | | | | Rewrite the code setting up the refluxing communication schedule, using "more modern" features of bbox and bboxset.
* fix compile bug, bad meknarf2011-12-14
|
* implement unusedpoints_maskknarf2011-12-14
|
* CarpetLib: Calculate mask and refluxing entries in dh classesErik Schnetter2011-12-14
|
* CarpetLib: Remove unused variable, declare variable as constErik Schnetter2011-12-14
|
* CarpetLib: Correct typoErik Schnetter2011-12-14
|
* CarpetLib: Restructure dh classesErik Schnetter2011-12-14
| | | | | | | - 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.
* CarpetLib: Remove commented out debugging statements in dh.ccErik Schnetter2011-12-14
|
* CarpetLib: Output file name and line number in dh assertion failuresErik Schnetter2011-12-14
|
* CarpetLib: Replace #include "..." by #include <...>Erik Schnetter2011-12-14
|
* CarpetLib: Add new bboxset functionsErik Schnetter2011-12-14
| | | | | | New functions: - construct a bboxset from a container of bboxes - expand or contract bboxsets
* CarpetLib: Normalize bboxsets automaticallyErik Schnetter2011-12-14
| | | | Disable explicit normalization.
* CarpetLib: Add field "active" to dh::dboxesErik Schnetter2011-12-14
| | | | | | | 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.
* CarpetLib: Allow different numbers of ghost zones on different levelsErik Schnetter2011-12-14
| | | | | Allow different numbers of ghost zones and different spatial prolongation orders on different refinement levels.
* CarpetLib: Implement padding for grid variablesErik Schnetter2011-12-14
| | | | | | | | | 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.
* Import CarpetErik Schnetter2011-12-14
| | | | Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
* CarpetLib: Correct severe error in setting up communication scheduleErik Schnetter2008-09-05
| | | | | | Use the processor number of the correct refinement level. Also output the fast_* communication schedule.
* CarpetLib: Add new parameter combine_recomposeErik Schnetter2008-07-15
| | | | | | | 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.
* CarpetLib: Correct regridding communication scheduleErik Schnetter2008-05-20
| | | | | Handle correctly the case where the multi-patch processor decomposition changes during regridding.
* Move communication schedule into its own data structureErik Schnetter2008-02-29
| | | | | | | 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.
* CarpetLib: Remove some superfluous if statements in the communication scheduleErik Schnetter2008-02-19
| | | | | | | Remove some superfluous if statements when calculating the communication schedule. This re-indents a lot of code. darcs-hash:20080219044952-dae7b-61370e7eab49b5f173fa25778d6fbc1b2570f84b.gz
* CarpetLib: Add function memoryof to measure size of data structuresErik Schnetter2008-02-02
| | | | | | | Add an overloaded function memoryof which measures the size in bytes of CarpetLib's data structures. darcs-hash:20080202154302-dae7b-de41c79cb04617327695fae27928c05c5d431ee8.gz
* CarpetLib: Remove unoptimised fields of dh::boxes structureErik Schnetter2008-01-30
| | | | | | | | | | 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