27 #include <acl/Kernels/aclKernel.h>
28 #include <math/aslVectors.h>
38 class VectorOfElementsData;
59 std::vector<int> indices;
62 vector<vector<double>> values;
91 std::vector<AVec<>> points;
94 vector<vector<double>> values;
116 inline vector<double> & Probe::getComponent(
unsigned int i)
122 inline AVec<double> Probe::getValue(
unsigned int pointNumber)
124 unsigned int nC(getNComponents());
125 AVec<double> value(nC);
126 for (
unsigned int i(0); i < nC; ++i)
127 value[i] = values[i][pointNumber];
132 inline vector<double> & ProbeLI::getComponent(
unsigned int i)
138 inline AVec<double> ProbeLI::getValue(
unsigned int pointNumber)
140 unsigned int nC(getNComponents());
141 AVec<double> value(nC);
142 for (
unsigned int i(0); i < nC; ++i)
143 value[i] = values[i][pointNumber];
const unsigned int getNDimensions() const
void addPoint(AVec< int > p)
void update()
Updates data in output.
void init()
initialization of internal kernels and data
AVec< double > getValue(unsigned int pointNumber)
vector< double > & getComponent(unsigned int i)
const unsigned int getNComponents() const
Collects point values from the input data with linear interpolation
const unsigned int getNDimensions() const
void init()
initialization of internal kernels and data
vector< double > & getComponent(unsigned int i)
const unsigned int getNComponents() const
ProbeLI(SPAbstractData d)
void update()
Updates data in output.
AVec< double > getValue(unsigned int pointNumber)
Advanced Computational Language.
shared_ptr< VectorOfElementsData > SPVectorOfElementsData
Advanced Simulation Library.
shared_ptr< AbstractData > SPAbstractData