aboutsummaryrefslogtreecommitdiff
path: root/src/Boundary.c
Commit message (Collapse)AuthorAge
* fix commentknarf2013-06-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@318 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
* 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
* 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. 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
* 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
* 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
* 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
* 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
* 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
* Fixed bug in adding new bcname to selected vars database.rideout2003-05-12
| | | | | | | | | Cleaned up some formatting. Set some warning levels to 0. Partially fixes CactusBase/1508. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@229 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Display group indices in selected vars database output (for debugging).rideout2003-05-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@227 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Allow null pointers as arguments to Boundary_SelectedGVs.rideout2003-05-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@225 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
* Physical bc function pointers now take all const arguments.rideout2003-05-02
| | | | | | | | | Fixed bug when requesting number of selected vars for all bcs. Allow for 100+ vars in debugging code... git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@219 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
* Removing extraneous comment.rideout2003-03-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@216 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Redesign of internal database for storing variables selected for bc.rideout2003-03-17
| | | | | | | | | Fixes handling of 'heterogeneous' selection of bcs. Added print_selections_database() debugging tool. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@215 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
* Move typedef for physical boundary condition function pointer torideout2003-02-26
| | | | | | | | | | | header file, as it is now needed in typecasts when registering boundary conditions. Arguments to function pointers passed to function aliases must now be CCTK_ types. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@209 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Removing temporary Fortran wrapper for Boundary_SelectVarForBC().rideout2003-02-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@207 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Make boundary conditions case-insensitive.rideout2003-02-17
| | | | | | | | Register radiation boundary conditions under the name "Radiation", rather than "Radiative". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@206 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Provide Boundary_SelectVarForBC to Fortran via an explicit Fortranrideout2003-02-14
| | | | | | | | wrapper, rather than function aliasing, since the latter is not working properly yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@200 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Add faces argument where required.rideout2003-02-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@195 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Shorten names of functions which provide aliases, so that they fallrideout2003-01-27
| | | | | | | | | within the 32 character limit. Make local functions static. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@193 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Major bug fixes to Boundary_Boundary_SelectVarForBCI().rideout2003-01-08
| | | | | | | | Debug statements reformatted and added. Many clarifying comments added. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@192 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Include Boundary.h (for BndNone()).rideout2003-01-06
| | | | | | | | | | | | | | | | | Remove unneeded STRBUFFSIZE macro. Use BndNone() when NULL function pointer passed to Boundary_RegisterPhysicalBC() (for non-local physical bcs). Precompute return value of Boundary_SelectedGVs(), so it will be much faster when called with array_size=0. Fix memory leak in Boundary_ApplyPhysicalBCs(). Fix some improperly aligned curly braces. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@191 6a38eb6e-646e-4a02-a296-d141613ad6c4
* Only free temporary arrays in Boundary_ApplyPhysicalBCs() if they haverideout2002-12-30
| | | | | | | been allocated. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@188 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