[CIG-SHORT] Friction spatialdb error when more than 2 locations are specified
Brad Aagaard
baagaard at usgs.gov
Mon Jun 5 20:18:16 PDT 2017
On 6/5/17 8:01 PM, Ekaterina Bolotskaya wrote:
> Dear PyLith developers,
>
> I'm currently trying to create a frictional surface with stepwise
> changing friction coefficient and cohesion (three intervals). I've
> created a SimpleDB that looks like this:
>
> // -*- C++ -*- (tell Emacs to use C++ mode for syntax highlighting)
> //
> // This spatial database specifies the distribution of
> // friction coefficient and cohesion along the fault
>
> #SPATIAL.ascii 1
> SimpleDB {
> num-values = 2
> value-names = friction-coefficient cohesion
> value-units = none MPa
> num-locs = 3
> data-dim = 1 // locations form a line
> space-dim = 2
> cs-data = cartesian {
> to-meters = 1.0 // specify coordinates in m
> space-dim = 2
> }
> }
>
> // Columns are
> // (1) x coordinate (m)
> // (2) y coordinate (m)
> // (3) friction-coefficient (none)
> // (4) cohesion (MPa)
>
> -0.75 0.0 0.85 1.0
> 0.0 0.0 0.85 0.0
> 0.75 0.0 0.85 1.0
Make sure there is a line feed at tne end of each line, including the
last line.
Brad
More information about the CIG-SHORT
mailing list