edu.sc.seis.TauP.SplitLayerInfo Maven / Gradle / Ivy
/*
* The TauP Toolkit: Flexible Seismic Travel-Time and Raypath Utilities.
* Copyright (C) 1998-2000 University of South Carolina
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place - Suite 330, Boston, MA 02111-1307, USA.
*
* The current version can be found at http://www.seis.sc.edu
*
* Bug reports and comments should be directed to H. Philip Crotwell,
* [email protected] or Tom Owens, [email protected]
*
*/
/**
* SplitLayerInfo.java
*
*
* Created: Wed Feb 3 11:32:14 1999
*
* @author Philip Crotwell
* @version 1.1.3 Wed Jul 18 15:00:35 GMT 2001
*
*
*
*/
package edu.sc.seis.TauP;
public class SplitLayerInfo implements java.io.Serializable, Cloneable {
private SlownessModel sMod;
private boolean neededSplit;
private boolean movedSample;
private double rayParam;
public SplitLayerInfo(SlownessModel sMod,
boolean neededSplit,
boolean movedSample,
double rayParam) {
this.sMod = sMod;
this.neededSplit = neededSplit;
this.movedSample = movedSample;
this.rayParam = rayParam;
}
public boolean getNeededSplit() {
return neededSplit;
}
public boolean getMovedSample() {
return movedSample;
}
public double getRayParam() {
return rayParam;
}
public SlownessModel getSlownessModel() {
return sMod;
}
}