## page was renamed from Mgrav.e
= Mgrav =

||Category ?||Version ?||

== Description ==
'''Mgrav.e''' takes a [[bigmap]] and generates four (4) ppm images depicting:  elevation, acceleration, potential and slope.  The images are RGB and are unscaled.


== Input Files ==
 * [[bigmap]] - The is a bigmap that is maintained in MAPFILES/<whatever>.MAP

== Required Files ==
These are important to consider because they can cause conflicts if you run more than one instance of the program.
 * [[MGRAV.IN]] - gets GM and omega
 * [[SGRAV.IN]] - ????? gets Q, K, I, J, F
 * [[SGRAV.TXT]] - Output from the gravity generation from the shape model

== Working Files (generated) ==
 * [[view.gray]] - Temporary file that is used to write data before final images are generated
 * [[sml.imh]] - Temporary file that is used to write data before final images are generated

== Input stdin ==

 * What it asks for  
{{{ 
  Name of map file
  ZN0026
}}}

 * Another argument

== Output Files ==
 * [[MGRAV.TXT]] 
 * Original bigmap viewed in shaded relief
  * Generates Mslp.ppm {{attachment:Mslp.jpg}}
  * Generates Mpot.ppm {{attachment:Mpot.jpg}}
  * Generates Melv.ppm {{attachment:Melv.jpg}}
  * Generates Macc.ppm {{attachment:Macc.jpg}}