aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Correct malloc error and memory leak when the tag "whiskycartoon" isschnetter2008-02-27
| | | | | | | used git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@103 eec4d7dc-71c2-46d6-addf-10296150bf52
* Loop over the grid points in a different order. This may or may notschnetter2008-01-16
| | | | | | | solve a problem. The code is surely less clever and more readable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@102 eec4d7dc-71c2-46d6-addf-10296150bf52
* Don't adapt the grid size automatically -- this doesn't work.schnetter2008-01-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@101 eec4d7dc-71c2-46d6-addf-10296150bf52
* Recognise the "whiskycartoon" tag. Patch provided by Thorsten.pollney2007-11-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@99 eec4d7dc-71c2-46d6-addf-10296150bf52
* Port Erik's changes from RotatingSymmetry90 over to Cartoon. Thishawke2005-12-07
| | | | | | | | ensures that if the interpolator is taking time derivatives that the symmetry boundary conditions are suitably aware of what's going on. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@98 eec4d7dc-71c2-46d6-addf-10296150bf52
* Zeroth attempt at doing excision with Cartoon. Now requires thehawke2005-11-10
| | | | | | | | | | | | | Spacemask thorn from CactusEinstein. Initial tests suggest perfect second order convergence but not quite perfect fourth order convergence, at least at reasonable resolutions. Convergence is still better than 3rd order, though. Excision with the new spacemask has been added but not tested. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@97 eec4d7dc-71c2-46d6-addf-10296150bf52
* Modify the ENO interpolators so that it takes an "order" parameter.hawke2005-09-14
| | | | | | | | Add knowledge of the PROLONG_NONE type to lower level bits of the code, in case that case propagates. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@94 eec4d7dc-71c2-46d6-addf-10296150bf52
* Remove now unnecessary workaround for making cGH pointer not const.schnetter2005-06-01
| | | | | | | Remove unused variable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@93 eec4d7dc-71c2-46d6-addf-10296150bf52
* Remove unused code.schnetter2005-06-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@92 eec4d7dc-71c2-46d6-addf-10296150bf52
* Handle groups of tensor type Scalar that have more than one component.schnetter2005-06-01
| | | | | | | | This is actually legal and means that these components are all scalars themselves; it is used e.g. in Whisky. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@91 eec4d7dc-71c2-46d6-addf-10296150bf52
* Use CCTK_REAL instead of floatschnetter2005-06-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@89 eec4d7dc-71c2-46d6-addf-10296150bf52
* Add $Header$ comment.schnetter2005-06-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@88 eec4d7dc-71c2-46d6-addf-10296150bf52
* Handle tensor type alias "d".hawke2005-05-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@87 eec4d7dc-71c2-46d6-addf-10296150bf52
* Add missing #include <stdio.h> statement.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@86 eec4d7dc-71c2-46d6-addf-10296150bf52
* Provide symmetry interpolation.schnetter2004-05-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@84 eec4d7dc-71c2-46d6-addf-10296150bf52
* Remove PRIVATE and PUBLIC macros.schnetter2004-05-16
| | | | | | | Change indentation. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@83 eec4d7dc-71c2-46d6-addf-10296150bf52
* Indent properly. Declare local functions static.schnetter2004-05-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@82 eec4d7dc-71c2-46d6-addf-10296150bf52
* Abort if the tensor type is unknown.schnetter2004-05-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@81 eec4d7dc-71c2-46d6-addf-10296150bf52
* Looks like I didn't understand how the ORIGIN_SPACE macro works. This should ↵hawke2004-05-15
| | | | | | now give the correct x coordinate in a multiprocessor run where the x direction is split. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@80 eec4d7dc-71c2-46d6-addf-10296150bf52
* Check the grid size when running instead of at paramcheck timeschnetter2004-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@79 eec4d7dc-71c2-46d6-addf-10296150bf52
* Move the declarations of variables in the ENO interpolator to thehawke2004-04-27
| | | | | | | beginning so that pgCC doesn't complain. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@77 eec4d7dc-71c2-46d6-addf-10296150bf52
* (Changes from Ian Hawke.)schnetter2004-03-09
| | | | | | | | | | | | | | | | | | | | | Possibly use ENO interpolation. Useful e.g. for hydro where shocks may appear. To make Cartoon use the ENO interpolator you need an additional tags table entry. The same tags are used as for Carpet. Either tags='Prolongation="TVD"' or tags='Prolongation="ENO"' will work. The default (i.e., with no tag) is to use the standard Lagrange polynomials. The tags "Lagrange" and "None" will also do this. Also, any direct call to the Cartoon functions (BndCartoon2DVI etc.) will use Lagrange interpolation. Code from Burkhard Zink for interpolation; tags table stuff from me. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@76 eec4d7dc-71c2-46d6-addf-10296150bf52
* Register with SymBase.schnetter2004-03-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@75 eec4d7dc-71c2-46d6-addf-10296150bf52
* Use correct type CCTK_INT instead of int when calling aliased functionsschnetter2004-03-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@74 eec4d7dc-71c2-46d6-addf-10296150bf52
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@73 eec4d7dc-71c2-46d6-addf-10296150bf52
* Fix compiler warnings.rideout2003-06-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@72 eec4d7dc-71c2-46d6-addf-10296150bf52
* Don't bother to retrieve faces, widths, or tables data on selected GVs.rideout2003-05-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@71 eec4d7dc-71c2-46d6-addf-10296150bf52
* Support for new method of handling boundary widths for boundary conditions.rideout2003-05-05
| | | | | | | | Why does a symmetry boundary condition need to bother retreiving and storing faces, widths, and tables arrays...? git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@70 eec4d7dc-71c2-46d6-addf-10296150bf52
* Include faces argument for Boundary_SelectedGVs.rideout2003-02-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@66 eec4d7dc-71c2-46d6-addf-10296150bf52
* Routine to execute the Cartoon bcs on all selected vars.rideout2003-01-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@64 eec4d7dc-71c2-46d6-addf-10296150bf52
* Commenting out reset of symmetries for ADM_BSSN stagleap variables,rideout2003-01-08
| | | | | | | since the stagleap method no longer exists in ADM_BSSN. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@63 eec4d7dc-71c2-46d6-addf-10296150bf52
* Removing extraneous argument to a CCTK_VInfo call.rideout2003-01-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@62 eec4d7dc-71c2-46d6-addf-10296150bf52
* Added scheduled routine for 'resetting symmetries' for WaveToy.rideout2002-11-28
| | | | | | | Added function prototypes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@55 eec4d7dc-71c2-46d6-addf-10296150bf52
* Add comment about how BndCartoon2DVI is able to execute boundaryrideout2002-11-28
| | | | | | | | | | | condition on an entire group. Clean up of BndCartoon2DGN: * checks for valid group name, and gives appropriate error message * properly handles verbose messages git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@54 eec4d7dc-71c2-46d6-addf-10296150bf52
* Fixed wrong datatypes for variables (CCTK_INT <-> int, CCTK_REAL <-> double).tradke2002-06-04
| | | | | | | | Also fixed parameter get/set code in grid resizing routine. This fixes code crashes on the T3E. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@48 eec4d7dc-71c2-46d6-addf-10296150bf52
* Get the file name right in the fileversions I committed just now ...allen2002-05-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@39 eec4d7dc-71c2-46d6-addf-10296150bf52
* removed compiler warningsallen2002-05-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@38 eec4d7dc-71c2-46d6-addf-10296150bf52
* Removed compiler warning (unused lny)allen2002-05-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@37 eec4d7dc-71c2-46d6-addf-10296150bf52
* Fixed compiler warnings, added the nearly standard comment formatallen2002-05-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@36 eec4d7dc-71c2-46d6-addf-10296150bf52
* Added required syncronisation before cartoon interpolation routine topollney2002-05-09
| | | | | | | | | | | prevent a processor boundary problem. This also fixes the NaNs that were showing up in the ahf.gauss output of the test-suites, however it is not clear that the gaussian curvature calculation in the AHFinder is properly cartoonised anyways. This fix required modifications to the test-suites. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@35 eec4d7dc-71c2-46d6-addf-10296150bf52
* Changes so that Cartoon works with both old and new einsteinallen2002-05-04
| | | | | | | New testsuite is the same as test_cartoon_1 git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@33 eec4d7dc-71c2-46d6-addf-10296150bf52
* storing the coordinate index in a static variable once, to avoid looking it ↵lanfer2002-04-30
| | | | | | up every time (CoordIndex contains CCTK_Equals). git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@30 eec4d7dc-71c2-46d6-addf-10296150bf52
* Added a routine for ensuring that the grid set up in the parameter filepollney2002-04-16
| | | | | | | | | | | | | | | | | | | | is cactus compatible. If the new parameter "allow_grid_resize" is set, then cartoon will now actually modify the grid that was specified by the user. Though not really a nice solution, it is potentially less annoying than having the user try to figure out appropriate grid dimensions themselves. The old test suite for cartoon (test_cartoon.par) was not a very good example, as it actually set up an less-than-optimal grid (with bitant specified in the wrong plane), and could only run on 2-processors. So I've removed it and replaced it with a pair of new test suites which demonstrate cartoon in "full" and "bitant" mode using the new grid resizing mechanism. Documentation as such does not exist yet, but will in the fullness of time. For the time being, please refer to the sample parameter files in the test directory to see how to set things up. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@26 eec4d7dc-71c2-46d6-addf-10296150bf52
* Added a routine to overwrite the symmetry flags on the flat faces ofpollney2001-11-05
| | | | | | | | | | | | | | | | | the cartoon grid. This fixes a problem that was occurring because boundary conditions (eg. radiative) were being applied to these faces, wasting a lot of time. The current fix overwrites the sGHex->GFSym array with a CARTOON_NOSYM flag that won't be recognised by either the cactus symmetry or boundary condition routines, so these won't be applied. *** Note *** I've also added a cartoon_active parameter which must be set in order to turn on cartoon. (This is a second attempt to commit some changes that seem not to have been commited properly last week ...) git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@24 eec4d7dc-71c2-46d6-addf-10296150bf52
* New timelevel indexingallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@20 eec4d7dc-71c2-46d6-addf-10296150bf52
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@19 eec4d7dc-71c2-46d6-addf-10296150bf52
* Fixed check for ghostzone width in x direction.sai2001-05-04
| | | | | | | | | The error was noticed by Erik Schnetter. Sai. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@18 eec4d7dc-71c2-46d6-addf-10296150bf52
* Tensor definitions.sai2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@17 eec4d7dc-71c2-46d6-addf-10296150bf52
* Cartoon2D now uses the INCLUDE mechanism to export its tensor definitions.sai2000-09-21
| | | | | | | | | | Thorns using Cartoon should have `USES INCLUDE: Cartoon2D_tensors.h' in their interface.ccl and should #include Cartoon2D_tensors.h in their source file(s). Sai. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@16 eec4d7dc-71c2-46d6-addf-10296150bf52
* Changes for Cactus 4.0.b8.sai2000-09-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@15 eec4d7dc-71c2-46d6-addf-10296150bf52