This commit is contained in:
Guilhem Lavaux 2010-09-26 22:56:13 -04:00
parent e9a9d64924
commit 71882e8663

View File

@ -1,20 +0,0 @@
#include "yorick.hpp"
using namespace CosmoTool;
int main(int argc, char **argv)
{
uint32_t *dimList;
uint32_t dimRank;
ProgressiveInput<float> input = ProgressiveInput<float>::loadArrayProgressive("displacement.nc", dimList, dimRank);
ProgressiveOutput<float> output = ProgressiveOutput<float>::saveArrayProgressive("scaledDispl.nc", dimList, dimRank);
uint32_t N = 3 * dimList[1] * dimList[2] * dimList[3];
for (uint32_t i = 0; i < N; i++)
{
output.put(input.read() * 500./.65);
}
return 0;
}