sync
This commit is contained in:
parent
e9a9d64924
commit
71882e8663
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user