aboutsummaryrefslogtreecommitdiff
path: root/src/RadiationBoundary.c
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
* 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
* 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
* 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
* 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
* 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
* 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
* Delete html tags from grdoc headers.rideout2003-05-13
| | | | | | | Uncomment memset() line I had mistakenly commented earlier. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@230 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Only pass *sequential* (in var index) selected group members to ApplyBnd<BC>.rideout2003-05-07
| | | | | | | Fixes failing testsuite bh_shift_rad in BSSN_MoL. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@226 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Free smaller boundary_widths buffers used to comply with old API.rideout2003-05-06
| | | | | | | Fixes CactusBase/1502. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@224 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check that the grid size is greater than the requested boundary width.rideout2003-05-06
| | | | | | | Fixes CactusBase/1501. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@223 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Support for new boundary API, which places an integer boundary_widthrideout2003-05-05
| | | | | | | | | | | | | | | | | | argument on calls to Select*ForBC*. If a negative value is given then the boundary condition will look into the table for a 2d element integer array specifying the width of each boundary face. A number bug fixes, including the restriction to only execute a boundary condition on a single group at a time. (consider that the next group may have different staggering) Improvements of debugging code. Wrapper functions OldApplyBnd<BC> added, which support the old d-element 'stencil width' array API. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@221 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Changing warning level for bad table handle from 3 to 5, since arideout2003-04-02
| | | | | | | | | | | handle of -1 is often used to get default values of parameters. Fixed checking of valid bc_name in Boundary_SelectedGVs(). Fixes CactusWave/1459. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@217 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Add some debugging code.rideout2003-03-17
| | | | | | | Comment out redundant memset(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@214 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Eliminate "possible uninitialized variable" warnings on OSF1.rideout2003-02-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@210 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Provide wrappers for all boundary conditions provided by thornrideout2003-02-14
| | | | | | | | | Boundary, so that they can be 'selected for bc' under the new boundary interface. The details of default arguments and table keys will be documented in the thorn guide. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@198 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Implement wrapper for radiation boundaries which allows all available options.rideout2003-02-13
| | | | | | | | | | | | | | | | | Options are now specified via: key value --- ----- PREVIOUS TIME LEVEL name or index of gv holding previous time level (CCTK_STRING or CCTK_INT respectively) (to be deprecated, please use proper time levels) LIMIT value of field at infinity (CCTK_REAL) SPEED wave speed (CCTK_REAL) STENCIL WIDTH width of stencil in each dimension (CCTK_ARRAY of d CCTK_INTs, for a d-dimensional gv) git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@196 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Implementation of new boundary condition spec described on therideout2002-12-29
| | | | | | | | | | | | | | cactuscode.org development web page. Registers a routine implementing radiative boundary conditions under the boundary condition name "Radiative". The registered routine is a wrapper for the existing radiative boundary conditions. For the moment this uses hard-wired parameters, and calls BndRadiativeVI() sequentially on each variable requested for radiative boundary conditions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@186 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check for valid coordinate index before using it to get a data pointer.rideout2002-08-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@181 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check coordinate indices before applying BCallen2002-08-20
| | | | | | | Fixes Cactus/1059 git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@179 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Minor bug that affected radpower=0.miguel2001-10-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@160 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Use new macros for fortran stringsallen2001-09-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@158 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fixed compiler warnings with non-const pointers.tradke2001-05-19
| | | | | | | This closes PR CactusBase 692. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@146 6a38eb6e-646e-4a02-a296-d141613ad6c4
* New timelevel indexingallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@144 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@143 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Check whether CCTK_INT2 is defined or not.tradke2001-04-22
| | | | | | | Checking for CCTK_VARIABLE_INT2 is pointless :-) git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@141 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Generalized boundary condition routines for applying totradke2001-04-14
| | | | | | | | | arbitrary CCTK data types (except CCTK_COMPLEX). Added/completed grdoc. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@136 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Initialized return value for ApplyBndRadiative().tradke2001-03-19
| | | | | | | This closes PR CactusBase/571. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@133 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Adding directional boundary conditions for everything apart from Robin.allen2001-01-24
| | | | | | | | | See thorn documentation for details Next to come, boundary conditions for grid functions which aren't CCTK_REALs. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@131 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Removed deprecated boundary function callsallen2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@121 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fixed bug in staggeringallen2000-07-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@118 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Compiler warning originallen2000-07-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@117 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Boundary routines:lanfer2000-07-18
| | | | | | | | | | | | reworked Robin to have conformal calling interfaces fixed two bugs: the more interresting one: coordinates do not have timelevels. Replaced most CCTK_WARNS with CCTK_VWarns to be more informative. gerd git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@115 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Fixed bug in 1D scalar boundary conditionallen2000-07-15
| | | | | | | | | | Apply boundary conditions to the right timelevels (!) Add fake symmetry structure so no longer need to compile Boundary with CartGrid3D. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@112 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Tidied up a lot, so that everything is in one file, and the wrappersallen2000-07-12
| | | | | | | | | | | | only have code in one call. NOTE: A lot of the routine names have unfortunately changed again, this time we hope we have fixed on a standard. The old names are still there until the next release, but you will get a warning message every time you call one. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@111 6a38eb6e-646e-4a02-a296-d141613ad6c4
* enhanced RadiationBC by Miguellanfer2000-05-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@108 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Removing extraneous ; .goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@103 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Boudaries clean, ready for 1,2dlanfer2000-03-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@88 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Erik's changes to make things timelevel aware.goodale2000-02-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@85 6a38eb6e-646e-4a02-a296-d141613ad6c4
* cctk_arguments -> cctk_Argumentsallen2000-01-27
| | | | | | | cctk_parameters -> cctk_Parameters git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@79 6a38eb6e-646e-4a02-a296-d141613ad6c4