aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Efficient RK4, as provided by Yosef Zlochower.hawke2006-07-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@113 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Fix error in scheduling of MoL_DecrementCounter spotted by Erikhawke2006-06-01
| | | | | | | | Schnetter. Due to default ordering this will make no difference to any results. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@112 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Tag all MoL variables except the ErrorScalars with Checkpoint="no".tradke2006-05-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@111 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Implement RK45 Cash-Karp integrator in MoL.schnetter2006-02-19
| | | | | | | | | | This integrator is similar to the existing RK45 integrator. It also supports adaptive time stepping, but uses slightly different coefficients. The Numerical Recipes say that it has "slightly better error properties". git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@110 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* further wording clarification as to just which variablesjthorn2006-02-06
| | | | | | | MoL::initial_data_is_crap copies git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@109 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* tiny wording tweakjthorn2006-02-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@108 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* clarify that when MoL::initial_data_is_crap is set,jthorn2006-02-06
| | | | | | | | MoL copies evolved variables *and* constrained variables *and* save-and-restore variables. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@107 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Peter Diener's RK65 and RK87 adaptive timestep integrators.hawke2006-01-23
| | | | | | | | | As yet not altered to do grid arrays. As with RK45, adaptive timestepping does not work with mesh refinement. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@106 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Remember the variable index of the scratch variables.schnetter2005-12-11
| | | | | | | | | | This saves calling CCTK_FirstVarIndex during each MoL iteration. This function is expensive, as it performs case insensitive string comparisons, and it showed up high on a profile of some of the Mexico tests, which integrate small domains over long times. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@105 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Add const and restrict qualifiers to the pointers.schnetter2005-12-11
| | | | | | | | | | Simplify some complex arithmetic. Initialise the error variable in the RK45 integrator only after the last iteration. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@104 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Handle CCTK_SCALAR in the same way as CCTK_ARRAY. Previously,schnetter2005-12-11
| | | | | | | | | | CCTK_SCALAR variables were rejected. This is most likely just an oversight, since no one so far wanted to integrate CCTK_SCALAR variables. The change is trivial. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@103 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Replace "MoL" by CCTK_THORNSTRING in calls to CCTK_VWarn.schnetter2005-12-11
| | | | | | | | | Correct some typos in warnings. Remove some commented out variable declarations. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@102 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct critical error in the RK45 time integrator.schnetter2005-12-11
| | | | | | | | The current time and the time step sizes were not set correctly. That led to first order convergence instead of fifth order convergence. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@101 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Replace "MoL" in CCTK_VWarn by CCTK_THORNSTRING.schnetter2005-12-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@100 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Replace "MoL" in CCTK_VWarn by CCTK_THORNSTRING.schnetter2005-12-11
| | | | | | | Correct typo in warning message. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@99 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct unimportant typographical errorschnetter2005-12-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@98 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct error in calculating the number of grid points for the Countschnetter2005-11-22
| | | | | | | variable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@97 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@96 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@95 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct email address of Cactus maintainers.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@94 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Small optimisation: substitute division by multiplication with the inverse.tradke2005-08-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@91 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Provide a new schedule bin MoL_RHSBoundaries:hawke2005-05-09
| | | | | | | | | | | | | | | | ############################################################### ### Certain operations, specifically boundary conditions ### ### applied to the RHS must be performed after all other ### ### operations. These can be scheduled in this bin, under ### ### the assumption that things like dissipation are ### ### scheduled in the MoL_PostRHS bin. It is the users ### ### problem to ensure that this is really done. ### ############################################################### Fixes PR/1924. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@90 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Check that a constrained GF may have more than one timelevel beforehawke2005-05-04
| | | | | | | | | | complaining that it doesn't when copying data (if a constrained GF only has one timelevel then such a copy is unnecessary). Fixes PR/1921. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@89 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* fix a multiply-defined latex label (CactusBase_MoL_eq:rk2)jthorn2005-03-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@88 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* As per my proposal injthorn2005-03-30
| | | | | | | | | | | | | | | http://www.cactuscode.org/pipermail/developers/2005-March/000815.html add a new parameter copy_ID_after_MoL_PostStep to control precisely *when* in CCTK_POSTINITIAL MoL_FillAllLevels is scheduled if initial_data_is_crap is set. The default (MoL_FillAllLevels is scheduled *before* MoL_PostStep) matches the previous behavior, so there's no change required to par files unless you want the new behavior (MoL_FillAllLevels is scheduled *after* MoL_PostStep). git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@87 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct a bug in the registration routines; if a variable washawke2005-03-30
| | | | | | | | | registered as SandR and then as evolved it was not correctly removed from the SandR list, leading to incorrect evolution. Thanks to J Thornburg for finding this one. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@86 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Make the warning message about calling the registration too early morehawke2005-02-01
| | | | | | | verbose, so that you have some idea which thorn did it. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@85 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Forgot to commit the schedule.ccl with last commit.hawke2005-02-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@84 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Catch the case where people that didn't read the documentationhawke2005-01-31
| | | | | | | | properly try to register, e.g., evolved function with MoL before the index arrays have been set up. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@83 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Adaptive step size control using RK45. Due to Erik Schnetter.hawke2005-01-27
| | | | | | | | | | | Note that if you want to use this with Carpet you currently have to use the development (darcs) version of Carpet together with the parameter carpet::adaptive_stepsize = "yes". git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@82 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Initialize some of the grid scalars as early as possible. These arehawke2005-01-07
| | | | | | | | not reset until evolution so NaNChecker was finding NaNs after INITIAL in certain cases (according to Bela Szilagyi). git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@81 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Add missing #include <stdio.h> and #include <stddef.h> statementsschnetter2004-12-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@80 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Adding missing copyright files to all thorns and making themgoodale2004-11-02
| | | | | | | consistent. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@78 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Tighten error checking when changing variable type. Certain no-op operations ↵hawke2004-10-15
| | | | | | | | | | | are now safe and potential segfaults caught. Correct warning messages. Fixes PRs 1865,1866. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@77 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Correct some warning statementsyye002004-10-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@76 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* committing the patch sent by Ian Hawke to ChangeType.cyye002004-10-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@75 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Runge-Kutta (Fehlberg) 45 with error estimation.hawke2004-09-06
| | | | | | | | | | | | | Fourth order accurate evolution with an additional fifth order step for error estimation. How much sense the error makes is unclear to me, but hey. For the moment the error is stored in an internal MoL array ErrorEstimate; there is one per evolved variable. At a later point this may be moved out to user thorns who can register their own etc. As the implementation uses 6 evaluations of the RHS (necessary) and 6 levels of scratch space (one more than necessary - laziness kicked in) then this is very expensive. This is a partial fix for PR/1840. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@74 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* AlphaThorns -> CactusBase in document labels and references.hawke2004-07-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@73 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Add the Classic RK3 method (as a generic method, so use Generic_Type).hawke2004-07-01
| | | | | | | | | | | | Agrees with other RK3's to floating point round off (except at boundaries) for linear case. Uses more storage and is slower than standard RK3 so I don't recommend it. This showed up (so I fixed) a bug with the generic methods when used with Carpet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@72 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Update CCTK_FILEVERSION macros to CactusBase.hawke2004-07-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@71 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Make MoL independent of dimensions for GFs.hawke2004-06-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@70 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* If the new keyword parameter 'verbose' is set to 'register' thenhawke2004-06-21
| | | | | | | report the names of all registered variables. Closes PR 1771. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@69 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* A few documentation fixes.hawke2004-06-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@68 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Remove extraneous variable names to avoid CST warnings.hawke2004-05-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@66 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Requires Thorns -> Requires.hawke2004-04-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@65 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Fix memory leak. Hint to self: NEVER use group names when trying tohawke2004-04-21
| | | | | | | extract group information. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@64 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Setup RKCoefficients in global mode.hawke2004-04-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@63 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* One more time; change the storage statements for permanent arrayhawke2004-04-05
| | | | | | | | scratch space. Should not have caused an error because of the temporary statements. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@62 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Switch the order of warning messages and arrays accesses so that you get the ↵hawke2004-04-02
| | | | | | WARN(0,...) before the segmentation fault... git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@61 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
* Reduce warning for not provided aliased function to level 4.hawke2004-04-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@60 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b