00001 /* Copyright (C) 2000, 2001 Patrick Eriksson <patrick@rss.chalmers.se> 00002 00003 This program is free software; you can redistribute it and/or modify it 00004 under the terms of the GNU General Public License as published by the 00005 Free Software Foundation; either version 2, or (at your option) any 00006 later version. 00007 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with this program; if not, write to the Free Software 00015 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00016 USA. */ 00017 00018 00019 00021 // File description 00023 00035 #ifndef los_h 00036 #define los_h 00037 00038 #include "matpackI.h" 00039 #include "array.h" 00040 00103 struct Los { 00104 ArrayOfVector p; 00105 ArrayOfVector psi; 00106 ArrayOfVector z; 00107 Vector l_step; 00108 ArrayOfIndex ground; 00109 ArrayOfIndex start; 00110 ArrayOfIndex stop; 00111 }; 00112 00113 00114 // A little function to check if there is any ground intersection 00115 // The function is placed in m_los.cc 00116 // 00117 bool any_ground( const ArrayOfIndex& ground ); 00118 00119 #endif // los_h