aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp
Commit message (Collapse)AuthorAge
* CarpetInterp: Don't try to set non-existent WaveMoL::num_timelevels in test ↵Ian Hinder2013-12-04
| | | | | parameter files I can't find any reference to this parameter in the history of WaveMoL since it was imported from CVS, and the history before this point seems to have been lost. Many of the WaveMoL variables have 3 timelevels already, and the test failure that now occurs doesn't look like it would be helped by increasing the existing 1-timelevel variables to 3.
* CarpetInterp: Correct syntax errors in test parameter filesIan Hinder2013-12-04
|
* Move MPI support from flesh to a thornErik Schnetter2012-09-11
| | | | | | | Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list.
* Introduce cctk_ash, retire cctk_lsshErik Schnetter2012-09-11
| | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions.
* CarpetInterp: "m" -> "mglevel" when accessing ↵Christian Reisswig2012-09-11
| | | | groupdata.AT(gi).activetimelevels.AT(mglevel).AT(rl) to find out how many active timelevels are available. When using "m", I get a std::vector out of range.
* CarpetInterp: Don't use CCTK_ActiveTimeLevels to get number of active ↵Christian Reisswig2012-09-11
| | | | | | timelevels. Use groupdata.AT(gi).activetimelevels.AT(m).AT(rl) instead. This rempoves a problem in CarpetInterp's error check.
* Remove all #warning statementsErik Schnetter2012-09-11
|
* CarpetLib: Change API to obtain pointer to grid function dataErik Schnetter2012-09-11
| | | | | | | | Change the API to obtain a pointer to grid function data: - Use a function "typed_data_pointer" instead of overloading the () operator (because this looks nicer) - Don't use a virtual function (because this isn't needed) - Update all uses
* Improve named barriersErik Schnetter2011-12-14
| | | | | | | | | Introduce dist::barrier as low-level implementation of a named barrier. Use it in Carpet::NamedBarrier. Use the above in almost all barrier calls.
* Correct style file location in documentation.texIan Hinder2011-12-14
| | | | | | | | | --- Carpet/CarpetIOASCII/doc/documentation.tex | 2 +- Carpet/CarpetIOHDF5/doc/documentation.tex | 2 +- Carpet/CarpetInterp/doc/documentation.tex | 2 +- Carpet/CarpetReduce/doc/documentation.tex | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
* CarpetInterp: Use hg::baseextent instead of Carpet::maxspacereflevelfactErik Schnetter2011-12-14
| | | | | | Use hg::baseextent instead of Carpet::maxspacereflevelfact to determine the stride of a refinement level, because this works independent of the stride on the finest level.
* CarpetInterp: Check that MPI datatypes are defined before using themErik Schnetter2011-12-14
|
* CarpetInterp: Use thorn NoMPIErik Schnetter2011-12-14
|
* CarpetInter: Improve efficiency when looping over gridsErik Schnetter2011-12-14
|
* CarpetInterp: Update test casesErik Schnetter2011-12-14
|
* CarpetInterp: MergeErik Schnetter2011-12-14
|\
* | CarpetInterp: Fix identification of timelevel time when interpolatingIan Hinder2011-12-14
|/
* Re-organise time level handlingErik Schnetter2011-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the current Cactus time (and not a fake Carpet time) in the th "time hiearchy". This removes the now redundant "leveltimes" data structure in Carpet. Add past time levels to th, so that it can store the time for past time levels instead of assuming the time step size is constant. This allows changing the time step size during evolution. Share the time hierarchy between all maps, instead of having one time hierarchy per map. Simplify the time level cycling and time stepping code used during evolution. Improve structure of the code that loops over time levels for certain schedule bins. Introduce a new Carpet variable "timelevel", similar to "reflevel". This also makes it possible to avoid time interpolation for the past time levels during regridding. The past time levels of the fine grid then remain aligned (in time) with the past time levels of the coarse grid. This is controlled by a new parameter "time_interpolation_during_regridding", which defaults to "yes" for backwards compatibility. Simplify the three time level initialisation. Instead of initialising all three time levels by taking altogether three time steps (forwards and backwards), initialise only one past time level by taking one time step backwards. The remaining time level is initialised during the first time step of the evolution, which begins by cycling time levels, which drops the non-initialised last time level anyway. Update Carpet and the mode handling correspondingly. Update the CarpetIOHDF5 checkpoint format correspondingly. Update CarpetInterp, CarpetReduce, and CarpetRegrid2 correspondingly. Update CarpetJacobi and CarpetMG correspondingly.
* Combine CarpetLib's INSTANTIATE and Carpet's TYPECASE mechanism into aErik Schnetter2011-12-14
| | | | | | single mechanism provided by CarpetLib. Use this mechanism everywhere.
* CarpetInterp: Avoid possible race condition when creating new MPI datatypesErik Schnetter2011-12-14
| | | | Ignore-this: 1770a5adf6184bcbb3cef19359d3a0c9
* Import CarpetErik Schnetter2011-12-14
| | | | Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
* Carpet/*/test/: also activate thorn LoopControl (required by CarpetReduce) ↵Thomas Radke2008-10-30
| | | | in testsuite parfiles
* CarpetInterp: Circumvent Intel compiler problem with static variablesErik Schnetter2008-08-29
| | | | Use a Timer* instead of a Timer local variable.
* CarpetInterp: Avoid problem with Intel compilersErik Schnetter2008-08-03
| | | | Do not use a static variable for the interpolation timer.
* Carpet: Import CarpetLib header files properlyErik Schnetter2008-07-15
|
* CarpetInterp: Improve handling of points outside of the simulation domainErik Schnetter2008-07-15
| | | | | | | | | Correct some multi-patch problems with points that are outside of the simulation domain. These points are currently "mapped" to map 0, and this may lead to problems when no component of map 0 is present on the current processor. Add CarpetLib timers.
* CarpetInterp: Use the new tree structuresErik Schnetter2008-06-20
| | | | | Use the new tree structures to speed up determining which components own which grid points.
* CarpetInterp: Remove problematic OpenMP parallelisationErik Schnetter2008-04-24
| | | | The C++ STL is incompatible with OpenMP. Don't parallelise loops which access vector<bool>.
* CarpetInterp: Parallelise with OpenMPErik Schnetter2008-04-10
|
* CarpetInterp: Poison coordinates and patch numbersErik Schnetter2008-04-06
| | | | | Poison coordinates and patch numbers when exchanging them between processors.
* CarpetInterp: Correct error in multi-patch interpolationErik Schnetter2008-03-21
| | | | The sourch patch numbers were not communicted correctly in multi-patch setups.
* CarpetInterp: Add more consistency checksErik Schnetter2008-03-01
| | | | Add many more assert statements and internal consistency checks to catch potential errors in the code.
* CarpetInterp: Initialise status and return value buffer to successErik Schnetter2008-03-01
| | | | Initialise the status and return value buffer to success. This handles the case of 0 interpolation points correctly.
* CarpetInterp: Simplify codeErik Schnetter2008-02-19
| | | | darcs-hash:20080219052647-dae7b-7169b54451d82d889bf42cbe9bd55eafc8605355.gz
* CarpetInterp: Add some assert statementsErik Schnetter2008-02-19
| | | | darcs-hash:20080219052632-dae7b-d53ec4eeaca33a97b8f3a8c707412e908544749e.gz
* CarpetInterp: Initialise tmpcnts correctlyErik Schnetter2008-02-19
| | | | darcs-hash:20080219052607-dae7b-0570bfe61b23dc8033521993802c7fe6adcb8b05.gz
* CarpetInterp: Add parameter "barriers" to catch calling errorsErik Schnetter2008-02-19
| | | | | | | | Add a new parameter CarpetInterp::barriers. If set, CarpetInterp introduces MPI_Barrier statements. These statements catch calling errors where not all processors call CarpetInterp at the same time. darcs-hash:20080219052452-dae7b-49900543c4360e82f94fe5b5d50c66d594d77ad3.gz
* CarpetInterp: Use GetCoordRange to obtain component coordinatesErik Schnetter2007-06-14
| | | | | | | | | Use the aliased function GetCoordRange to calculate the local coordinate system of a component. The Cactus function CCTK_CoordRange does not work correctly when different patches have different extents or grid spacings. darcs-hash:20070614004957-dae7b-71d7c72ce13eb713154639c299afe5ab4d590369.gz
* CarpetInterp: Update to recent changesErik Schnetter2007-04-19
| | | | darcs-hash:20070419021244-dae7b-d8a4f4f5063ccfa1bd1cec3a28de4fd0b5bf0a0d.gz
* CarpetInterp: added test.ccl fileThomas Radke2007-02-23
| | | | | | Specify the number of processors to use for running CarpetInterp's testsuites. darcs-hash:20070223165217-776a0-de53ccf96d7dd08be2f89b4efb6684e368329260.gz
* CarpetInterp: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112224235-dae7b-a410208268be26efb93c39abb7e970e733501a1e.gz
* CarpetInterp: Add abort() statement to eliminate compiler warningsErik Schnetter2006-12-06
| | | | darcs-hash:20061206164719-dae7b-44d2215c0f7da5556d9400bd85734aca2af3c165.gz
* CarpetInterp: Add internal check for per-processor number of grid pointsErik Schnetter2006-09-21
| | | | | | | | Check the number of grid points that CarpetInterp thinks should be interpolated on each processor. Assert that a processor is not supposed to interpolate on a component that it does not own. darcs-hash:20060921005809-dae7b-ad7e8e160c412086047778c74835b22b1993c98b.gz
* CarpetInterp: use .at() instead of [] to access vectorsErik Schnetter2006-09-21
| | | | | | | Use .at() instead of [] to access vectors. Yes, it looks much uglier, but it would have caught the error corrected by the previous patch. darcs-hash:20060921005616-dae7b-76d8e8c50ecda85c0871d98ea4cd0e2b4d281133.gz
* CarpetInterp: Use correct displacements when distributing map indicesErik Schnetter2006-09-21
| | | | | | | | When sending the map indices to the processor which interpolates the corresponding grid points, the communication buffer was filled using the wrong displacements. darcs-hash:20060921005150-dae7b-8ce2fa561e57c9e339f4dc66a67457a160709044.gz
* CarpetInterp: Remove unused function argumentsErik Schnetter2006-09-21
| | | | | | Remove unused arguments from function interpolate_single_component. darcs-hash:20060921005003-dae7b-4e89a6f68749255dee2e849c090a00369e6f465e.gz
* CarpetInterp: Convert size_t to int explicitlyErik Schnetter2006-08-16
| | | | darcs-hash:20060816220701-dae7b-113cb1f0f0486050b9822dbadb125023c935d706.gz
* CarpetInterp: Surround usage of some local variable with blocksErik Schnetter2006-08-16
| | | | | | Declare some local variable within blocks so that they have a smaller scope. darcs-hash:20060816220522-dae7b-97964597f3ff6ff0ea5d0b6b94f4e48b2544613e.gz
* CarpetInterp: Use .at() instead of [] to index vectorsErik Schnetter2006-08-16
| | | | darcs-hash:20060816220427-dae7b-8429e0410dc74a28cd7c2df53c593b332133278d.gz
* CarpetInterp: Indent some code more nicelyErik Schnetter2006-08-16
| | | | darcs-hash:20060816215956-dae7b-602a2f47bd72e3e86ceebc76ef3e9ac4c4b455a9.gz