wiki:ProblemDataExplained

Version 3 (modified by Jonathan, 12 years ago) ( diff )

Back to AstroBearIntro

The problem.data file

The problem.data file specifies

  • which of the various problem modules will be executed, as well as
  • The initial ambient values for density, pressure, vx, vy, vz, and any initial magnetic field in the x, y, or z direction(s).

Problem modules are selected via logical flags. Each problem module has a corresponding data file, such as those present in the sample_data_files subfolder. The problem module data files, together with physics.data, determine the physics for a specific problem.

Aside: In theory, multiple problem modules may be switched on at once. In practice, a developer may assume only one problem module is being used at a time, and so the naive selection of multiple modules may not perform as expected.

See a sample problem.data file

contrib/astro/sample_data_files/problem.data

BackLinks

Note: See TracWiki for help on using the wiki.