aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp
Commit message (Collapse)AuthorAge
...
* 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
* CarpetInterp: copy interpolation results directly into output arrays, ↵Thomas Radke2005-08-27
| | | | | | without requiring an intermediate copy operation darcs-hash:20050827111420-776a0-1e41fee0c43d1e7f7eda3c26450fff250035ea7c.gz
* CarpetInterp: optimise global interpolator communication schemeThomas Radke2005-08-26
| | | | | | | | | | | | CarpetInterp used to use CarpetLib's data class to exchange interpolation information (interpolation coordinates and a source map as inputs, interpolation results and status/return codes as outputs) between processors. This point-to-point communication has been replaced by explicit collective MPI operations which should now make global interpolations faster. For a general overview on the implementation see CarpetInterp's thorn documentation. darcs-hash:20050826115157-776a0-d910b51d7a26cef12e13408a79f11ed2826f5ed1.gz
* CarpetInterp: Remove commented out assertErik Schnetter2005-08-24
| | | | darcs-hash:20050824113516-891bb-b3b73b0c0bc89ad54bd64d6919621e7a76d6accc.gz
* CarpetInterp: Remove support for optional argument "interpolation_times"Erik Schnetter2005-08-11
| | | | | | | | | | The optional argument "interpolation_times" allowed interpolating not at the current time (cctk_time), but at a slightly earlier time, if there were enough time levels present. This feature was unused and broken. darcs-hash:20050811170146-891bb-db58ea38ca8160729f9c8a53d17db2381dc27535.gz
* CarpetInterp: Test also time derivatives in the test casesErik Schnetter2005-08-11
| | | | darcs-hash:20050811163508-891bb-a25e3c59937a75684218fde1cf4fafd19087f2c9.gz
* CarpetInterp: Update waveinterp test casesErik Schnetter2005-08-11
| | | | | | | Update the waveinterp test cases after correcting three timelevel initialisation. darcs-hash:20050811113402-891bb-b40f5401b44d626bda9611de2622a77395c16295.gz
* CarpetInterp: Use explicit source map specifications even in single map modeErik Schnetter2005-08-10
| | | | darcs-hash:20050810170009-891bb-168facf88ab10cc5c1732d037527a66bc134453c.gz
* CarpetInterp: Make time_deriv_order per output array instead of per grid pointErik Schnetter2005-08-10
| | | | | | | Interpret the option table parameter time_deriv_order per output array instead of per grid point. darcs-hash:20050810165758-891bb-a4b84c90771da42c20878ebd59a797ef44a29b78.gz
* CarpetInterp: Remove commented out codeErik Schnetter2005-08-10
| | | | darcs-hash:20050810170107-891bb-bc5b8fa8a90d7289c0c7d76f3ad4a00aa3c1038f.gz
* CarpetInterp: Correct time interpolation stencilsErik Schnetter2005-08-11
| | | | darcs-hash:20050811170351-891bb-b7c586cb8494f23fac7254f169a1a2aeec523f97.gz
* CarpetInterp: fix waveinterp testsuiteThomas Radke2005-08-08
| | | | | | | | | | | | | The waveinterp testsuite was broken, many output files had different values. Also, the old output files didn't contain the recently introduced header comment lines saying which thorn did output them. The waveinterp testsuite has now been split into two separate tests, waveinterp-1p and waveinterp-2p to run on 1 and 2 processors respectively. The only differences are in the CarpetIOASCII files which contain either 1 or 2 components in the output. darcs-hash:20050808164941-776a0-fbecb78b32c48a16f030996afcf1259276c0a0a0.gz
* CarpetInterp: Rename return valueErik Schnetter2005-08-01
| | | | | | | Do not resize source_map twice. Rename Util_TableGetIntArray return value from ierr to iret. darcs-hash:20050801124730-891bb-4b25ee01ef6a3a21d75a19bc1500eec4ccaf310f.gz
* CarpetInterp: modularize time interpolationSteve White2005-07-18
| | | | | | | | | | | | | | M ./Carpet/CarpetInterp/src/interp.cc -105 +148 Added a couple of small classes InterpolationTimes and InterpolationWeights that embody arrays calculated in the remaining monster function interpolate_within_component, with the result that the formulas are easier to read, and the logic within the monster function is a little easier to follow. More stuff like this can easily be done. darcs-hash:20050718170031-90671-3ab51afe56043f082e26c7bb6f73c845ee2a70b4.gz
* CarpetInterp: Plug memory leak in the recent function breakupErik Schnetter2005-07-16
| | | | darcs-hash:20050716140952-891bb-c7665e3f4b371287f54cfc167140719ce54120b8.gz
* CarpetInterp: break routine into piecesErik Schnetter2005-07-15
| | | | | | | | | | | | | | | | | | | | This is the first stage of a breakup of the monster function Carpet_DriverInterpolate The routine is segmented into several functional subroutines, with names given (mostly) by the one-line comments that were in the original. Todo: 1) One of these new subroutines, DoLocalInterpolation, is itself a monster function, and needs to be dealt with. 2) All of the subroutines have very long argument lists. There are repeated patterns of arguments, which suggest that a structure could be created which embodies the pattern. darcs-hash:20050715103538-891bb-c0757adc59d29b09c63b7e4dbe11b57cd46b6682.gz
* CarpetInterp: Correct error in calculating the past levels' current timesErik Schnetter2005-07-04
| | | | darcs-hash:20050704170346-891bb-9afcde47badcd4fc165a3ea9d4cd73d6975482f3.gz
* CarpetInterp: Correct error in calculating the past levels' current timesErik Schnetter2005-07-04
| | | | darcs-hash:20050704163535-891bb-e95030a4787fd6b65dc17d8c959e714d36ac575c.gz
* CarpetInterp: Handle multiple mapsErik Schnetter2005-07-04
| | | | | | | | | Handle multiple maps. In singlemap mode, interpolate from the current map. If there is only one map, interpolate from this one. Otherwise, require a table argument "CCTK_INT source_map[N_interp_points]" that specifies the source map for each interpolation point. darcs-hash:20050704163505-891bb-653681ef3a619a7fa3462809c2bd408aae60284d.gz
* global: Add varying refinement factorsErik Schnetter2005-05-01
| | | | | | | | | | Add support for varying refinement factors. The spatial refinement factors can be different in different directions, can be different from the time refinement factor, and can be different on each level. (However, the underlying spatial transport operators do currently not handle any factors except two.) darcs-hash:20050501205010-891bb-8d3a74abaad55ee6c77ef18d51fca2a2b69740de.gz
* CarpetInterp: Correct error in allocating data objectsErik Schnetter2005-04-11
| | | | | | | | | data<> objects cannot be implicitly copied. The standard template library containers copy objects arbitrarily. That means that one has to store pointers to data<> objects instead of the objects themselves, and has to allocate and free them manually. darcs-hash:20050411170907-891bb-406b9b6bb6b97df2f47c349f32d91398338439ae.gz
* CarpetInterp: Correct check whether a processor owns a componentErik Schnetter2005-03-07
| | | | darcs-hash:20050307170026-891bb-03754477692ad245563fda22ecdd4510da4549ab.gz
* CarpetInterp: Handle groups that have not all time levels allocatedErik Schnetter2005-03-03
| | | | darcs-hash:20050303102506-891bb-118df8e38d1ca7e981bb4f97b14d5a747c1b3928.gz
* global: Change the way in which the grid hierarchy is storedErik Schnetter2005-02-01
| | | | | | | | | | | | | | | | | | | | Change the way in which the grid hierarchy is stored. The new hierarchy is map mglevel reflevel component timelevel i.e., mglevel moved from the bottom to almost the top. This is because mglevel used to be a true multigrid level, but is now meant to be a convergence level. Do not allocate all storage all the time. Allow storage to be switched on an off per refinement level (and for a single mglevel, which prompted the change above). Handle storage management with CCTK_{In,De}creaseGroupStorage instead of CCTK_{En,Dis}ableGroupStorage. darcs-hash:20050201225827-891bb-eae3b6bd092ae8d6b5e49be84c6f09f0e882933e.gz
* global: Turn CarpetLib templates into classesErik Schnetter2005-01-01
| | | | | | | | | | | | | | | | | | | Turn most of the templates in CarpetLib, which used to have the form template<int D> class XXX into classes, i.e., into something like class XXX by setting D to the new global integer constant dim, which in turn is set to 3. The templates gf and data, which used to be of the form template<typename T, int D> class XXX are now of the form template<typename T> class XXX The templates vect, bbox, and bboxset remain templates. This change simplifies the code somewhat. darcs-hash:20050101182234-891bb-c3063528841f0d078b12cc506309ea27d8ce730d.gz
* global: Remove $Header$ keywords from Carpet arrangementErik Schnetter2005-01-01
| | | | darcs-hash:20050101162121-891bb-ac9d070faecc19f91b4b57389d3507bfc6c6e5ee.gz
* CarpetLib:gh exposed data clamp-downswhite2004-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Made all variables in CarpetLib:gh to be const or non-public, to avoid confusion and insanity. Toward this end, created four member accessors for gh: const rexts & extents() const const rbnds & outer_boundaries() const const rprocs & processors() const const vector<vector<ibbox> > & bases() const This involved a few changes in several files throughout the repository: M ./Carpet/Carpet/src/Initialise.cc -2 +2 M ./Carpet/Carpet/src/Recompose.cc -8 +8 M ./Carpet/Carpet/src/SetupGH.cc -2 +2 M ./Carpet/Carpet/src/modes.cc -3 +3 M ./Carpet/CarpetIOHDF5/src/Recover.cc -4 +4 M ./Carpet/CarpetInterp/src/interp.cc -5 +5 M ./Carpet/CarpetLib/src/dh.cc -3 +3 M ./Carpet/CarpetLib/src/gh.cc -33 +33 M ./Carpet/CarpetLib/src/gh.hh -10 +28 M ./Carpet/CarpetReduce/src/mask_carpet.cc -4 +4 M ./Carpet/CarpetRegrid/src/automatic.cc -2 +2 darcs-hash:20041210131459-32473-ff0835ff0e57f6693fbe1ec23b350d1b1d18e3bc.gz
* Do not use CVS $Date$ for latex documentation any moreErik Schnetter2004-11-18
| | | | darcs-hash:20041118233344-891bb-44b65f16949b0d78bee0a66ad6f65c262652c671.gz
* CarpetInterp: return local_interpolator_statusErik Schnetter2004-10-20
| | | | | | | Return the local interpolators' statuses in a table entry local_interpolator_status. This is e.g. required by AHFinderDirect. darcs-hash:20041020092737-891bb-495add6874e22d32e23eacbc340493a1e4656da3.gz