Opened 13 years ago

Closed 13 years ago

#142 closed defect (fixed)

add option to create fault surfaces that preserve the original dimensions exactly

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone:
Component: SCEC-VDO Plugins Version:
Keywords: Cc:

Description

From Ned (when trac was down):

In your new SCEC VDO WGCEP implementation you create the gridded surfaces in org.scec.geo3d.library.wgcep.faults using either of the following:

return new FrankelGriddedSurface?(data, spacingParam.getValue());
return new StirlingGriddedSurface?(data, spacingParam.getValue());

These versions match the specified grid spacing exactly, meaning the surface is trimmed at the end (and bottom) if the total length (or DDW) is not equal to some integer times the grid spacing.

We have alternative constructors that will adjust the grid spacing down to preserve the original dimensions exactly:

return new FrankelGriddedSurface?(data, spacingParam.getValue(), spacingParam.getValue());
return new StirlingGriddedSurface?(data, spacingParam.getValue(), spacingParam.getValue());

(spacing given twice because it allows you to set the differently along strike and down dip)

Can we add this as an option to SCEC VDO?

Looks like the best way to do this is via your "Fault Settings" tab, where we add a boolean parameter "Fit Grid Spacing Exactly"
with a mouse-over info string that says "Fitting exactly will trim ends, whereas not will adjust the grid spacing down enough to fit exactly"

Change History (1)

comment:1 Changed 13 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

done...parameter now shows up in the fault setting tab.

Note: See TracTickets for help on using tickets.