Rupture Variation Generator v5.4.2 code changes: Difference between revisions

From SCECpedia
Jump to navigationJump to search
Scottcal (talk | contribs)
Created page with "This page documents the code changes required to turn the stand-alone version, genslip-v5.4.2, into an API callable by the CyberShake post-processing. The changes are indexed..."
 
Scottcal (talk | contribs)
Line 4: Line 4:


== structure.h ==
== structure.h ==
#Copy into $ROOT_DIR/include .
<ol>
#At the top of the file, add:
<li>Copy into $ROOT_DIR/include .</li>
<li>At the top of the file, add:
<pre>
<pre>
#ifndef STRUCT_H
#ifndef STRUCT_H
#define STRUCT_H
#define STRUCT_H
</pre>
</pre></li>
#At the end of the file, add:
<li>At the end of the file, add:
<pre>
<pre>
#endif
#endif
</pre>
</pre></li>
</ol>

Revision as of 21:52, 30 September 2019

This page documents the code changes required to turn the stand-alone version, genslip-v5.4.2, into an API callable by the CyberShake post-processing. The changes are indexed by file.

In this document, $ROOT_DIR is taken to be the RupGen-api-5.4.2 directory.

structure.h

  1. Copy into $ROOT_DIR/include .
  2. At the top of the file, add:
    #ifndef STRUCT_H
    #define STRUCT_H
    
  3. At the end of the file, add:
    #endif