aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/Thorn.m
Commit message (Collapse)AuthorAge
* Provide capability GenericFDErik Schnetter2009-11-13
| | | | | | | | Use cctk_lssh instead of cctk_lsh to loop over grid functions Rename schedule item "apply boundary conditions" to "select boundary conditions" Introduce parameter for number of timelevels for RHS grid functions
* Make common subexpression elimination (CSE) optional and disabled by defaultIan Hinder2009-04-28
| | | | This is now controlled with an option UseCSE to CreateThorn.
* Use cctk_lssh instead of cctk_lsh when calculating grid function extents. ↵Erik Schnetter2009-04-27
| | | | | | | | | | | | This will allow future optimisations with cache-aligned memory allocations. Correct an error in declaring local variables for partial derivatives. Don't register constrained variables, which is in general not necessary but which can use much memory. Register symmetries in the schedule group SymmetryRegister instad of at basegrid.
* Add new calculation specification "ConditionalOnKeywords", which allows a ↵Erik Schnetter2009-04-27
| | | | list of keyword parameters (instead of only a single keyword parameter) which have to be set for the calculation to be scheduled.
* #include a few more header files into auto-generated C code.Erik Schnetter2009-04-27
|
* Correct memory leak in boundary conditions:Erik Schnetter2008-02-19
| | | | Create option tables only once, then re-use them
* Made use of LoopControl optional.Ian Hinder2008-02-02
| | | | If you want to use it, pass UseLoopControl -> True to CreateKrancThorn.
* Erik: added mandatory support for LoopControl.Ian Hinder2008-02-02
| | | | A subsequent patch will make this optional.
* Erik: Remove symmetry codeIan Hinder2008-02-02
| | | | | | This is done automatically nowadays, and this code is currently called in level mode, when it should be called in global mode. This causes a segfault.
* Erik: Add ability to specify number of timelevels for evolved variables at ↵Ian Hinder2008-02-02
| | | | runtime
* Erik's cosmetic changes to Thorn.mIan Hinder2008-02-02
|
* Include system files using <> instead of "" (Erik's suggestion)ianhin2006-09-07
| | | | | | Include Symmetry.h Fix return type and values for scheduled functions (i.e. void)
* Use CForm on CCTK_REAL values in parameters. This allows exponentialianhin2006-06-19
| | | | notation etc.
* Changed several scheduled functions to return void at Erik'sianhin2006-05-16
| | | | | | | | | | suggestion. Removed spurious output. CreateMoLRegistration source now requires that the group names should be passed in with an implementation prefix. This is what is currently done, so the change should be harmless.
* fixed a bug that created inconsistent code for standard boundary conditionsshusa2006-03-14
| | | | | applied to groups (the goups were always associated with the default base thorn, which is not always true).
* fix stupid typo, will not change outputshusa2006-03-14
|
* actually call CartSymGN to a activate symmetry boundary conditions.shusa2006-03-06
| | | | | for some strange reason this had beed omitted so far. This _should_ not break anything.
* Added option to specify reflection symmetries higher up. Addedianhin2006-02-23
| | | | ability to specify group tags in the interface file.
* Added missing ThornImplementation from Sym contextianhin2006-01-31
|
* Removed inclusion of precomputations.h as it is never used. Madeianhin2006-01-13
| | | | | stripping of implementation names a little more consistent, though it is still a bit messy.
* add interface to 'provide' functions, added multipatch stuff (not yet complete)shusa2005-03-23
|
* Use aliased functions for excision.schnetter2005-03-18
|
* correct bug in SafeDelete and move to Helpers.m, move ensureDirectory toshusa2005-02-02
| | | | Helpers.m : EnsureDirectory
* Correct syntax error in Fortran templateschnetter2005-01-27
|
* fixed some code in the interface to Lego-Excision that was not proper F90 asshusa2005-01-25
| | | | | | | | | | | | pointed out by Erik: if ( (excision).AND.(find_excision_boundary) ) then is illegal in F90, because the Cactus-BOOLEAN-variables become integers in Fortran. Now we use: if ( (excision.ne.0).AND.(find_excision_boundary.ne.0) ) then
* changed the way excision functions are scheduledshusa2004-11-16
|
* Added support for extra include files in Setter Source filesianhin2004-11-16
|
* corresponds to last checkin of KrancThorns, fixed the problemshusa2004-10-28
| | | | | of not being able to handle the case when not all evolved GFs belong to kranc's base thorn.
* fixed a bug that lead to including implementation names in parameter names.shusa2004-10-28
|
* changes toward supporting using GFs from other thorns as evolved GFs (e.g.shusa2004-10-27
| | | | ADMBase::lapse), to be described im more detail when finished.
* This is a major rework of Kranc-devel, which adds compatibilityshusa2004-10-20
| | | | | | | | | | | | | | | | | | | | | | | with Carpet fixed mesh refinement, standard Cactus boundary conditions and Lego Excision. Changes are documented briefly in the ChangeLog file, and I will do more documentation in the next days, along with necessary adaptions of the examples. In order to use this, the parameter GenericFD::stencil_size has to be set (this is necessary to treat real boundaries, since cctk_nghostzones > stencil size is possible, e.g. for Carpet runs). Also, it is now necessary that GF names do not coincide with their group names. This avoids Cactus warnings messages and allows simple names for parameters associated with standard Cactus boundary conditions. Note: In order to allow boundary conditions which are consistent with characteristic information, one-sided differencing will be required, which is not implemented by these changes. So far this has only been tested by running a Kerr-Schild BH with BSSN, excision, radiative boundary conditions and excision. An immediate CVS update is not for the faint of the heart - I will do more testing in the next days.
* Added support for custom difference operatorsianhin2004-07-07
|
* Initial revisionshusa2004-05-09
SKIPPED: Examples/ADM/ADMEqs.m Examples/ADM/ADMTT.m Examples/ADM/BuildADMTT Examples/ADM/KrancADMRicciMetric100.par Examples/ADM/KrancADMRicciStandard100.par Examples/ADM/KrancADMTT.m Examples/ADM/Makefile Examples/ADM/README Examples/ADM/ThornGenADM_front.nb Examples/ADM/ThornGen_ADM.m Examples/ADM/ThornGen_ADM2.m Examples/ADM/arrangement_KrancADM.tar.gz Examples/ADM/data_adm.tar.gz Examples/BSSN/BSSNTT.m Examples/BSSN/BuildBSSNTT Examples/BSSN/Makefile Examples/BSSN/freeBSSN/freeBSSN.th Examples/BSSN/freeBSSN/BSSNMoL/interface.ccl Examples/BSSN/freeBSSN/BSSNMoL/param.ccl Examples/BSSN/freeBSSN/BSSNMoL/schedule.ccl Examples/BSSN/freeBSSN/BSSNMoL/src/BSSNMoL_ApplyExcision.F90 Examples/BSSN/freeBSSN/BSSNMoL/src/BSSNMoL_Boundaries.c Examples/BSSN/freeBSSN/BSSNMoL/src/BSSNMoL_CalcRHS.c Examples/BSSN/freeBSSN/BSSNMoL/src/BSSNMoL_RegisterVars.c Examples/BSSN/freeBSSN/BSSNMoL/src/Startup.c Examples/BSSN/freeBSSN/BSSNMoL/src/make.code.defn Examples/BSSN/freeBSSN/BSSNMoL/src/precomputations.h Examples/BSSN/freeBSSN/BSSNTranslator/interface.ccl Examples/BSSN/freeBSSN/BSSNTranslator/param.ccl Examples/BSSN/freeBSSN/BSSNTranslator/schedule.ccl Examples/BSSN/freeBSSN/BSSNTranslator/src/BSSNTranslator_Setter.c Examples/BSSN/freeBSSN/BSSNTranslator/src/Startup.c Examples/BSSN/freeBSSN/BSSNTranslator/src/make.code.defn Examples/BSSN/freeBSSN/BSSNTranslator/src/precomputations.h Examples/BSSN/freeBSSN/OLDpar/BSSN2GaugeWaveR0.par Examples/BSSN/freeBSSN/OLDpar/BSSN2GaugeWaveR1.par Examples/BSSN/freeBSSN/OLDpar/BSSN2GaugeWaveR2.par Examples/BSSN/freeBSSN/OLDpar/BSSN2PolarizedGowdyCollapseR0.par Examples/BSSN/freeBSSN/OLDpar/BSSN2PolarizedGowdyCollapseR1.par Examples/BSSN/freeBSSN/OLDpar/BSSN2PolarizedGowdyCollapseR2.par Examples/BSSN/freeBSSN/OLDpar/BSSN2PolarizedGowdyExpandR0.par Examples/BSSN/freeBSSN/OLDpar/BSSN2PolarizedGowdyExpandR1.par Examples/BSSN/freeBSSN/OLDpar/BSSN2PolarizedGowdyExpandR2.par Examples/BSSN/freeBSSN/OLDpar/BSSN2RobustR0.par Examples/BSSN/freeBSSN/OLDpar/BSSN2RobustR1.par Examples/BSSN/freeBSSN/OLDpar/BSSN2RobustR2.par Examples/BSSN/freeBSSN/evalBSSNConstraints/interface.ccl Examples/BSSN/freeBSSN/evalBSSNConstraints/param.ccl Examples/BSSN/freeBSSN/evalBSSNConstraints/schedule.ccl Examples/BSSN/freeBSSN/evalBSSNConstraints/src/Startup.c Examples/BSSN/freeBSSN/evalBSSNConstraints/src/evalBSSNConstraints_Eval.c Examples/BSSN/freeBSSN/evalBSSNConstraints/src/make.code.defn Examples/BSSN/freeBSSN/evalBSSNConstraints/src/precomputations.h Examples/BSSN/freeBSSN/freeBSSNBase/interface.ccl Examples/BSSN/freeBSSN/freeBSSNBase/param.ccl Examples/BSSN/freeBSSN/freeBSSNBase/schedule.ccl Examples/BSSN/freeBSSN/freeBSSNBase/src/RegisterSymmetries.c Examples/BSSN/freeBSSN/freeBSSNBase/src/Startup.c Examples/BSSN/freeBSSN/freeBSSNBase/src/make.code.defn Examples/BSSN/freeBSSN/harmonicLapseMoL/interface.ccl Examples/BSSN/freeBSSN/harmonicLapseMoL/param.ccl Examples/BSSN/freeBSSN/harmonicLapseMoL/schedule.ccl Examples/BSSN/freeBSSN/harmonicLapseMoL/src/Startup.c Examples/BSSN/freeBSSN/harmonicLapseMoL/src/harmonicLapseMoL_ApplyExcision.F90 Examples/BSSN/freeBSSN/harmonicLapseMoL/src/harmonicLapseMoL_Boundaries.c Examples/BSSN/freeBSSN/harmonicLapseMoL/src/harmonicLapseMoL_CalcRHS.c Examples/BSSN/freeBSSN/harmonicLapseMoL/src/harmonicLapseMoL_RegisterVars.c Examples/BSSN/freeBSSN/harmonicLapseMoL/src/make.code.defn Examples/BSSN/freeBSSN/harmonicLapseMoL/src/precomputations.h Examples/BSSN/freeBSSN/par/BSSN2GaugeWaveR0.par Examples/BSSN/freeBSSN/par/BSSN2GaugeWaveR1.par Examples/BSSN/freeBSSN/par/BSSN2GaugeWaveR2.par Examples/BSSN/freeBSSN/par/BSSN2PolarizedGowdyCollapseR0.par Examples/BSSN/freeBSSN/par/BSSN2PolarizedGowdyCollapseR1.par Examples/BSSN/freeBSSN/par/BSSN2PolarizedGowdyCollapseR2.par Examples/BSSN/freeBSSN/par/BSSN2PolarizedGowdyExpandR0.par Examples/BSSN/freeBSSN/par/BSSN2PolarizedGowdyExpandR1.par Examples/BSSN/freeBSSN/par/BSSN2PolarizedGowdyExpandR2.par Examples/BSSN/freeBSSN/par/BSSN2RobustR0.par Examples/BSSN/freeBSSN/par/BSSN2RobustR1.par Examples/BSSN/freeBSSN/par/BSSN2RobustR2.par Examples/BSSN/freeBSSN/projectAlgebraicConstraints/interface.ccl Examples/BSSN/freeBSSN/projectAlgebraicConstraints/param.ccl Examples/BSSN/freeBSSN/projectAlgebraicConstraints/schedule.ccl Examples/BSSN/freeBSSN/projectAlgebraicConstraints/src/Startup.c Examples/BSSN/freeBSSN/projectAlgebraicConstraints/src/make.code.defn Examples/BSSN/freeBSSN/projectAlgebraicConstraints/src/precomputations.h Examples/BSSN/freeBSSN/projectAlgebraicConstraints/src/projectAlgebraicConstraints_Set.c Examples/BSSN/freeBSSN/setHarmonicLapse/interface.ccl Examples/BSSN/freeBSSN/setHarmonicLapse/param.ccl Examples/BSSN/freeBSSN/setHarmonicLapse/schedule.ccl Examples/BSSN/freeBSSN/setHarmonicLapse/src/Startup.c Examples/BSSN/freeBSSN/setHarmonicLapse/src/make.code.defn Examples/BSSN/freeBSSN/setHarmonicLapse/src/precomputations.h Examples/BSSN/freeBSSN/setHarmonicLapse/src/setHarmonicLapse_Set.c Examples/BSSN/freeBSSN/setUnitLapse/interface.ccl Examples/BSSN/freeBSSN/setUnitLapse/param.ccl Examples/BSSN/freeBSSN/setUnitLapse/schedule.ccl Examples/BSSN/freeBSSN/setUnitLapse/src/Startup.c Examples/BSSN/freeBSSN/setUnitLapse/src/make.code.defn Examples/BSSN/freeBSSN/setUnitLapse/src/precomputations.h Examples/BSSN/freeBSSN/setUnitLapse/src/setUnitLapse_Set.c Examples/BSSN/freeBSSN/setZeroShift/interface.ccl Examples/BSSN/freeBSSN/setZeroShift/param.ccl Examples/BSSN/freeBSSN/setZeroShift/schedule.ccl Examples/BSSN/freeBSSN/setZeroShift/src/Startup.c Examples/BSSN/freeBSSN/setZeroShift/src/make.code.defn Examples/BSSN/freeBSSN/setZeroShift/src/precomputations.h Examples/BSSN/freeBSSN/setZeroShift/src/setZeroShift_Set.c Examples/KleinGordon/Components.nb Examples/KleinGordon/KGTT.m Examples/KleinGordon/ListOfEqsLhsRhsComp.m Examples/KleinGordon/MKG100.par Examples/KleinGordon/MKGTT.m Examples/KleinGordon/README Examples/KleinGordon/ThornGen_front.nb Examples/KleinGordon/arrangement_MKG.tar.gz Examples/KleinGordon/data_mkg.tar.gz Examples/Maxwell/3+1_Decomp_Maxwell.nb Examples/Maxwell/EM100.par Examples/Maxwell/EMTT.m Examples/Maxwell/Initializations_Maxwell.nb Examples/Maxwell/ListOfConstrComp.m Examples/Maxwell/ListOfEqsLhsRhsComp.m Examples/Maxwell/Maxwell_Demo.nb Examples/Maxwell/README Examples/Maxwell/README_internal Examples/Maxwell/ThornGen_front.nb Examples/Maxwell/Using_Tools_Constr.nb Examples/Maxwell/arrangement_EM.tar.gz Examples/Maxwell/data_em.tar.gz Tools/TensorFactory/ComponentsTools.nb Tools/TensorFactory/DecomposeTools.nb Tools/TensorFactory/FrameDecomposeTools.nb Tools/TensorFactory/GaussCodazzi.nb Tools/TensorFactory/Ricci.tex Tools/TensorFactory/StartMathTensor.m Tools/TensorFactory/TeXTools.nb Tools/TensorFactory/Doc/Characteristics.nb Tools/TensorFactory/Doc/DocGaussCodazzi.nb Tools/TensorFactory/Doc/Om1EvolEqs.m Tools/TensorFactory/Doc/exampleTeX.nb Tools/TensorFactory/Doc/Papers/ERE2003.pdf Tools/TensorFactory/Doc/Talks/compalg.pdf