aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Largely rewrite to work with mesh refinement.HEADmasterAnton Khirnov2016-02-26
| | | | | As the actual work is now mostly done in the evolution code, this really only handles the symmetry condition on the x-axis.
* Add return to default branch of case statement to avoid compiler warningsvnhinder2012-11-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@137 eec4d7dc-71c2-46d6-addf-10296150bf52
* Remove unused variable declarationshinder2012-11-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@136 eec4d7dc-71c2-46d6-addf-10296150bf52
* Comment out unused variable declarationhinder2012-11-26
| | | | | | The variable is used by commented-out debugging code later in the file. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@135 eec4d7dc-71c2-46d6-addf-10296150bf52
* ApplyCartoon.m: Initialise variable to avoid warninghinder2012-11-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@134 eec4d7dc-71c2-46d6-addf-10296150bf52
* In the IBM compiler malloc returns a null pointer when allocating 0diener2011-10-21
| | | | | | | | bytes. This happens when a processor have no points to interpolate and is not an error. The assert statements now takes this case into account. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@125 eec4d7dc-71c2-46d6-addf-10296150bf52
* Avoid nans on the symmetry axiseschnett2011-10-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@124 eec4d7dc-71c2-46d6-addf-10296150bf52
* Correct width of symmetry boundarieseschnett2011-06-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@123 eec4d7dc-71c2-46d6-addf-10296150bf52
* Correct routine nameeschnett2011-06-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@122 eec4d7dc-71c2-46d6-addf-10296150bf52
* Register the correct symmetry boundary widtheschnett2011-06-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@121 eec4d7dc-71c2-46d6-addf-10296150bf52
* 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