aboutsummaryrefslogtreecommitdiff
path: root/Carpet
Commit message (Collapse)AuthorAge
...
* CarpetLib: Clean up transport operatorsErik Schnetter2007-02-04
| | | | | | | | | | | | Remove unused, #ifdef'ed out code from the operators. Since the operators use now the bbox class, this checking is already performed there. Remove unused debugging code in the cell-centered operators. Use the restrict qualifier in the prototypes. darcs-hash:20070204174027-dae7b-743583b30d52646219411c98ad99486d10445e52.gz
* CarpetLib: Remove commented out code for complex variablesErik Schnetter2007-02-04
| | | | | | | | | CarpetLib contained special code that used std::complex instead of Cactus's CCTK_COMPLEX for complex variables. A very similar feature is now supposed to go into the flesh, and hence this (unused) code is being removed. darcs-hash:20070204172854-dae7b-af7b7aca42988195846220dd7f45827549f5caf9.gz
* CarpetLib: Improve timersErik Schnetter2007-02-03
| | | | | | | | | | | | Implement a second timer based on Intel's rdtsc instruction, which is much faster and much more accurate than MPI_Wtime. Place the timer classes into the CarpetLib namespace. Create a TimerSet class. Make the Timer class automatically register all timers with a singleton object, removing all global variables. darcs-hash:20070203211128-dae7b-42765e79446eda6a2337ba22cd390869055c555a.gz
* CarpetLib: Correct error in bbox::sizeErik Schnetter2007-02-03
| | | | darcs-hash:20070203204005-dae7b-dc38364001baecd4b7073e6dc92077cf1f756b70.gz
* CarpetLib: Use AT to index std::vectorErik Schnetter2007-02-03
| | | | | | | | Define a macro AT() to index into std::vector. Depending on the macro NDEBUG, AT() is defined either as at(), providing index checking, or as operator[], providing no checking. darcs-hash:20070203205854-dae7b-a1999c88c95ba12b1ee66505f712aefdd67d7e6f.gz
* CarpetLib: Define constant eolErik Schnetter2007-02-03
| | | | | | | Define a constant eol containing a newline character. Unlike endl, it does not flush the I/O stream. darcs-hash:20070203185434-dae7b-1f057e593cc45b3d5cf1b067b247b6de071230da.gz
* CarpetLib: Optimise bbox and bboxset classes for speedErik Schnetter2007-02-03
| | | | | | | | | | | | | Use std::list instead of std::set to store the bboxes internally. Define some functions as inline. Perform some checking only when NDEBUG is not defined. Optimise the algorithms for normalising bboxsets and for calculating the set difference. darcs-hash:20070203172717-dae7b-1e77f0a810f786913cd2a1aaed1ea1a5fde604cf.gz
* CarpetEvolutionMask: don't output "sum" reductions in ↵Thomas Radke2007-01-31
| | | | | | | | | CarpetEvolutionMask_test testsuite The sum reduction needs a much higher tolerance, and contains essentially the same information as the average reduction. darcs-hash:20070131155833-776a0-e79108728ba0fdd3948cdaa4e3aac76dbcdc8d94.gz
* CarpetWeb: Add gr-qc/0701163 and gr-qc/0701164Erik Schnetter2007-01-30
| | | | darcs-hash:20070130012342-dae7b-e037570d3cc2b627fbbde0f55830c3423051247c.gz
* CarpetWeb: Add gr-qc/0701143Erik Schnetter2007-01-29
| | | | darcs-hash:20070129025830-dae7b-58a5c3f9b225b20863a5040f9394f3deb9b0172f.gz
* CarpetEvolutionMask: fix CarpetEvolutionMask_test testsuiteThomas Radke2007-01-26
| | | | | | | | Replaced CactusBase/IOBasic's norm output files by equivalent ones from CarpetIOScalar. Added diagonal output files which were missing in the archive. darcs-hash:20070126135049-776a0-98353852d983a8e5401c7dea81429f711c74da28.gz
* Carpet*/test: specify the number of processors to run testsuitesThomas Radke2007-01-18
| | | | | | | | Some testsuites in the thorns listed above have CarpetIOASCII output files that were generated on a specific number of processors; tell the testsuite script that these testsuites should be run only on that number of processors. darcs-hash:20070118115525-776a0-d385bb56c7d17e00ad6ef2af805093f968e7c620.gz
* CarpetIOHDF5: specify the number of processors to run testsuitesThomas Radke2007-01-18
| | | | | | | | | Some of CarpetIOHDF5's testsuites produce CarpetIOASCII output files which format is always dependent on the number of processors used. In the newly added test.ccl configuration file this number is explicitely specified for running the testsuites successfully. darcs-hash:20070118100106-776a0-1317671e489dd815dafd7c4e376f9d5dcc45c552.gz
* CarpetWeb: Correct link to FlexIO pagesErik Schnetter2007-01-25
| | | | darcs-hash:20070125031359-dae7b-b7abfdd21fbc0d04559c01452a7d28cab7ee6180.gz
* CarpetWeb: Add WhiskyMHD paperErik Schnetter2007-01-25
| | | | darcs-hash:20070125022256-dae7b-0c6fbd922cc992f61e4e39da7f6b51916134a990.gz
* CarpetWeb: Correct broken linksErik Schnetter2007-01-25
| | | | | | | | Correct broken links. Correct DTD specifier. Correct urls. darcs-hash:20070125022112-dae7b-0f2af802a7750850ca2d51670f1678e98edd0f0e.gz
* Carpet: Document new scheduling bins "postregridinitial" etc.Erik Schnetter2007-01-12
| | | | | | Add new scheduling bins "preregridinitial" and "postregridinitial". darcs-hash:20070112195925-dae7b-b7e0a7e97e6a645a8508c09dca7e9137f27150f9.gz
* CarpetLib: Support restrict qualifierErik Schnetter2007-01-15
| | | | darcs-hash:20070115175330-dae7b-ae3dd3c47931ad57b3a5cca9429b3f223c9e834c.gz
* Carpet: Initialise regions correctly when multiple patches are usedErik Schnetter2007-01-15
| | | | darcs-hash:20070115175138-dae7b-b73890b52ad0aaeedffce78a8525a2ecda062a66.gz
* CarpetIOScalar: Do not overload operator<< for complex numbers any moreErik Schnetter2007-01-12
| | | | | | | Do not overload operator<< for complex numbers any more. This is now expected from the flesh. darcs-hash:20070112224122-dae7b-a9529446fb5b10e6f2cedebc2f4c047c401f9336.gz
* CarpetIOBasic: Do not overload routines for complex numbers any moreErik Schnetter2007-01-12
| | | | | | | Do not overload routines for complex numbers any more. This is now expected to happen in the flesh. darcs-hash:20070112223613-dae7b-8c3e5d08350c559c96405352293df48b2ebde34c.gz
* CarpetIOASCII: Do not overload operator<< for complex numbers any moreErik Schnetter2007-01-12
| | | | | | | Do not overload operator<< for complex numbers any more. This is now expected from the flesh. darcs-hash:20070112222709-dae7b-5d0ed66ab45bb1ac12b968957801ae26ac477e30.gz
* Carpet: Change regridding API to use region_tErik Schnetter2007-01-13
| | | | | | | | | | Change the regridding API to use region_t. This is a major API change. Use the information in region_t to correct the load balancing when outer buffer zones are used. darcs-hash:20070113014409-dae7b-33f78948a7b826ea7806513d7864730fe64c14a9.gz
* Carpet: Implement cell centeringErik Schnetter2007-01-13
| | | | | | Adapt to the changes in CarpetLib to implement cell centering. darcs-hash:20070113005851-dae7b-2e84bf44f70f196400036670de2086f7af3aaa1e.gz
* CarpetTracker: Adapt to checkpointing correction in CarpetRegrid2Erik Schnetter2007-01-12
| | | | darcs-hash:20070112233612-dae7b-44a10390f1d0a050e6911ae61c037d52d3fdaede.gz
* CarpetRegrid2: Correct checkpointing error. Implement cell centering.Erik Schnetter2007-01-12
| | | | | | | | | | | | | | | Correct error with checkpointing and recovery. Store the last regridding iteration in grid variables, so that it is conserved during checkpointing and recovery. Implement cell centered refinement. Introduce a new parameter "snap_to_coarse" that makes the fine grid always cover complete coarse grid cells. Add a parameter "min_fraction" which specifies when to combine several small grids to form a single, larger, combined grid. darcs-hash:20070112233156-dae7b-3f32c9558e29f25f9bc1ba533985a4392877feab.gz
* CarpetRegrid2: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112233049-dae7b-e2f4a2190ccb021ce4887e623d7a4c8c623f256e.gz
* CarpetRegrid: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112225327-dae7b-74ff79a72ca975876875ee6ec7494d3a6125ef17.gz
* CarpetReduce: Disable an incorrect special case for the reduction maskErik Schnetter2007-01-12
| | | | | | | | Disable the special case that is supposed to handle empty domains for the reduction mask. The implementation of the test is flawed, not the idea; the test should be re-implemented correctly. darcs-hash:20070112224810-dae7b-b3000e90e618f81b9ec188dea2a3223c01889b10.gz
* CarpetReduce: Correct definition of mymin and mymax; introduce myisnanErik Schnetter2007-01-12
| | | | darcs-hash:20070112224438-dae7b-38b62080071060c00a7bf2be053a584af739991b.gz
* CarpetReduce: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112224413-dae7b-a6a68d471d22ef1f0f1b2a1561ef4b302e017bc1.gz
* CarpetInterp: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112224235-dae7b-a410208268be26efb93c39abb7e970e733501a1e.gz
* CarpetIOHDF5: Adapt to region_t changesErik Schnetter2007-01-12
| | | | | | | | Adapt to region_t changes. Use the type region_t instead of gridstructure_t. This is an incompatible change to the format of HDF5 files. darcs-hash:20070112223732-dae7b-9f2527492cffa6f929a9dd32604713267621d7fb.gz
* CarpetIOASCII: Correct conversion from indices to coordinatesErik Schnetter2007-01-12
| | | | | | | Correct conversion from indices to coordinates. The conversion was wrong for cell-centered grids. darcs-hash:20070112223421-dae7b-097d63222078e11ab339c678cb358dc1191099d1.gz
* CarpetEvolutionMask: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112222640-dae7b-0e208231fc8f79957f97db95a6c2094a57edec30.gz
* Carpet: Use nicer syntax for calling operator()Erik Schnetter2007-01-12
| | | | darcs-hash:20070112212447-dae7b-bc8ccbe1bf42347fa7f167d6923a59ec6484584e.gz
* Carpet: #include <iostream> in Recompose.ccErik Schnetter2007-01-12
| | | | darcs-hash:20070112212434-dae7b-319e84ce2b864dfb238da8396ca380ffadc7ba7f.gz
* Carpet: Convert bool to int before adding valuesErik Schnetter2007-01-12
| | | | darcs-hash:20070112212330-dae7b-80d0afa9f6ce3afd6b030ed62915585a97e7564b.gz
* CarpetLib: Ensure that the strides are compatible with the refinement factorsErik Schnetter2007-01-12
| | | | | | | Ensure that the strides of each refinement level are compatible with the refinement factor of this level. darcs-hash:20070112211111-dae7b-5136e494c4d7a6dd446c096646a601ca2791a6be.gz
* CarpetLib: Make some routines and destructores non-virtualErik Schnetter2007-01-12
| | | | | | | Make some routines and destructores non-virtual. They belong to classes which used to form a type hierarchy but are now flat. darcs-hash:20070112211017-dae7b-cffc83b94bf43c3b8665f6115021827e9d61717a.gz
* CarpetLib: Ensure that the bboxes are aligned with the base extentErik Schnetter2007-01-12
| | | | | | Ensure that the bboxes are aligned with the base extent in the dh class. darcs-hash:20070112210924-dae7b-b0cd213087916602753565ecb6317692d65139e0.gz
* CarpetLib: Add consume() routine for stringsErik Schnetter2007-01-12
| | | | | | | Add a routine consume() which reads a whole string, not only a single character. darcs-hash:20070112210808-dae7b-dc1e0be61cefe8af390d9f598bfdac314dd7aeac.gz
* CarpetLib: Reorganise prolongation and restriction operatorsErik Schnetter2007-01-12
| | | | | | | | | | | | | | | | | | | | | | | | Reorganise prolongation and restriction operators. This is a major implementation change. Most operators are now written as C++ templates instead of as Fortran 77 code. This simplifies the code, since C++ routines can be called more easily, and they also have access to CarpetLib's high-level data structures. Previously, the operators combined temporal and spatial interpolation. Now, time interpolation and space interpolation are handled separately. This may be less efficient, but simplifies the code significantly, since there are now N+M instead of N*M routines, for N time interpolation and M space interpolation methods. Remove the minmod prolongation operator, which was previously disabled. Add support for cell centering, using a method described by Simon Hern, and suggested for Carpet by Ian Hawke. darcs-hash:20070112205812-dae7b-5329795aa698e7bbc3671b1504134885dd830238.gz
* CarpetLib: Updates to vect classErik Schnetter2007-01-12
| | | | | | | | Add some new functions to make the vect class more convenient. Remove some unused functions. Instantiate some more templates. darcs-hash:20070112205505-dae7b-12a0ea160b9740cdbe60d89d9e9100fc06a1faa7.gz
* CarpetLib: Add new datatype region_tErik Schnetter2007-01-12
| | | | | | | | | | | | | | | | | | | | | | | The new datatype region_t combines an extent (a bbox), an outer boundary descriptor, a refinement descriptor, and a processor number: struct region_t { ibbox extent; // extent b2vect outer_boundaries; // outer boundaries b2vect refinement_boundaries; // refinement boundaries int map; // map to which this // region belongs int processor; // processor number }; These quantities are often used together, and combining them into a single datatype simplifies the code significantly. Adapt gh, dh, etc. to use this new datatype. This is a major API change. darcs-hash:20070112204130-dae7b-92cad546187b0fe499e8cfc38b2e26614a4f608c.gz
* CarpetLib: Make many MPI experiments configurableErik Schnetter2006-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new parameters: BOOLEAN interleave_communications: Try to interleave communications with each other; each processor begins to communicate with its 'right neighbour' in rank, instead of with the root processor BOOLEAN vary_tags: Use different tags for each communication BOOLEAN barrier_between_stages: Add a barrier between the communication stages (slows down, but may make timing numbers easier to interpret) BOOLEAN combine_sends: Send data together and in order of processor ranks BOOLEAN reduce_mpi_waitall: Call MPI_Waitall only for requests that are not null BOOLEAN use_mpi_send: Use MPI_Send instead of MPI_Isend BOOLEAN use_mpi_ssend: Use MPI_Ssend instead of MPI_Isend darcs-hash:20061206165333-dae7b-8ba40bd19fb1733336e60cb7e6bfa0ebfe0d546d.gz
* CarpetReduce: Schedule also in postregridinitial binErik Schnetter2006-12-06
| | | | darcs-hash:20061206163437-dae7b-c2647071f4257c4a2cee820a470ff6b80c20e106.gz
* CarpetEvolutionMask: Schedule also in postregridinitial binErik Schnetter2006-12-06
| | | | darcs-hash:20061206163347-dae7b-4489f04d8f3e290a8c16ad41e7c18d6a05372037.gz
* Carpet: Add facility to switch off synchronsing during time evolutionErik Schnetter2006-12-06
| | | | | | | | | Add parameter sync_during_time_integration. This parameters disables synchronisation during time integration, similar to the way in which prolongation is disabled. This can potentially reduce communication overhead. darcs-hash:20061206163017-dae7b-953a43e45537fcac6acb2436cbcba3a1b75ee938.gz
* Carpet: Re-introduce bins preregridinitial and postregridinitialErik Schnetter2006-12-05
| | | | | | | | | Regridding while setting up initial data is different from regridding during evolution. Re-introduce the bins preregridinitial and postregridinitial, which are used during initialisation instead of preregrid and postregrid. darcs-hash:20061205223218-dae7b-0c9f0cbec358987701a710b5fcc70258d089dd4a.gz