aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* TestBBoxSet2: New thornErik Schnetter2013-05-26
|
* LoopControl: Implement automatic performance improvementsErik Schnetter2013-05-26
| | | | | | | | | | Redesigned internal data structures. This touches many parts of the code. Keep statistics about past loop iterations. Output statistics when terminating. Use these statistics to dynamically choose looping parameters. Allow disabling this feature, e.g. for benchmarks.
* CarpetLib: New class bboxset2Erik Schnetter2013-05-26
| | | | | | | | | | Rename bboxset to bboxset1. Implement new class bboxset2, which uses a different internal datastructure than bboxset1. Make bboxset a typedef for either bboxset1 (default) or bboxset2, as selected by the compile-time macro CARPET_BBOXSET2. Disable all bboxset2 code if CARPET_NO_BBOXSET2 is given, since bboxset2 uses newer C++ constructs not available on some older compilers.
* CarpetLib: New function bbox::anti_contracted_forErik Schnetter2013-05-26
| | | | anti_contracted_for is the exact opposite of contracted for. It is similar to expanded_for, but may return different results in corner cases.
* CarpetLib: Replace more uses of operator% by calls to imodErik Schnetter2013-05-26
|
* CarpetLib: New function bbox::is_poison to check for poisonErik Schnetter2013-05-26
|
* CarpetLib: Remove superfluous check that all indices are non-negativeErik Schnetter2013-05-26
|
* CarpetLib: Use imod instead of % operator in bbox classErik Schnetter2013-05-26
| | | | This avoids rounding problems near zero.
* CarpetLib: Use C++ standard methods to compare containersErik Schnetter2013-05-26
| | | | | Remove CarpetLib's "equals" method. Implement equal_to, less, greater, greater_equal, less_equal, not_equal for vect and bbox classes.
* CarpetLib: Correct vect::countErik Schnetter2013-05-26
|
* CarpetLib: Provide rint, round, trunc, and lrint for vectorsErik Schnetter2013-05-26
|
* CarpetIO*: New parameter CarpetIO*::out_group_separatorErik Schnetter2013-05-26
| | | | out_group_separator chooses the string by which thorn name and group name are separated in file names. The default is "::" for backward compatibility. This parameter only affects output where CarpetIO*::one_file_per_group is set; otherwise, the thorn name does not appear in the file name.
* Reduce time spent in cycling timelevels if there is only one timelevel.Peter Diener2013-05-24
| | | | | | | | | Avoid calling routine that swaps pointers to different timelevels if there is only one timelevel active for a grid variable. This is an performance improvement if there are a large number of grid variables (as in the case of large vectors of grid variables). Signed-off-by: Peter Diener <diener@cct.lsu.edu>
* CarpetLib: Provide idiv and imod implementations for vect<CCTK_REAL,...>Erik Schnetter2013-05-20
|
* CarpetLib: Remove now outdated definitions of idiv and imodErik Schnetter2013-05-20
|
* CarpetLib: Correct some type declarations for 4d grid structuresErik Schnetter2013-05-20
|
* CarpetLib: Add missing #include files to cacheinfo.ccErik Schnetter2013-05-20
|
* CarpetLib: Disable unused refluxing face descriptionsErik Schnetter2013-05-20
|
* CarpetLib: Add routines for integer division that always round downErik Schnetter2013-05-20
| | | | Standard integer division truncates, which can lead to problems if an intermediat result is negative.
* CarpetLib: Correct isnorma() for complex numbersErik Schnetter2013-05-20
|
* CarpetLib: Don't define static_assertErik Schnetter2013-05-20
| | | | This should now be done by the flesh, using autoconf.
* CarpetLib: Don't explicitly #include cctk_Config.hErik Schnetter2013-05-20
| | | | This is done by cctk.h automatically.
* CarpetLib: More verbose error output if sanity check failsErik Schnetter2013-05-20
|
* CarpetLib: Only check cache line size if it is usedErik Schnetter2013-05-20
|
* CarpetLib: Change meaning of vect::count to count true (non-zero) elementsErik Schnetter2013-05-20
| | | | Change count() from counting all elements, which is already done by size(), to counting true (non-zero) elements, which is what Fortran's count() does as well.
* CarpetLib: Rename vect::zip to vect::vzipErik Schnetter2013-05-20
| | | | vect::map is already called vect::vmap.
* CarpetLib: Add constructors to create a vector from a low-dimensional vector ↵Erik Schnetter2013-05-20
| | | | and a scalar
* CarpetLib: Add some comments explaining implementationErik Schnetter2013-05-20
|
* CarpetIOASCII: Indentation changeErik Schnetter2013-05-20
|
* CarpetInterp2: Convert some loop bounds to intErik Schnetter2013-05-20
| | | | The Cray compiler requests this for OpenMP.
* CarpetIOF5: Do not output irrelevant "Writing simulation metadata" messagesErik Schnetter2013-05-19
|
* CarpetIOF5: Correct calculating the I/O processor numbersErik Schnetter2013-05-19
|
* LoopControl: disable smt by defaultRoland Haas2013-05-12
| | | | | We currently have issues with this switch changing results of computation when used in combination with openmp and using all cores.
* Merge branch 'master' of carpetgit@carpetcode.org:carpetPeter Diener2013-04-29
|\
| * Requirements: add missing include fileRoland Haas2013-04-27
| |
| * CarpetLib: Correct alignment mechanism when allocating memoryErik Schnetter2013-04-27
| | | | | | | | Handle the case where new returns memory with an alignment less than the type's size.
| * CarpetReduce: Offset reduction weights when periodic boundaries are usedErik Schnetter2013-04-25
| | | | | | | | Offset reduction weights by 1/2 grid point when periodic boundaries are used with vertex centering. This means that all interior points have then weight 1, and all boundary points have then weight 0.
* | Fix in order to compile with IBM compilers.Peter Diener2013-04-29
|/ | | | | | | Without this fix, the IBM compilers would not compile the prolongation operators. Signed-off-by: Peter Diener <diener@cct.lsu.edu>
* CarpetLib: Vectors is currently required, not optionalErik Schnetter2013-04-10
| | | | Vectors is supposed to be an optional dependency, but building currently fails without this thorn.
* Requirements: Whitespace changeErik Schnetter2013-04-04
|
* Carpet: Take tapering into account during postrestrictErik Schnetter2013-04-04
|
* Carpet: Small performance improvement in SyncGroupsByDirErik Schnetter2013-04-04
|
* Carpet: Exit restriction early if no groups should be restrictedErik Schnetter2013-04-04
|
* CarpetLib: Remove unused/unfinished bboxtree classErik Schnetter2013-04-04
|
* Requirements: Use location_t to output warnings and errorsErik Schnetter2013-04-04
| | | | | | Add function_data to location_t. Update location_t's output routine. Pass iteration number to Requirements::Recompose. Update callers in Carpet.
* Requirements: Change location output order; output map before timelevelErik Schnetter2013-04-04
|
* Requirements: Output iteration number in warnings and error messagesErik Schnetter2013-04-04
|
* Requirements: Change location output formatErik Schnetter2013-04-04
| | | | Treat iteration number as part of "location".
* Requirements: Unify order of #include statementsErik Schnetter2013-04-04
|
* Requirements: Don't use identifiers starting with an underscoreErik Schnetter2013-04-04
|