| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
darcs-hash:20050727211018-776a0-512284609dff3e7d23de6d0dde7db219b5098c8a.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a new parameter print_memstats_every. When non-zero, output
the current and total allocated amount of memory (per process).
Introduce a new parameter max_allowed_memory_MB. When more than that
amount should be allocated on the current processor, abort the run.
Only memory for grid variables counts; memory for administrative
overhead is ignored.
darcs-hash:20050727201851-891bb-c1ff9fc30ff949d576d500fbf70ad7fb5084836a.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Util_asprintf()) to construct C output strings
There was a small memory leak in using Util_asprintf() to continuously append
to an allocated string buffer. The code has now been rewritten to use C++ string
class objects which are destroyed automatically.
This closes http://bugs.carpetcode.org/show_bug.cgi?id=89.
darcs-hash:20050726122331-776a0-874ccd0d5766b85b1110fcd6f501a7e39c35e965.gz
|
|
|
|
|
|
| |
Add email address to thorn documentation.
darcs-hash:20050726101700-891bb-9cd0621dd3239c2bf1788b5e91964abfca9eeb32.gz
|
|
|
|
|
|
| |
Use \textless etc. instead of $<$.
darcs-hash:20050726101551-891bb-b6e8fb5f3fb540bf449626fa3650b4870bb444de.gz
|
|
|
|
|
|
| |
written successfully by all output processors
darcs-hash:20050725150549-776a0-fe03ace195af6a723af91ca7d0a63eaeae25b050.gz
|
|
|
|
|
|
| |
documentation
darcs-hash:20050725124640-776a0-bf71db8b90758458c660420835ba1db48f3c78b0.gz
|
|
|
|
|
|
|
| |
Also configure with --disable-mmap, which makes darcs work on NFS
mounted partitions.
darcs-hash:20050723185809-891bb-380f996de529051506769c39277786e89e43d1d2.gz
|
|
|
|
| |
darcs-hash:20050721150942-891bb-143f23faa8467f3a6cd111581761d06d436c1e66.gz
|
|
|
|
| |
darcs-hash:20050721150909-891bb-2d9b2ca9840f3b6a6ddebce898f4a3d66bbd7717.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20050718195400-891bb-a2d851ac7903980d6ed3b037c493ef6326ec31cd.gz
|
|
|
|
| |
darcs-hash:20050716140952-891bb-c7665e3f4b371287f54cfc167140719ce54120b8.gz
|
|
|
|
| |
darcs-hash:20050715220800-891bb-3644e7ac858ca170d7a4973d121b7f41b2ca45fb.gz
|
|
|
|
|
|
|
|
| |
Add 7th order accurate spatial interpolation operators. These are
probably slow; refactoring the code into subroutines may help. Only
the special case refinement-factor=2 is implemented.
darcs-hash:20050715220610-891bb-bcab32f4c57f155142abd5f0f01341ea108d983f.gz
|
|
|
|
|
|
|
|
| |
Forbid the interpolation orders 0, 2, and 4, which were not
implemented. CarpetLib used to fall back to the higher orders 1, 3,
and 5 instead. Now, CarpetLib will abort in this case.
darcs-hash:20050715220423-891bb-2d65006f6a78cb55aec3949de30b4e68134efa0b.gz
|
|
|
|
| |
darcs-hash:20050715122158-891bb-9ca545119c2868b68ff5616cf68f0bdd4398067c.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Carpet extends 1D grids to 3D grids by giving them an extent of 1 in
the additional directions. This assumption was erroneously checked
later in certain places. However, when grids are distributed onto
processors, the extent can become 0 in these additional directions as
well if there are fewer grid points that processors.
Remove this check.
darcs-hash:20050714140029-891bb-f3ac62f54e25fb69130d0559e0f95ac4d1dd02dc.gz
|
|
|
|
|
|
|
|
| |
Apparently there are groups with 0 variables. For them CCTK_FirstVarIndexI(group) returns -2. Since IOUtil does not check the validity of the varindex for which it creates an IO request, this can potentially lead to memory corruption and in fact does so on the Itanium-2 architecture.
Fix: The checkpointing routine now does nothing for variable groups with 0 variables.
darcs-hash:20050713140545-34d71-d9966cc8d510dd7a85a42ef7dc683491b2d2c895.gz
|
|
|
|
| |
darcs-hash:20050712200152-891bb-414e79d4df9da21773e647e32c7a8de5c223582b.gz
|
|
|
|
|
|
|
|
| |
Check whether CartGrid3D::avoid_origin has been set only when
CartGrid3D provides symmetry boundaries, i.e., when CartGrid3D::domain
is not "full".
darcs-hash:20050711113709-891bb-9a4e0dcf67cd7a3cc4ad4651e54db8440a3556bf.gz
|
|
|
|
|
|
|
|
|
| |
Introduce aliased functions MultiPatch_GetBoundarySpecification and
Multipatch_GetDomainSpecification which can be provided by a
multipatch thorn. This will make it possible to have different grid
setups on different patches.
darcs-hash:20050705103636-891bb-4f03733ed93abf1d70efa1c64e13dc4066a91cf1.gz
|
|
|
|
|
|
|
| |
Make grid size steerable on recovery. This makes sense when the
processor-local grid size is specified.
darcs-hash:20050705103447-891bb-0403063c5d80d8dcadd469d5d76a1b1828b58abd.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some intelligence that checks what other thorns are active, and
whether they assume a consistent grid setup. So far there is:
CartGrid3D::type = "coordbase" if Carpet::domain_from_coorbase = yes
CoordBase::boundary_staggered = no
CartGrid3D::avoid_origin = no
ReflectionSymmetry::avoid_origin = no
darcs-hash:20050705100619-891bb-0bb290ad115f72215adb412c4a2da660892b8810.gz
|
|
|
|
| |
darcs-hash:20050704170346-891bb-9afcde47badcd4fc165a3ea9d4cd73d6975482f3.gz
|
|
|
|
| |
darcs-hash:20050704163535-891bb-e95030a4787fd6b65dc17d8c959e714d36ac575c.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20050704162500-891bb-589be0634ace55be5a3a5e0b633b86435c3f847b.gz
|
|
|
|
|
|
| |
number of clients allowed to connect to a simulation at the same time
darcs-hash:20050701100728-776a0-7964598e966223fa1db8dddfce86502d26992ac4.gz
|
|
|
|
|
|
| |
streamed Carpet HDF5 data
darcs-hash:20050629141522-776a0-9c2d00943eb5b072b486223ab8208a0cae7388d3.gz
|
|
|
|
| |
darcs-hash:20050628153314-776a0-d7649e76b4fcf801a37bbfae4eb68bbf7b0532f5.gz
|
|
|
|
| |
darcs-hash:20050628113206-776a0-3ed3eae73dcc785de93273c16df556c3c6531de3.gz
|
|
|
|
| |
darcs-hash:20050627141701-776a0-cba926db30167a725a6dad6b584a31fa5476b5e0.gz
|
|
|
|
| |
darcs-hash:20050625173934-776a0-b0c78122d773961cafbb3e962e9b7252a85ae74a.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Like CactusPUGHIO/IOHDF5, CarpetIOHDF5 now also provides parallel I/O for
data and checkpointing/recovery.
The I/O mode is set via IOUtils' parameters IO::out_mode and IO::out_unchunked,
with parallel output to chunked files (one per processor) being the default.
The recovery and filereader interface can read any type of CarpetIOHDF5 data
files transparently - regardless of how it was created (serial/parallel,
or on a different number of processors).
See the updated thorn documentation for details.
darcs-hash:20050624123924-776a0-5639aee9677f0362fc94c80c534b47fd1b07ae74.gz
|
|
|
|
|
|
| |
Filereader files are found in IO::filereader_ID_dir and not in IO::recover_dir.
darcs-hash:20050623155818-776a0-cc24468227060880e5cb1a7c6259ffceb7536fad.gz
|
|
|
|
| |
darcs-hash:20050621155805-776a0-b968aa1ecbe1d446d53e941884f765c873660567.gz
|
|
|
|
|
|
| |
default to IO::out_every
darcs-hash:20050620131451-776a0-ab7bbb01f79d4edfcda2c3ebe6ac615bd1544eef.gz
|
|
|
|
| |
darcs-hash:20050617154238-891bb-db5c0e9b2a68c6df1b044d34f47e267afd8ab393.gz
|
|
|
|
| |
darcs-hash:20050617201258-891bb-e4ee892a187ecb9edce18f9075020da6fd704d9d.gz
|
|
|
|
| |
darcs-hash:20050617201217-891bb-e59a6b5330b66d13b12cd61e30f4bc7899d8e4bd.gz
|
|
|
|
| |
darcs-hash:20050617120558-776a0-7b80551d18115f3f3b0f72f7ba5e41d288bba879.gz
|
|
|
|
|
|
|
|
|
|
|
| |
The CarpetIOASCII 1D output files now have two additional comment lines:
# 1D ASCII output created by CarpetIOASCII
#
This caused the testsuite to be broken.
darcs-hash:20050614154107-776a0-c530d6ce356996d8c6f14b63c7d4ec3dd5c56b8e.gz
|
|
|
|
|
|
|
|
| |
The parameter IO::checkpoint_keep is steerable at any time now (after you've
updated CactusBase/IOUtil/param.ccl) so that you can keep specific checkpoints
around. Please see the thorn documentation of CactusBase/IOUtil for details.
darcs-hash:20050610091144-776a0-b5e90353851eb1d7871f16b05d1b47748599d27a.gz
|
|
|
|
|
|
|
| |
Treat the transport operator op_copy correctly when regridding, i.e.,
do not require more than 1 time level.
darcs-hash:20050608114748-891bb-60e3c348364f32f5abe28697266a1b36c51dd678.gz
|
|
|
|
| |
darcs-hash:20050608095613-518f5-fb6c3b8a1104deb1b72cade4bd5746700d149f8c.gz
|
|
|
|
|
|
|
|
| |
Use the new transport operator op_copy by default for grid functions
with only one time level. This changes their behaviour; previously,
they were not prolongated and restricted.
darcs-hash:20050607161153-891bb-ad27977d3b6fe055647bda6189322ee6337a986e.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new transport operator type op_copy. This "prolongation"
operator does not interpolate in time, but rather copies the from the
newest time level instead. Such grid functions need only one time
level.
This is intended for prolongating or restricing grid functions like
the ADM constraints; if done properly; they will have the same values
on the coarse and fine grids. (However, this does not work for the
ADM constraints, because such grid functions still need to be set in
EVOL, not in ANALYSIS.)
darcs-hash:20050607160833-891bb-cfd1c7630f8996606328d7c7e9fe326561106aba.gz
|
|
|
|
| |
darcs-hash:20050607155615-891bb-487f0b16b92daab737ded448cfee67aa01d99b74.gz
|