aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* only output order for root processor, not on everyHEADmasterknarf2012-11-23
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@115 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Undefine the guts instead of the declare. This bug has been there since thediener2010-11-04
| | | | | | | | | | | | | | beginning and showed up when using ADM with the leapfrog scheme using a predictor-corrector step at the first iteration. The source code to calculate the second derivative of the matric with respect to x and y was not included in the pre-processed source code for the corrector step, resulting in the value calculated for the last point in the predictor step was used for all grid points. This lead to wrong results that depended on the number of processors used, since different values where used on different processors. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@107 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* replace CactusEinstein/ADMBase by EinsteinBase/ADMBaseknarf2010-04-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@104 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Include Licence in READMEknarf2009-01-27
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@100 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Unify README file formatknarf2009-01-26
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@99 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Convert variable explicitly to int before passing it to printf %d.schnetter2007-09-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@98 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Correct some compile problems with the C version of the macros.schnetter2007-09-11
| | | | | | | | | Obviously nobody used this code before. Now at least it compiles. Patch contributed by Frank Loeffler. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@97 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Correct syntax error in C versionschnetter2007-07-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@96 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Correct wrong macro declaration.schnetter2007-03-14
| | | | | | | | | This error should have had no effect on correctness; I believe that there could have been at most problems with duplicate macro definitions, about which the compiler would have complained. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@95 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* List cactusmaint as maintainerschnetter2006-05-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@94 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@93 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Introduce a new schedule group ADMBase_InitialGauge which is run justschnetter2005-09-26
| | | | | | | | | | | | | | after ADMBase_InitialData. This makes it possible to set up all ADM data in these two groups, and then e.g. convert to the BSSN variables after these groups still in the bin "initial". Various other thorns, such as dissipation or multipatch, can now apply transformations to the initial data in the bin "postinitial". This simplifies the interaction between various thorns. Change various thorns to use these two groups. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@91 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Add missing file that undeclares the spacing macros.schnetter2004-12-01
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@89 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* in #ifdef CCODE section:jthorn2004-11-25
| | | | | | | | | | | | | | | | | change < dx=CCTK_DELTA_SPACE(1); < dy=CCTK_DELTA_SPACE(2); < dz=CCTK_DELTA_SPACE(3); to > dx=CCTK_DELTA_SPACE(0); > dy=CCTK_DELTA_SPACE(1); > dz=CCTK_DELTA_SPACE(2); since src/include/cctk.h defines #define CCTK_DELTA_SPACE(x) (cctk_delta_space[x]/cctk_levfac[x]) and C indices are 0-origin. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@88 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Provide C versions of these files as well so that they can be includedschnetter2004-11-23
| | | | | | | from C. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@87 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* document the need for Fortran code which uses macros which (directlyjthorn2004-11-21
| | | | | | | | or indirectoy) take derivatives, to #include "ADM_Spacing_declare.h" and "ADM_Spacing.h", and update the Fortran example to show this git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@86 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* note that reserved variables should not be used in either lower or upper casejthorn2004-11-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@85 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* remove myself from the list of people who've made "enhancements"jthorn2004-11-21
| | | | | | | | to this thorn until such time as I (am brave enough to) commit my new features git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@84 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* document requirement that driver::ghost_size be set to a suitablejthorn2004-11-21
| | | | | | | value if derivatives are taken git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@83 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* * more general explanationsjthorn2004-11-20
| | | | | | | | | | | | * small tweaks to C example * correct authorship based on @author comments in code * document another 25 (Fortran) or 28 (C) hidden variables which users must avoid using in their own code * reword description of C array stride variables * correct spelling of #include paths for macros git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@82 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* clarify comment for local_spatial_order variablejthorn2004-11-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@81 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* clearly show that the valid values for spatial_orderjthorn2004-11-19
| | | | | | | | are 2 and 4 and no other integers (previously 3 was allowed :) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@80 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* * document 2nd vs 4th order FD parameterjthorn2004-11-19
| | | | | | | * clarify comments in example git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@79 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* wording tweakjthorn2004-11-19
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@78 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* * correct a horrible mistake, where anyone following the instructionsjthorn2004-11-19
| | | | | | | | | | | for how to use the ADMMacros in C code would get garbage values for *all* derivatives! (the thorn guide gave values for the magic variables di, dj, dk which were for C storage order, but Cactus gridfns use Fortran storage order) * add a C example (with correct settings of di, dj, dk, too!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@77 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* [[code is from Frank Loeffler; I'm just the person committing]]jthorn2004-11-18
| | | | | | | | change two places where C code (presumably copied from Fortran) said TRK_TRK**2 to say TRK_TRK*TRK_TRK git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@76 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Adding missing copyright files to all thorns and making themgoodale2004-11-02
| | | | | | | consistent. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@74 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Make certain the matter include files actually exist (USES INCLUDE...)hawke2004-06-25
| | | | | | | | Make certain the temporary matter variables are declared by including the appropriate header file in STRESSENERGY_declare.h git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@73 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Untabified. Please try to adhere to the Cactus coding guidelines whengoodale2004-05-17
| | | | | | | modifying or adding files. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@72 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Use short form for definition of single-variable group 'local_spatial_order'tradke2004-05-14
| | | | | | | to get rid of a CST warning. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@71 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Add capability ADMMacroshawke2004-04-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@69 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Untabified. Maybe this will help with the problem with the cpp in oldergoodale2004-03-27
| | | | | | | versions of gcc. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@67 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Replace "double" declarations by "CCTK_REAL" declarations.schnetter2004-01-02
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@66 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Some optimizations: precalculate some spacing terms for 4th order spatial ↵tradke2003-09-29
| | | | | | differencing. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@65 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Some optimizations: substituted divs by mults.tradke2003-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@64 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* A piece of Fortran code snuck into the C code section. Spotted by Michael ↵hawke2003-08-26
| | | | | | Koppitz and Florian Beyer. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@63 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Added info message informing of finite difference order.pollney2003-07-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@62 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Remove excess line from last commit: ADMMacros does _not_ need to be a ↵hawke2003-07-10
| | | | | | friend of ADMCoupling. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@61 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Initialize the local_spatial_order scalar to the parameter spatial_order.hawke2003-07-09
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@60 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Add the local_spatial_order grid scalar so that the choice of differencing ↵hawke2003-07-09
| | | | | | | | | | | order can be done pointwise. This allows a simple switch to second order near the boundaries of the grid so that the standard boundary conditions can be used. In order for a user thorn to make use of this you have to be a friend of ADMCoupling and inherit ADMMacros. Then you alter local_spatial_order within the loop. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@59 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Add how you use the macros from C code. Fixes PR1077.hawke2003-07-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@58 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Add in missing set of the abs for the normalized constraint.hawke2003-06-30
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@57 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Fixed indexing error.pollney2003-06-30
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@56 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* cctk_delta_* -> CCTK_DELTA_* for mesh refinement.hawke2003-06-27
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@55 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Update for 4th order differencing.pollney2003-06-26
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@54 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Update of macros for 4th order differencing.pollney2003-06-26
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@53 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* changes in HAMADM macro needed for calculation of normalized hamiltoniandorband2003-03-06
| | | | | | | constraint in ADMConstraints git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@51 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* Commented out empty "Comments" section. It was adding an empty pagerideout2002-12-03
| | | | | | | to the ThornGuide. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@50 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* eliminated upwinding here! Derivatives of the shift SHOULD NOT be upwinded.miguel2002-10-09
| | | | | | | | Upwinding happens in derivatives of other fields that are hit by a shift in front. This upwindind was wrong and was introducing large errors. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@49 b1d164ef-f17a-46e7-89d4-021c7118ef4e
* added missing declarations of "advection" variables.miguel2002-10-09
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@48 b1d164ef-f17a-46e7-89d4-021c7118ef4e