aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src
Commit message (Collapse)AuthorAge
* 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.
* CarpetLib: Correct regridding communication scheduleErik Schnetter2008-05-20
| | | | | Handle correctly the case where the multi-patch processor decomposition changes during regridding.
* CarpetLib: Compare simulation times with relative accuracyErik Schnetter2008-05-14
|
* CarpetLib: Correct typo in commentErik Schnetter2008-04-25
|
* CarpetLib: Add higher order interpolation operatorsErik Schnetter2008-04-25
|
* CarpetLib: Improve error message when overly large bbox is createdErik Schnetter2008-04-01
|
* CarpetLib: Add a fall-back dummy timer in case no system timer is foundErik Schnetter2008-03-28
| | | This fall-back timer only counts how often it is called.
* CarpetLib: Update cycle.hErik Schnetter2008-03-27
| | | | | Update the file cycle.h from FFTW. This file defines the low-level and system-dependend timers. This update should add support for IBM compilers on PPC architectures.
* 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.
* Enhance support for multi-patch simulationsErik Schnetter2008-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Carpet: Ensure that at most one of GetDomainSpecificatio or MultiPatch_GetDomainSpecification is defined. Allow the boundary case of having zero regions on a refinement level. CarpetLib: Allow the boundary case of having zero components on a patch, if there are still more than zero components overall. CarpetIOASCII: Loop over the components using explicit light-weight for loops instead of Carpet's looping macros. This is faster, since less state information needs to be updated. Correct an inconsistency in converting between integer indices and coordinates in multi-patch simulations. CarpetRegrid2: Take multi-patch systems into account.
* CarpetLib: Output type information in bbox error messagesErik Schnetter2008-03-19
|
* Add preprocessor macro CARPET_HAVE_BUFFER_WIDTH to carpet.hhIan Hinder2008-03-05
|
* CarpetLib: Correct memory leak in commstate classErik Schnetter2008-03-01
| | | | | | Correct a memory leak and simplify the code in the commstate class by using C++ datatypes instead of new and delete. Add many assert statements to catch potential problems.
* Move communication schedule into its own data structureErik Schnetter2008-02-29
| | | | | | | Splite the grid hierarchy and communication schedule into two separate data structures. Correct error in determining the processor owning a certain region when calculating the communication schedule.
* Use MPI_CHAR instead of MPI_BYTE for to represent a C charErik Schnetter2008-02-29
|
* Carpet/CarpetLib/src/prolongate_3d_real8_eno.F90baiotti2008-02-28
| | | | | | | | Carpet/CarpetLib/src/prolongate_3d_real8_weno.F90 update comments in source files. darcs-hash:20080228034854-d5812-b05841031ed39005bb0a2991cdf45a9c0fd4e8cc.gz
* CarpetLib: Output all digits in error messageErik Schnetter2008-02-25
| | | | | | | Output all digit for the times in the error message indicating that there is an extrapolation in time. darcs-hash:20080225055300-dae7b-500b168cc5b5f9c57b31c54e7ee07114062dca51.gz
* CarpetLib: Change API of ggf's cycle, flip, and fillErik Schnetter2008-02-19
| | | | | | | | | Rename cycle, flip, and fill to cycle_all, flip_all, and fill_all, respecively, in the ggf class. Remove the c ("component") argument. Instead, loop over all components. This mirror earlier changes to sync etc. darcs-hash:20080219045150-dae7b-f2198d253aac5b62d247a51155a08c3739daa720.gz
* CarpetLib: White space change in ggf.ccErik Schnetter2008-02-19
| | | | darcs-hash:20080219045115-dae7b-b098e7d4835a115ea87fc0ed656ba87f803a368b.gz
* CarpetLib: Remove some superfluous if statements in the communication scheduleErik Schnetter2008-02-19
| | | | | | | Remove some superfluous if statements when calculating the communication schedule. This re-indents a lot of code. darcs-hash:20080219044952-dae7b-61370e7eab49b5f173fa25778d6fbc1b2570f84b.gz
* 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: Use vector<char> instead of new char in commstate classErik Schnetter2008-02-19
| | | | | | | | | | Use vector<char> instead of new char[] in the commstate class. This corrects a memory management error. Use .AT() instead of [] to access vector elements to catch indexing errors. darcs-hash:20080219044221-dae7b-ecd72b45833617920a33311953d5c2f00c42568c.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
* CarpetLib: Correct error in parallelisation of prolongation operatorsErik Schnetter2008-01-31
| | | | darcs-hash:20080131232919-dae7b-c446e7e9124c4793fff2d33d16f5a5a0abafb87f.gz
* CarpetLib: Remove old-style communication routinesErik Schnetter2008-01-30
| | | | | | | Remove the declarations and definitions of old-style communication routines. darcs-hash:20080130221457-dae7b-1d759b545bf0e56273f6c7ba3aeb628fa9ade7ef.gz
* CarpetLib: Remove unoptimised fields of dh::boxes structureErik Schnetter2008-01-30
| | | | | | | | | | Remove the unoptimised and the old-style optimised fields for the communication and regridding structure from the dh::boxes structure. (Keep the new-style optimised fields.) Remove the code that sets them. Remove the old-style optimisation routines. Update the output routines. darcs-hash:20080130221033-dae7b-cd7a9b8445ba13eaf95af2b1739bf6592cebdbcf.gz
* CarpetLib: Move pseudoregion datatypes to region.hhErik Schnetter2008-01-30
| | | | | | | | | Rename the datatypes pseudoregion and sendrecv_pseudoregion to pseudoregion_t and sendrecv_pseudoregion_t, respectively. Move their declaration and definition to region.hh and region.cc, respectively. Instantiate templates for stream output. darcs-hash:20080130221653-dae7b-8eb25cacc8f7750ac470179c9575785bdb32b575.gz
* CarpetLib: Remove commented out calls to optimise2_fieldErik Schnetter2008-01-30
| | | | darcs-hash:20080130220753-dae7b-8e3e204338e67e187e11bd0997c8a967f364dc83.gz
* CarpetLib: Free memory when deallocating grid functionsErik Schnetter2008-01-29
| | | | darcs-hash:20080129044555-dae7b-74b17623c5239e72cfb5e82b305604ee694daba8.gz
* CarpetLib: Update timer calibrationErik Schnetter2008-01-23
| | | | darcs-hash:20080123170345-dae7b-7de07dc88470c859a05b0334809d95aae0ae3fde.gz
* CarpetLib: Make prolongation operator parallelisation compile on AIXErik Schnetter2008-01-20
| | | | darcs-hash:20080120012827-dae7b-464a66c3cd12b0110a8d4982a7b8c6bcf2aea218.gz
* CarpetLib: Introduce new communication scheduleErik Schnetter2008-01-14
| | | | | | | | | | Store the communication schedule more efficiently: store only the non-zero parts. This saves much time when traversing the schedule. Add new communication routines which communicate not between only two individual components, but between all components. darcs-hash:20080114152229-dae7b-7b7ba51bd8b5de0a0009ea236f4a894667b0281b.gz
* CarpetLib: Slight change to memstat outputErik Schnetter2008-01-14
| | | | darcs-hash:20080114151720-dae7b-42dbfa9f1277cb48f790484705f3ba484f2487a4.gz
* CarpetLib: Rename function argumentErik Schnetter2008-01-14
| | | | darcs-hash:20080114151659-dae7b-2dce7311a42b103773b7b6febb1bafa7ded9058f.gz
* CarpetLib: Add function ggf::fill, which fills all time levelsErik Schnetter2008-01-14
| | | | | | | | | Add a new function ggf::fill, which fills all time levels from the current time level. Remove the function ggf::copy, which was unused. darcs-hash:20080114151255-dae7b-469b57d0393ba0ed22590c2eabe862e02702fde7.gz
* CarpetLib: Add some debug output to error messagesErik Schnetter2008-01-14
| | | | darcs-hash:20080114151201-dae7b-bc92cc1504e42ffd037e140dc085dd7e65f657e4.gz
* CarpetLib: Use timing routines from FFTW libraryErik Schnetter2008-01-14
| | | | | | | | | | Use the timing routines from FFTW library. These contain platform-specific code for many different platforms. Remove parameter timestat_timer, since the timer is now chosen automatically. darcs-hash:20080114150519-dae7b-d979aa53a1470335b3ace353e862eef13670958d.gz
* CarpetLib: Set number of OpenMP threads via an external function callErik Schnetter2008-01-14
| | | | | | | Set the number of OpenMP threads via an external function call instead of via a CarpetLib parameter. darcs-hash:20080114150439-dae7b-a6a6a629162ca195411852823e1ece0a2071d771.gz
* CarpetLib: Correct parallelisation of prolongation operatorsErik Schnetter2008-01-14
| | | | darcs-hash:20080114075419-dae7b-b59ccf120d369c4ea8715f856a68e63a0c396f63.gz
* CarpetLib: #include <cstring>Erik Schnetter2007-11-02
| | | | darcs-hash:20071102224528-dae7b-b8ecec8895cd86f40ed667db5db2c4b79ba8b237.gz
* CarpetLib: Enforce memory limit via operating systemErik Schnetter2007-09-28
| | | | | | Enforce memory limit by calling setrlimit for RLIMIT_AS. darcs-hash:20070928154922-dae7b-2b3436bfe35452de19b9765279c1bb81997f9497.gz
* CarpetLib: Always output the grid structure if there was an errorErik Schnetter2007-09-28
| | | | darcs-hash:20070928155050-dae7b-dd2712aec2215d4e79fedac8a1205a4791900d98.gz
* CarpetLib: Remove unused variablesErik Schnetter2007-09-28
| | | | darcs-hash:20070928155039-dae7b-dfa70c6762076f80954554560ebbd6cd7fbb6495.gz
* CarpetLib: Use busy waiting instead of usleep to calibrate timersErik Schnetter2007-09-21
| | | | darcs-hash:20070921152348-dae7b-8a3a55574196b28f86afba561d064c89c386c955.gz
* CarpetLib: Improve error messages for grid hierarchy consistency checksErik Schnetter2007-09-05
| | | | | | | | | | | | | Use CCTK_WARN instead of assert to report errors in the grid hierarchy. Continue the consistency checks even if errors are found, so that multiple errors can be diagnosed at the same time. Output the grid hierarchy even when it is not consistent, so that errors can be diagnosed without core dumps. darcs-hash:20070905000356-dae7b-4f55bff9af10e0a53f4bb1b3702a6f169dda35c2.gz
* CarpetLib: Improve error messages in bbox consistency checksErik Schnetter2007-09-05
| | | | | | Use CCTK_WARN instead of assert to test bbox sizes for integer overflow. darcs-hash:20070905000256-dae7b-6eaab530356ba3dcb1909b75840743bf39f5b20f.gz
* CarpetLib: Add support for OpenMPErik Schnetter2007-08-21
| | | | | | | | | | | Add #pragma omp statements for loops in reduction and prolongation operators. Change loop control variables to signed types. Add functions to determine the number of active threads. Add a parameter to set the number of threads if desired. darcs-hash:20070821185237-dae7b-56827b72a69b5fa1b3d1316379a0f155696b4cb2.gz
* CarpetLib: Add bboxset::intersectsErik Schnetter2007-08-09
| | | | darcs-hash:20070809203347-dae7b-af9e0bcb5bb419bf309d8eef12ed5cc52a9ba2a9.gz
* CarpetLib: Sync 1-tl and prolongation=none GFscott2007-07-20
| | | | | | | | | | Sync 1-tl and prolongation=none GFs Fix a little bug that prevented the synchronization of GFs that have only 1 timelevel or have prolongation turned off explicitely (tag 'prolongation=none'). darcs-hash:20070720053350-fff0f-dd8b80ecbb76ff7f3347ce3a906e537f7e0fd128.gz