Changes between Version 2 and Version 3 of ModulesOnAstroBear


Ignore:
Timestamp:
05/02/11 13:22:40 (14 years ago)
Author:
Brandon Shroyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModulesOnAstroBear

    v2 v3  
    253253 AstroBEAR uses the [https://computation.llnl.gov/casc/hypre/software.html hypre] library to solve the self-gravity equations.  To use hypre, you must first make sure that you link to the hypre library when compiling AstroBEAR.  Look for the {{{HYPREFLAG}}} variable in {{{Makefile.inc}}} and make sure that it is set to {{{1}}}.
    254254
     255 Hypre will automatically initialize the potential field using the density.  The only caveat is that the initial density cannot be uniform.  When the density is uniform, hypre produces a [http://mathworld.wolfram.com/SingularMatrix.html singular matrix] that it can't solve.  Fortunately, a small density perturbation takes care of this problem without substantially affecting the dynamics of the domain.  AstroBEAR comes with a Perturbation object type that can be used for this.