Added a 'default' entry to the 'relaxationFactors'. When it is set to 0 it is

equivalent to the 'none' entry in fvSchemes and relaxation factors must be
provided for all fields which might require one.  If it is set to a value
between 0 and 1 this value is used as the default relaxation factor.
This commit is contained in:
henry
2009-03-12 21:49:40 +00:00
parent 471d45f39f
commit 2944ce59c1
2 changed files with 43 additions and 5 deletions

View File

@ -56,6 +56,9 @@ class solution
//- Dictionary of relaxation factors for all the fields
dictionary relaxationFactors_;
//- Optional default relaxation factor for all the fields
scalar defaultRelaxationFactor_;
//- Dictionary of solver parameters for all the fields
dictionary solvers_;