Changes between Version 9 and Version 10 of GlobalDataExplained


Ignore:
Timestamp:
06/05/11 18:17:01 (14 years ago)
Author:
Brandon Shroyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • GlobalDataExplained

    v9 v10  
    6767Contains information about the various user-defined domains in AstroBEAR.  AstroBEAR stores domain info in {{{Domain}}} objects which it reads in from this namelist.  For most problems, only one domain is necessary, so there will be only one {{{Domain}}} object.
    6868
    69 ''''''IMPORTANT:'''''  As of {{{6/5/2011}}}, multi-domain setups have not been thoroughly tested, and boundary conditions are not fully implemented for multi-domain problems.  Use more than one domain at your own risk.
     69'''''IMPORTANT:'''''  As of {{{6/5/2011}}}, multi-domain setups have not been thoroughly tested, and boundary conditions are not fully implemented for multi-domain problems.  Use more than one domain at your own risk.
    7070
    7171 * '''{{{Domain%mGlobal}}}''':  The global cell indices for a domain.  For a single-domain problem, {{{Domain%mGlobal}}} should be {{{1, 1, 1, GmX(1), GmX(2), GmX(3)}}}.  A two-domain, 64 x 64 x 64 problem might have mGlobals of {{{[1, 1, 1, 64, 32, 64}}} and {{{1, 33, 1, 64, 64, 64}}}.
     
    8484 * '''{{{solver}}}''':  An integer flag that specifies the type of [https://computation.llnl.gov/casc/linear_solvers/sls_hypre.html hypre] solver to use.  We currently have two options implemented for {{{solver}}}:
    8585  *  ''{{{1 -- PCG Solver}}}'':  The PCG solver is the faster of the two solvers we have implemented.  It is not ''guaranteed'' to converge, but is still the best default choice.
    86   * ''{{2 -- GMRES solver}}}'':  The GMRES solver allows the user
     86  * ''{{{2 -- GMRES solver}}}'':  The GMRES solver uses a Krylov approximation to converge to a solution.  Unlike PCG, GMRES is guaranteed to converge, given enough time and memory.  Such convergence can, however, be computationally infeasible, and GMRES is slower than PCG on problems that PCG can handle.  If you are in doubt, try PCG ({{{solver = 1}}}) first.
     87
     88 * '''{{{tolerance}}}''':  A floating point value indicating the tolerance within which you would like your solver to converge.  This tolerance affects the accuracy of your approximation; a lower tolerance gives a more accurate answer, but usually takes more iterations to achieve.  Most problems should do fine with a {{{tolerance}}} value of {{{1e-4}}} to {{{1e-6}}}.
     89
     90 * '''{{{printlevel}}}''': A hypre parameter that controls the information printed out by hypre's solver during the course of execution.  There are four options for {{{printlevel}}}:
     91  * ''{{{0}}}'' -- No printout.
     92  * ''{{{1}}}'' -- Print solver setup information only.
     93  * ''{{{2}}}'' -- Print solve information only.
     94  * ''{{{3}}}'' -- Print setup and solve information.
     95 The hypre solver can be pretty verbose; it's recommended that {{{printlevel}}} be set to {{{0}}} unless you are debugging.
     96
     97 * '''{{{MaxIters}}}''':  The maximum number of iterations hypre may step through to converge the solution.  If the solution does not converge within {{{MaxIters}}} iterations, then it will fail with an error message.  Multigrid solvers often experience diminishing returns over many iterations, so increasing {{{MaxIters}}} is not necessarily going to make your solution converge.  Conversely, too few iterations will cause your problem to fail where it might have succeeded.
     98
     99 {{{100000}}} is a good initial guess for {{{MaxIters}}}.  This number can be lowered to force convergence failures to occur earlier, or it can be raised if you think a few more iterations will make a difference.
     100
     101 * '''{{{hVerbosity}}}''':  The amount of detail AstroBEAR prints about its hypre operations.  This is a higher-level form of reporting than {{{printlevel}}}; {{{hVerbosity}}} prints out what hypre routines AstroBEAR is calling.
     102  * ''{{{0 -- off}}}'':  No printouts.
     103  * ''{{{0 -- on}}}'':  AstroBEAR prints information about the hypre routines it is calling to standard output.
     104
     105 * '''{{{mthbc}}}''':  These boundary condition codes are similar to the ones explained in [GlobalDataExplained#GlobalData GlobalData] above.
    87106
    88107[[BR]]