aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/data.cc
Commit message (Collapse)AuthorAge
* CarpetLib: add some code for electric fence like functionalityRoland Haas2013-09-27
|
* CarpetLib: Small code simplificationErik Schnetter2013-08-08
|
* CarpetLib: Some harmless code cleanupErik Schnetter2013-08-08
| | | | Use CCTK_Error and CCTK_BUILTIN_UNREACHABLE
* Carpet: Do not use dynamic_castErik Schnetter2013-08-04
|
* CarpetLib: New parameter use_loopcontrol_in_operatorsErik Schnetter2013-07-27
| | | | When this parameters is set, then (some) prolongation/restriction operators are parallelized via LoopControl instead of in dh.cc.
* CarpetLib: Correct some type declarations for 4d grid structuresErik Schnetter2013-05-20
|
* CarpetLib: support padding in non-OpenMP transport operatorRoland Haas2012-12-12
|
* CarpetLib: Add default case to switch statementErik Schnetter2012-11-24
|
* CarpetLib: Support padding in enovol prolongation operatorErik Schnetter2012-11-22
|
* Allow padding in transport operatorsErik Schnetter2012-11-22
| | | | | Rewrite padding infrastructure. Add padded array extents to transport operator APIs.
* CarpetLib: add volume averaged cc eno operatorRoland Haas2012-11-20
|
* CarpetLib: add fifth order cc restriction operatorRoland Haas2012-09-11
|
* 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: Remove support OMIT_F90Erik Schnetter2012-09-11
| | | | OMIT_F90 was already non-functional.
* CarpetLib: Move some OpenMP parallelisation into the operatorsErik Schnetter2012-09-11
|
* CarpetLib: Add preliminary support for DGFE operatorsErik Schnetter2012-09-11
|
* CarpetLib: Improve prolongation with single precision.Barry Wardell2012-09-11
| | | | | * Allow larger errors * Disable 11th order as single precision isn't good enough for it to be accurate.
* 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: Correct argument nameErik Schnetter2012-09-11
|
* CarpetLib: Allocate space for dstbox before restricting/prolongatingErik Schnetter2012-09-11
| | | | | Allocate space for dstbox instead of srcbox before restricting or prolongating.
* CarpetLib: Extend operator API to allow hyperslabbingErik Schnetter2012-09-11
| | | | | | | Extend API of grid operators and of gdata::copy_from, gdata::transfer_from to allow hyperslabbing Implement hyperslabbing in copy_3d.cc
* Slight optimization of CC ENO operators.Christian Reisswig2011-12-14
|
* Select 2nd order cc-eno for 3rd order interpolation since stencil radius is ↵Christian Reisswig2011-12-14
| | | | | | | | | | 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.
* CarpetLib, Carpet: Add cell-centred TVD prolongation operatorErik Schnetter2011-12-14
|
* Implementation of 2nd and 3rd order ENO cell-centered prolongation operators.Christian Reisswig2011-12-14
|
* CarpetLib: Add up to 5th order cell-centred prolongation operatorsErik Schnetter2011-12-14
|
* CarpetLib: Implement prolongation operators via templatesErik Schnetter2011-12-14
| | | | 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.
* CarpetLib: Add new transport operator "accumulate"Erik Schnetter2011-12-14
| | | | | | 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.)
* CarpetLib: Correct refluxing errorsErik Schnetter2011-12-14
|
* CarpetLib: Correctly determine face-centered grids while restrictingErik Schnetter2011-12-14
|
* CarpetLib: Support mixed vertex/cell centred restrictionErik Schnetter2011-12-14
|
* CarpetLib: Normalize bboxsets automaticallyErik Schnetter2011-12-14
| | | | Disable explicit normalization.
* Combine CarpetLib's INSTANTIATE and Carpet's TYPECASE mechanism into aErik Schnetter2011-12-14
| | | | | | single mechanism provided by CarpetLib. Use this mechanism everywhere.
* CarpetLib: Parallelise restriction operator with OpenMPErik Schnetter2011-12-14
|
* CarpetLib: Correct wording in error messageErik Schnetter2011-12-14
|
* CarpetLib: Parallelise AMR operators along longest directionErik Schnetter2011-12-14
| | | | OpenMP parallelise AMR operators along longest direction.
* CarpetLib: Slightly simplify OpenMP parallelisation for AMR operatorsErik Schnetter2011-12-14
|
* CarpetLib: Improve OpenMP parallelisationErik Schnetter2011-12-14
| | | | | | | | | | | 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.
* 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 typo in error messageErik Schnetter2009-01-26
|
* Carpet/CarpetLib/src/data.cc: Allow to choose 5th-order porlongation for the ↵Luca Baiotti2008-12-09
| | | | spacetime variables, while keeping 3rd-order for the hydro variables.
* CarpetLib: Correct error check of OpenMP parallelisationErik Schnetter2008-10-01
|
* CarpetLib: Correct text error message for non-existing prolongation operatorsErik Schnetter2008-09-26
|
* CarpetLib: Add higher order interpolation operatorsErik Schnetter2008-04-25
|
* OpenMP changes:Erik Schnetter2008-03-21
| | | | | | | 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.
* CarpetLib: Simplify implementation of data<T>::allocsizeErik Schnetter2008-02-19
| | | | darcs-hash:20080219044903-dae7b-e51f39ce37e1d2b812cc996d99c81bd8468bd034.gz
* CarpetLib: Make mem<T> saferErik Schnetter2008-02-19
| | | | | | | | | | 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
* 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