|
From: <mk...@us...> - 2003-07-16 16:47:14
|
Update of /cvsroot/csp/APPLICATIONS/SimData/Include/SimData
In directory sc8-pr-cvs1:/tmp/cvs-serv970
Added Files:
LUT.h
Log Message:
--- NEW FILE: LUT.h ---
/* SimDataCSP: Data Infrastructure for Simulations
* Copyright (C) 2002 Mark Rose <tm...@st...>
*
* This file is part of SimDataCSP.
*
* 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.
*/
[...1119 lines suppressed...]
x += t[2.1][30400];
}
t1 = simdata::SimDate::getSystemTime();
std::cout << (t1-t0)*10.0 << " us; " << x << "\n";
/*
simdata::Table3 t3;
t0 = simdata::SimDate::getSystemTime();
// XXX must set data before interpolating
t3.interpolate(simdata::Table3::Dim(100)(40)(20), simdata::Interpolation::SPLINE);
t1 = simdata::SimDate::getSystemTime();
std::cout << (t1-t0) << " s\n";
*/
}
int main() try {
test();
return 0;
} catch(...) { }
|