GTGRID User Guide > Reference > GTGETFAULTS Function
  

GTGETFAULTS Function
Retrieves the fault lines from a surface.
Usage
result = GTGETFAULTS(surf_id)
Input Parameters
surf_id—(long) A valid ID for a gridded surface.
Returned Value
result—A (2,*) array defining the fault lines.
Keywords
Maxpts—(long) Limits the number of points in the faults array.
Num_faults—(long) Returns the number of faults in the input variable.
Discussion
The value of surf_id is obtained from the Surf_id keyword in the GTGRID function or from the output of the GTINSTALLSURF function.
Use GTGETFAULTS to regenerate fault vectors that were used to generate the grid for that surface. For example, after restoring a surface from a file (GTRESTORESURF) use GTGETFAULTS to obtain the fault vectors that were used to generate the grid.

Version 3.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.