Opened 11 years ago
Closed 11 years ago
#415 closed defect (fixed)
down dip spacing ignored in AbstractEvenlyGriddedSurface
Reported by: | Peter Powers | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OpenSHA 2.0 |
Component: | sha | Version: | |
Keywords: | Cc: |
Description
In
protected EvenlyGriddedSurfFromSimpleFaultData(FaultTrace faultTrace, double aveDip, double upperSeismogenicDepth, double lowerSeismogenicDepth, double maxGridSpacingAlong, double maxGridSpacingDown) throws FaultException { double length = faultTrace.getTraceLength(); double gridSpacingAlong = length/Math.ceil(length/maxGridSpacingAlong); double downDipWidth = (lowerSeismogenicDepth-upperSeismogenicDepth)/Math.sin(aveDip*Math.PI/180 ); double gridSpacingDown = downDipWidth/Math.ceil(downDipWidth/maxGridSpacingAlong); /* System.out.println(faultTrace.getName()+"\n\t"+ maxGridSpacingAlong+"\t"+(float)gridSpacingAlong+"\t"+(float)gridSpacingDown+"\t"+ (float)(faultTrace.getTraceLength()/gridSpacingAlong)+"\t"+ (float)(downDipWidth/gridSpacingDown)); */ set(faultTrace, aveDip, upperSeismogenicDepth, lowerSeismogenicDepth, gridSpacingAlong, gridSpacingDown); }
the maxGridSpacingDown isn't used, the along strike value is (mistakenly?) used instead.
Note: See
TracTickets for help on using
tickets.
fixed in [9912]