Rewrite cost function for adaptive step
This commit is contained in:
		@@ -122,10 +122,10 @@ should be a `;` sperated list of `key=value` pairs. The possible keys are
 | 
			
		||||
* `max_delta` (double, default 1e-2): when using the adaptive step, do not
 | 
			
		||||
  exceet `delta_max`.
 | 
			
		||||
 | 
			
		||||
* `adaptive_norm`: norm to use to estimate the error of the adaptive method:
 | 
			
		||||
  `L1` (default) for the normalized L1 norm, `k3` for the normalized L1 norm of
 | 
			
		||||
  f_k/|k|^3, `k32` for the normalized L1 norm, `enstrophy` for the enstrophy
 | 
			
		||||
  norm.
 | 
			
		||||
* `adaptive_cost`: cost function to use to estimate the error of the adaptive
 | 
			
		||||
  method: `L1` (default) for the normalized L1 norm, `k3` for the normalized L1
 | 
			
		||||
  norm of f_k/|k|^3, `k32` for the normalized L1 norm, `enstrophy` for the
 | 
			
		||||
  enstrophy, `alpha` for alpha.
 | 
			
		||||
 | 
			
		||||
* `keep_en_cst` (0 or 1, default 0): impose that the enstrophy is constant at
 | 
			
		||||
  each step (only really useful for the reversible equation).
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user