aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid/src
Commit message (Collapse)AuthorAge
* Carpet: Do not use dynamic_castErik Schnetter2013-08-04
|
* 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
* CarpetRegrid: Small cleanupErik Schnetter2008-07-15
|
* Introduce a tree data structure to speed up domain decompositionErik Schnetter2008-06-20
| | | | | | | | | Introduce a tree data structure "fulltree", which decomposes a single, rectangular region into a tree of non-overlapping, rectangular sub-regions. Move the processor decomposition from the regridding thorns into Carpet. Create such trees during processor decomposition. Store these trees with the grid hierarchy.
* CarpetRegrid: Clarify a complicated if statementErik Schnetter2008-02-20
| | | | darcs-hash:20080220003407-dae7b-66e334c75cf79afad8f2ba0c54159b21c66ec7bf.gz
* CarpetRegrid: Adapt to API change in Carpet::MakeMultigridBoxesErik Schnetter2008-02-20
| | | | darcs-hash:20080220003258-dae7b-11564d99972a945ed246dd032bd92474ee64a13e.gz
* CarpetRegrid: Modernise C++ castErik Schnetter2008-02-19
| | | | darcs-hash:20080219053028-dae7b-7965ec31821a9df6a0ced71d685aa8615a929494.gz
* CarpetRegrid: Update to recent changesErik Schnetter2007-04-19
| | | | darcs-hash:20070419022153-dae7b-783e4acd444e1d45bbfbcd80927c443ae7d8ecfd.gz
* CarpetRegrid: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112225327-dae7b-74ff79a72ca975876875ee6ec7494d3a6125ef17.gz
* CarpetRegrid: Fix logic that decides when to do regridding.cott2006-11-24
| | | | | | | | | | | | | Recently, Erik has changed Carpet/src/Evolve.cc. Importantly, the way CarpetRegrid is called changed. In order for CarpetRegrid::activate_levels_on_regrid = "fixed" to work properly again, the logic in CarpetRegrid needed a small modification. darcs-hash:20061124081044-34d71-f910ed86a0e4bc8e4d754e2b0949ee9821ae891b.gz
* CarpetRegrid: Simplify logic for merge_overlapping_componentsErik Schnetter2006-09-25
| | | | darcs-hash:20060925220844-dae7b-d634dcf36d11a36dd214f75ab86465d7d0d5031c.gz
* CarpetRegrid: Use stored domain specification to convert from coordinatesErik Schnetter2006-06-22
| | | | | | | | Use the stored domain specification to convert from coordinates to grid points. This works even before the coordinate thorn has been initialised, and it is also guaranteed to be consistent. darcs-hash:20060622023347-dae7b-129434e0ceea32397e29dd653384d762d43829dc.gz
* CarpetRegrid: Take basemglevel into account when checking the grid spacingsErik Schnetter2006-06-19
| | | | | | | Take basemglevel into account when checking the user specified grid spacings. darcs-hash:20060619205829-dae7b-82d163027ba08f4a0c9a4f3487e4f112c33fa270.gz
* CarpetRegrid: Explicitly convert size_t to intErik Schnetter2006-06-19
| | | | darcs-hash:20060619205759-dae7b-55dd1d620b04859bd6e2841a3dea58d1b546db9c.gz
* CarpetRegrid: 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:20060613171732-dae7b-87079cbe961564e3e247bf3bdc3d402cbf42a773.gz
* CarpetRegrid: Correct signature of scheduled functionErik Schnetter2006-06-07
| | | | darcs-hash:20060607225525-dae7b-6ede271f951a60626b2d82ce9e792a4f2aae0515.gz
* CarpetRegrid: use xpose instead of zip to transpose a vectErik Schnetter2006-06-06
| | | | darcs-hash:20060606232035-dae7b-e212021ce6872bab81548a0065dfc4d1d399e64a.gz
* CarpetRegrid: Explicitly convert vect<int> to vect<CCTK_REAL>Erik Schnetter2006-06-06
| | | | darcs-hash:20060606224858-dae7b-a0bdea5173286f76493679cc1f98c3b7ee51e21c.gz
* CarpetRegrid: Correct refinement level spacing for convergence_level!=0Erik Schnetter2006-05-26
| | | | | | | Don't take the convergence level into account when checking the user's refinement level spacings. darcs-hash:20060526031843-dae7b-0b475f9095a69e97fb1ddb5b85f13cb0c4004e5a.gz
* CarpetRegrid: Use vector<bool> instead of an int arrayErik Schnetter2006-05-01
| | | | darcs-hash:20060501161456-dae7b-a7124d7131a7295512b89b32fcbc7f37e873ea52.gz
* CarpetRegrid: Take convergence levels into account for grid spacingsErik Schnetter2006-05-01
| | | | | | | Take the convergence level into account when calculating the grid spacing with smart outer boundaries. darcs-hash:20060501161315-dae7b-4d4525c2b12207bbabf3214c18b1af6fff9b1e14.gz
* Fixed CarpetRegrid/regrid.cc to make tracking black holes work with Vanilla ↵cott2006-04-15
| | | | | | darcs pull. darcs-hash:20060415150533-34d71-6ffb3f0ce403cd5c8975437f4870502145f88646.gz
* CarpetRegrid: Construct "multigrid boxes" only once, not once per levelErik Schnetter2006-03-29
| | | | | | | Construct "multigrid boxes" only once, not once per refinement level. This should have no effect except avoid unnecessary computation. darcs-hash:20060329173904-dae7b-0a05a59a3e8dd43a0f8f03bf0f0e9296cc036ee1.gz
* CarpetRegrid: Do not check superfluous refinement levelsErik Schnetter2006-03-29
| | | | | | | | | | CarpetRegrid allows specifying the extents of more refinement levels than are actually used. Do not check these additional, unused levels for correctness. This fixed bug 98. darcs-hash:20060329173748-dae7b-5b75ae5d74e0d560c1fb6ec71a710f1d777a62a5.gz
* CarpetRegrid: Added support for BH Trackingcott2006-02-22
| | | | | | | | | | | | | | | | | | | | Two new parameters: bool tracking, default: no bool merge_overlapping_components, default: no tracking: Allow dynamic regridding using grid component coordinate offset steered by an external tracker thorn. merge_overlapping_components: Merges components once they touch. - Christian darcs-hash:20060222144838-34d71-3ee8ae0bad17aa08d270d5856cd7a0fccb4a0754.gz
* CarpetRegrid: Allow to steer regridding from other thornsErik Schnetter2005-06-05
| | | | | | | | For keep_same_grid_structure, regrid also when the parameter refinement_levels is different from the variable Carpet::reflevels. This allows the parameter to be steered from other thorns. darcs-hash:20050605215946-891bb-0611bb737445c7957bf30a28459d64c3b6a16405.gz
* CarpetRegrid: Better error messages for wrong refinement specificationsErik Schnetter2005-06-01
| | | | | | | | | | | Check that there are no more than Carpet::max_refinement_levels-1 refinement levels specified, and abort with an error message if so. When aligning the grid size to the outer boundary, align lower and upper boundary at the same time. Otherwise there is an intermediate grid size which may not be a multiple of the grid spacing. darcs-hash:20050601144240-891bb-a558598231e19322eba7f02339b767c92c603edf.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
* CarpetRegrid: remove invalid restrict qualifier in Automatic_Recursive()Thomas Radke2005-04-05
| | | | | | | Intel compilers seem to ignore the qualifier but g++ didn't compile automatic.cc anymore. darcs-hash:20050405095600-776a0-14eb3587897219c3d8fb95a23befc5c8fa2a8227.gz
* CarpetRegrid: Correct some errors in the automatic regridding routineErik Schnetter2005-03-23
| | | | | | | Correct some errors in the automatic regridding routine. Add a parameter for verbose screen output. darcs-hash:20050323211540-891bb-8591fe329d8878afb826f7336d00daf6bb1345cb.gz
* CarpetRegrid: Change "&&" and "||" to "and" and "or"Erik Schnetter2005-03-03
| | | | darcs-hash:20050303102007-891bb-dda44e75d217fbbd7e62cb43b509ec5096699b26.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
* CarpetRegrid: Use C style cast to CCTK_REAL because it might be a macroErik Schnetter2005-02-01
| | | | darcs-hash:20050201220211-891bb-906f3b6a805001c8c95064a2b19b787f5e53f73c.gz
* CarpetRegrid: Replace <assert.h> with <cassert>Erik Schnetter2005-02-01
| | | | darcs-hash:20050201220013-891bb-d35eb28919103cf9a9ae78d35c36826c5139ac71.gz
* CarpetRegrid: Add missing #include statementErik Schnetter2005-02-01
| | | | darcs-hash:20050201215843-891bb-7fd7f84112dacb3f028b276a76fe45de2c0dc7b3.gz
* global: Remove $Header$ keywords from Carpet arrangementErik Schnetter2005-01-01
| | | | darcs-hash:20050101162121-891bb-ac9d070faecc19f91b4b57389d3507bfc6c6e5ee.gz
* Use ipow instead of pow in various placesErik Schnetter2004-12-25
| | | | darcs-hash:20041225201857-891bb-ec4076f15ac19f9aef88b0bf2ae728bd9e31f7d0.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
* UNDO: Initialise_decomposeswhite2004-12-01
| | | | | | | Broke this mama of a function into a couple of levels of functional parts. darcs-hash:20041201155737-32473-d59b9f090a4d5bac0bce2d668c7ae674d545e660.gz
* Initialise_decomposeswhite2004-12-01
| | | | | | | Broke this mama of a function into a couple of levels of functional parts. darcs-hash:20041201155737-32473-ce364db1ab14403a823d0bf0937ff4520ed04639.gz
* CarpetRegrid: output a legible error message for errors in the refinement ↵Erik Schnetter2004-10-08
| | | | | | specification parameters darcs-hash:20041008214424-891bb-b18a419225280e6386f3408b345716b68a7a2303.gz
* CarpetRegrid: allow refined regions to moveErik Schnetter2004-10-08
| | | | darcs-hash:20041008214349-891bb-c7bfec9052c47d14c70ed7c9c620e97be1b959f6.gz
* Correct spacing setup on nonzero convergence levelsErik Schnetter2004-09-18
| | | | | | | Do not take basemglevel into account when checking the spacing while translating the refined regions coordinates into indices. darcs-hash:20040918133001-891bb-14797eb044358682cd349b54c308c20f405e7b6e.gz
* Remove CVS header tagsErik Schnetter2004-09-18
| | | | | | Replace all CVS header tags with the standard "$Header:$". darcs-hash:20040918132147-891bb-dea889bdd94a479ec412d14d08e9efca63e5c24d.gz
* Take convergence level into account when checking grid spacing.schnetter2004-08-14
| | | | darcs-hash:20040814054200-07bb3-5174d89066b25ca8784e2de1c64e9a5c00339519.gz
* Update loop over a bounding box to the not-so-recent change of theschnetter2004-08-04
| | | | | | | Update loop over a bounding box to the not-so-recent change of the iterator semantics. darcs-hash:20040804142558-07bb3-ad9bf80bdcc1feb4fce2b05cc525950ba664816f.gz
* Use pow() instead of ipow() because the exponent can be negative.schnetter2004-08-03
| | | | | | | Use pow() instead of ipow() because the exponent can be negative. Fixes a bug with negative convergence levels. darcs-hash:20040803173945-07bb3-cd6785a069013a9ae3370ac476f02f24e6769bb6.gz
* Update check for "smart_outer_boundaries".schnetter2004-08-02
| | | | darcs-hash:20040802094236-07bb3-d6b0fd9eff990a3763e6707d6feefc84d8cd9573.gz