Discovered a couple more shape parameter values used in RockSim csv files.
This commit is contained in:
parent
274f646124
commit
fb1262897d
@ -39,12 +39,22 @@ public class ShapeColumnParser extends BaseColumnParser {
|
||||
if ( "power-series".equals(lc) ) {
|
||||
shape = Shape.POWER;
|
||||
}
|
||||
// guessing at what "ps" means. I think it might be power series.
|
||||
if ( "ps".equals(lc) ) {
|
||||
shape = Shape.POWER;
|
||||
}
|
||||
if ( "1".equals(lc) ) {
|
||||
shape = Shape.OGIVE;
|
||||
}
|
||||
if( "0". equals(lc) ) {
|
||||
shape = Shape.CONICAL;
|
||||
}
|
||||
if( "". equals(lc) ) {
|
||||
shape = Shape.CONICAL;
|
||||
}
|
||||
if ( "3".equals(lc) ) {
|
||||
shape = Shape.ELLIPSOID;
|
||||
}
|
||||
if ( shape == null ) {
|
||||
throw new BugException("Invalid shape parameter: " + columnData);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user