aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Remove really old code that nobody seems to use.HEADmasterknarf2013-06-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@319 6a38eb6e-646e-4a02-a296-d141613ad6c4
* fix commentknarf2013-06-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@318 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Use cctk_ash to index grid functionseschnett2013-03-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@313 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Replace Cactus complex number type with C/C++ complex numberseschnett2013-03-08
| | | | | | | | | | | | | | | | Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in C++. (It is already mapped to "double complex" in Fortran.) Update type definitions. Re-implement Cactus complex number math functions by calling the respective C functions. Update thorn that access real and imaginary parts of complex numbers to use standard-conforming methods instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@312 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Introduce cctk_ash, retire cctk_lssheschnett2012-07-04
| | | | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@309 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Update code inside #ifdef DEBUGeschnett2012-06-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@308 6a38eb6e-646e-4a02-a296-d141613ad6c4
* change CCTK_VarName to CCTK_FullName in some Warningsknarf2009-09-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@298 6a38eb6e-646e-4a02-a296-d141613ad6c4
* This patch checks the available timelevels for a variable before itknarf2009-09-29
| | | | | | | | | | | | | attempts a memcpy. In the case of failure, this changes a segfault to an informative message, which makes debugging this case much easier. In case of success, it adds a test every time the static boundary condition is called, for each variable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@297 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Convert expressions explicitly to int before passing them to printf.schnetter2006-10-05
| | | | | | | Use #ifdef HAVE_CCTK_REAL4 instead of #ifdef CCTK_REAL4. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@291 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Convert expressions explicitly to int before passing them to printf.schnetter2006-10-05
| | | | | | | Use #ifdef HAVE_CCTK_REAL4 instead of #ifdef CCTK_REAL4. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@290 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Correct prototypes of scheduled functionsschnetter2006-10-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@289 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Make it a fatal error if the pointer to the boundary condition routineschnetter2005-03-25
| | | | | | | cannot be extracted out of the table. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@280 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Use CCTK_BYTE instead of CCTK_CHARschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@279 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Add missing #include <stdio.h> statementsschnetter2004-12-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@278 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Allow 2 boundary points for Robin boundaries.schnetter2004-06-23
| | | | | | | (Change from Marcus Rumpfkeil.) git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@276 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Added missing prototype for Boundary_MakeSureThatTheSelectionIsEmpty().tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@275 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Untabified.goodale2004-05-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@274 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Untabified. Please try to adhere to the Cactus coding guidelines whengoodale2004-05-17
| | | | | | | modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@273 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Put macros on one line so that Cactus cpp can deal with them.allen2004-03-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@268 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Use the new SymBase infrastructure to find out about symmetry boundaries.schnetter2004-03-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@266 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Change the table keys to not contain any spaces. That makes itschnetter2004-03-09
| | | | | | | | | possible to create tables from strings, which it turn makes it possible to set them in parameter files, which it turn decouples evolution thorns and boundary condition thorns. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@265 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fix bug in internal consistency checking.schnetter2004-03-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@264 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Add a routine "Boundary_MakeSureThatTheSelectionIsEmpty" that isschnetter2004-03-05
| | | | | | | unused. It can be called for debugging, and is then very helpful. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@263 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Do not cast CCTK_INT* to int*.schnetter2004-03-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@262 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fix array indexing bug in Bdry_Boundary_SelectedGVs when there areschnetter2004-03-05
| | | | | | | | | multiple bcdata_list objects. Perform some internal consistency checks. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@261 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check arguments, and return with an error code if there is an error.schnetter2004-03-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@260 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check argument before setting it instead of afterwards.schnetter2004-03-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@259 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fix typos.schnetter2004-03-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@258 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Set the default value for the Robin boundary value at infinity to zeroschnetter2004-01-18
| | | | | | | instead of one git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@256 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Apply Robin boundary conditions also in the ghost zones and onschnetter2003-11-20
| | | | | | | | symmetry boundaties. This makes them consistent with the other boundary conditions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@255 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fix typo.schnetter2003-11-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@254 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Remove support for CCTK_INT for Radiation and Robin boundaries, becauseschnetter2003-10-31
| | | | | | | it does not make sense. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@253 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@252 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Add include statements for cctk_Functions.h where necessary.schnetter2003-10-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@251 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@249 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Some optimizations: declare coordinates to be constant arrays (during thetradke2003-10-06
| | | | | | | | boundary calculations), keep some pointers and indices in local variables. At least on the SX-5 this gives 50% speedup. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@248 6a38eb6e-646e-4a02-a296-d141613ad6c4
* OldApplyBndRadiative() was declared as 'static' but defined as 'extern'.tradke2003-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@247 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Another fix for *_RADIATIVE_BOUNDARY_3D: dx was applied on all the faces.tradke2003-09-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@246 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fixed *_RADIATIVE_BOUNDARY_3D macros which accidentally applied rho_xtradke2003-09-12
| | | | | | | on all the faces. Bug was spotted by Mihaela. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@245 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Declare the cGH pointer in aliased routines as CCTK_POINTER_TO_CONSTtradke2003-09-01
| | | | | | | | so that it matches the CST-generated function prototype. Fixed also a few other function argument datatype mismatches. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@243 6a38eb6e-646e-4a02-a296-d141613ad6c4
* some CCTK_INT vs. int fixesrideout2003-08-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@242 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Change to CCTK_MaxTimeLevelsallen2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@241 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fixed loads of int/CCTK_INT variable type mismatches.tradke2003-07-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@239 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fixed bug in checking against group index for applying boundary conditionsallen2003-07-07
| | | | | | | Fixes Cactus/1557 git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@238 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check to see that the value of the GH never changes. Thorn Boundaryrideout2003-06-04
| | | | | | | | will need some (I think not terribly difficult) modification to work properly with multi-models. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@237 6a38eb6e-646e-4a02-a296-d141613ad6c4
* "CCTK_POINTER IN" is now "CCTK_POINTER_TO_CONST".rideout2003-05-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@236 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check to see that no grid variable has more than 15 dimensions. Therideout2003-05-19
| | | | | | | | | | | | | restriction comes from specifying a set of faces using a single signed 32 bit integer. It may be possible to use two more bits, which would provide an extra dimension, but this seems unnecessary at the moment. Note that (as pointed out by Erik Schnetter, on the flesh mailing list) we are assuming that the integer is at least 32 bits, which is not guaranteed by C. Might this pose a problem? Should we restrict ourselves to (16-1)/2 = 7 dimensions? git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@235 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Take advantage of fact that free and realloc can handle null pointersrideout2003-05-14
| | | | | | | | | to simplify code. Fixes CactusBase/1509. Also fixes bug in reallocation of width_alldirs[]. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@234 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fix small memory leak in storage of names of boundary conditions.rideout2003-05-14
| | | | | | | Thanks to Frank Loeffler for spotting this. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@233 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check that only one physical bc is selected for any given face.rideout2003-05-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@232 6a38eb6e-646e-4a02-a296-d141613ad6c4