6#ifndef __BASEOP_RESCALE_HPP
7#define __BASEOP_RESCALE_HPP
9#include "gridopDllApi.h"
10#include <grid/Representation.hpp>
12#include <vector/LinearIpol.hpp>
13#include <vector/Interpolate.hpp>
18template <
int Dims,
typename Type>
36 for(
int i=0; i<Dims; i++)
46 for(
int i=0; i<Dims; i++)
47 EvalPoint[i] =
MI[i]*IndexScale[i];
66 for(
int i=0; i<Dims; i++)
79 for(
int i=0; i<Dims; i++)
80 EvalPoint[i] =
MI[i]/scale;
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
RefPtr< MemBase > rescale(double scale, const RefPtr< MemBase > &Data, const MemBase::Creator_t &Crec)
Definition Rescale.cpp:15
IndexTypeConfig< sizeof(void *)>::index_t index_t
Define the index type as according to the size of a pointer, i.e.
Definition Index.hpp:22
Definition Rescale.hpp:20