aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp
Commit message (Collapse)AuthorAge
* 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
* CarpetInterp: #include <cstring> because we use memcmp()Erik Schnetter2006-08-16
| | | | darcs-hash:20060816202501-dae7b-b24f4d1f03c25a686bbd0bf82c6961d2e27de3c1.gz
* CarpetInterp: Ignore input variable indices which are -1Erik Schnetter2006-08-16
| | | | | | | An input variable index which is set to -1 indicates that this variable should not be interpolated. Ignore these variables. darcs-hash:20060816202211-dae7b-061068b01c39fde284fb733f378ee01552b5cc3d.gz
* CarpetInterp: Explicitly convert from/to CCTK_INT and from/to CCTK_REALErik Schnetter2006-06-13
| | | | | | | Explicitly convert between int and CCTK_INT, and between double and CCTK_REAL, where necessary. darcs-hash:20060613171441-dae7b-814bf92e15854b162f2f0560b3ec4ea519e4c28e.gz
* CarpetInterp: Correct signature of scheduled functionErik Schnetter2006-06-07
| | | | darcs-hash:20060607225356-dae7b-05fa7f32f8413196efbcd917efafdeb446960bd4.gz
* CarpetInterp: Explicitly convert vect<int> to vect<CCTK_REAL>Erik Schnetter2006-06-06
| | | | darcs-hash:20060606224817-dae7b-e2e3cbd3485fbc8e11c07a75cd746ff81cc9144c.gz
* CarpetInterp: Emit an error message if there are not enough time levels activeErik Schnetter2006-04-25
| | | | | | | Emit an error message instead of an assertion failure if there are not enough time levels active. darcs-hash:20060425152153-dae7b-20f5040a55b781b4467cd740933cfa8d08abe8d0.gz
* CarpetInterp: activate CarpetIOBasic in testsuiteswhite2006-04-21
| | | | | | | Activated CarpetIOBasic rather than IOBasic. Replaced the output files accordingly. darcs-hash:20060421214758-32473-d3ebcbfc54affcb8b6995526b74342c738c85129.gz
* CarpetRegrid/test - activate CarpetIOScalar, and avoidOrigin=noswhite2006-04-17
| | | | | | | | | | | | | | | | | Recent changes have broken the testsuites in this thorn. This makes them run again. * Added CartGrid3D::avoid_origin = no * Actvated CarpetIOBasic instead of IOBasic and CarpetIOScalar * Changed IOBasic::outScalar_* to IOScalar::outScalar_* * Replaced the archive files with ones generated with the new par files. darcs-hash:20060417124957-32473-0c5a748fc567446c6921bf5839db6adeea459d42.gz
* CarpetInterp: Correct another error in the coordinate calculationsErik Schnetter2005-12-02
| | | | | | | | | | Correct some errors in determining the coordinate extent and number of grid points on a given refinement level. Make a case distinction between grid function and grid arrays, because the grid spacing in grid functions depends on the refinement level, while the grid spacing in grid arrays does not. darcs-hash:20051202143331-dae7b-f16b89629f7cf523bba93a26fae88aba3bab63e0.gz
* CarpetInterp: bugfix for calculating the grid spacingsThomas Radke2005-11-29
| | | | darcs-hash:20051129172425-776a0-35bab71d5903d6ed2076c912e1431af6d640a8be.gz
* CarpetInterp: Correct logic error with time_deriv_orderErik Schnetter2005-11-28
| | | | | | Correct logic error in handling the optional argument time_deriv_order. darcs-hash:20051128042731-dae7b-353b2943aeb4819500f773415490040ea14b0654.gz
* CarpetInterp: Count necessary timelevels accuratelyErik Schnetter2005-11-24
| | | | | | | | | | | Determine accurately how many timelevels are necessary. We need at least 2 for first time derivatives and at least 3 for second time derivatives. We also need at least prolongation_order_time+1 time levels. Change "bool have_time_derivs" to "int num_time_derivs". darcs-hash:20051124002220-dae7b-290d1282794163b6be31953d9ad96b4cf802c5b2.gz
* CarpetInterp: Take cctk_initial_time into accountErik Schnetter2005-11-24
| | | | | | | Take cctk_initial_time into account when calculating the iteration number from cctk_time and cctk_delta_time. darcs-hash:20051124001045-dae7b-ec93e9ca13d700c7aef29d66cb1ffe2e91b8d654.gz
* CarpetInterp: Correct calculation of cctk_origin for cell centered gridsErik Schnetter2005-11-23
| | | | | | | Convert cctk_levoff and cctk_levoffdenom from int to double before dividing them to calculate cctk_origin. darcs-hash:20051123224405-dae7b-cc728114b3b7c8d21ecb452472e730af12acc50a.gz
* CarpetInterp: Allow zero-dimensional interpolationErik Schnetter2005-11-23
| | | | darcs-hash:20051123223926-dae7b-fc95d6f60c96df35e7848cd31e37132df3492259.gz
* CarpetInterp: Correct typos in comments; capitalise commentsErik Schnetter2005-11-23
| | | | darcs-hash:20051123223643-dae7b-783b5ac329841e189b66057ae948a4b910535344.gz
* CarpetInterp: Correct typos in documentationErik Schnetter2005-11-23
| | | | darcs-hash:20051123223621-dae7b-9da9d076e13f6cf21dbfd720447b09118d761cc3.gz
* CarpetInterp: Change dist::comm to dist::comm()Erik Schnetter2005-11-22
| | | | darcs-hash:20051122202425-dae7b-052cc1933237042a1dac2dc8b01bb3b6c9fd7777.gz
* CarpetInterp: generalisation of interpolation functionalityThomas Radke2005-11-01
| | | | | | | | | This patch adds support for input arrays of - type CCTK_ARRAY - arbitrary dimensions - arbitrary datatypes darcs-hash:20051101174650-776a0-56ce1ef019084cb89dce62f0c626282ba298c47f.gz
* CarpetInterp: Assert that all output arrays are distinctErik Schnetter2005-10-12
| | | | darcs-hash:20051012154607-891bb-b57ce420a1e16fd201bb9503812b4dfac3af1ea0.gz
* CarpetInterp: Take delta_time into account when calculating time derivativesErik Schnetter2005-10-12
| | | | darcs-hash:20051012154424-891bb-b7e49cb929704962757c372f5648b9424592ee34.gz
* CarpetInterp: bugfix in routine which maps points onto componentsThomas Radke2005-08-29
| | | | darcs-hash:20050829151032-776a0-95a8c84bd10d434d1dee4c47894ab2f4276836ae.gz