Demonstration how to access data from a MemBase object.
Demonstration how to access data from a MemBase object.
#include "TypedArray.hpp"
namespace
{
{
{
for(auto d : *D)
{
d += 2.0;
}
}
{
for(auto f : *F)
{
f[0] += 2.0;
}
for(auto D : F->getComponent(1) )
{
double& d = D;
d = 22.33;
}
for(auto D : (*F)(1) )
{
double& d = D;
d = 22.33;
}
}
}
}
An intermediate class that allows to operate on the pure type information of some memory array.
Definition TypedArray.hpp:58
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2