View Javadoc

1   /*
2     The TauP Toolkit: Flexible Seismic Travel-Time and Raypath Utilities.
3     Copyright (C) 1998-2000 University of South Carolina
4   
5     This program is free software; you can redistribute it and/or
6     modify it under the terms of the GNU General Public License
7     as published by the Free Software Foundation; either version 2
8     of the License, or (at your option) any later version.
9   
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14  
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18  
19    The current version can be found at 
20    <A HREF="www.seis.sc.edu">http://www.seis.sc.edu</A>
21  
22    Bug reports and comments should be directed to 
23    H. Philip Crotwell, crotwell@seis.sc.edu or
24    Tom Owens, owens@seis.sc.edu
25  
26  */
27  
28  /***
29   * SplitLayerInfo.java
30   *
31   *
32   * Created: Wed Feb  3 11:32:14 1999
33   *
34   * @author Philip Crotwell
35   * @version 1.1.3 Wed Jul 18 15:00:35 GMT 2001
36  
37  
38  
39   */
40  package edu.sc.seis.TauP;
41  
42  public class SplitLayerInfo implements java.io.Serializable, Cloneable {
43      
44      boolean neededSplit;
45  
46      boolean movedSample;
47  
48      double rayParam;
49  
50      public SplitLayerInfo(boolean neededSplit,
51  			  boolean movedSample,
52  			  double rayParam) {
53  	this.neededSplit = neededSplit;
54  	this.movedSample = movedSample;
55  	this.rayParam = rayParam;
56      }
57      
58  
59      /***
60         * Get the value of neededSplit.
61         * @return Value of neededSplit.
62         */
63      public boolean getNeededSplit() {return neededSplit;}
64      
65      /***
66         * Set the value of neededSplit.
67         * @param v  Value to assign to neededSplit.
68         */
69      public void setNeededSplit(boolean  v) {this.neededSplit = v;}
70      
71  
72      /***
73         * Get the value of movedSample.
74         * @return Value of movedSample.
75         */
76      public boolean getMovedSample() {return movedSample;}
77      
78      /***
79         * Set the value of movedSample.
80         * @param v  Value to assign to movedSample.
81         */
82      public void setMovedSample(boolean  v) {this.movedSample = v;}
83      
84     
85      /***
86         * Get the value of rayParam.
87         * @return Value of rayParam.
88         */
89      public double getRayParam() {return rayParam;}
90      
91      /***
92         * Set the value of rayParam.
93         * @param v  Value to assign to rayParam.
94         */
95      public void setRayParam(double  v) {this.rayParam = v;}
96      
97  } // SplitLayerInfo