ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::Probe Class Reference

Collects point values from the input data. More...

#include <aslProbe.h>

Public Member Functions

 Probe (SPAbstractData d)
void addPoint (AVec< int > p)
void init ()
 initialization of internal kernels and data
void update ()
 Updates data in output.
const unsigned int getNComponents () const
const unsigned int getNDimensions () const
vector< double > & getComponent (unsigned int i)
AVec< double > getValue (unsigned int pointNumber)

Protected Member Functions

void loadIndicesToACL ()
void loadValuesFromACL ()

Protected Attributes

SPAbstractData data
acl::Kernel k
std::vector< int > indices
acl::SPVectorOfElementsData indicesACL
vector< vector< double > > values
acl::SPVectorOfElementsData valuesACL

Detailed Description

Collects point values from the input data.

/ The class takes in

Definition at line 53 of file aslProbe.h.

Constructor & Destructor Documentation

◆ Probe()

asl::Probe::Probe ( SPAbstractData d)

Member Function Documentation

◆ addPoint()

void asl::Probe::addPoint ( AVec< int > p)

◆ getComponent()

vector< double > & asl::Probe::getComponent ( unsigned int i)
inline

Definition at line 116 of file aslProbe.h.

◆ getNComponents()

const unsigned int asl::Probe::getNComponents ( ) const

◆ getNDimensions()

const unsigned int asl::Probe::getNDimensions ( ) const

◆ getValue()

AVec< double > asl::Probe::getValue ( unsigned int pointNumber)
inline

Definition at line 122 of file aslProbe.h.

◆ init()

void asl::Probe::init ( )

initialization of internal kernels and data

◆ loadIndicesToACL()

void asl::Probe::loadIndicesToACL ( )
protected

◆ loadValuesFromACL()

void asl::Probe::loadValuesFromACL ( )
protected

◆ update()

void asl::Probe::update ( )

Updates data in output.

Member Data Documentation

◆ data

SPAbstractData asl::Probe::data
protected

Definition at line 56 of file aslProbe.h.

◆ indices

std::vector<int> asl::Probe::indices
protected

Definition at line 59 of file aslProbe.h.

◆ indicesACL

acl::SPVectorOfElementsData asl::Probe::indicesACL
protected

Definition at line 60 of file aslProbe.h.

◆ k

acl::Kernel asl::Probe::k
protected

Definition at line 57 of file aslProbe.h.

◆ values

vector<vector<double> > asl::Probe::values
protected

Definition at line 62 of file aslProbe.h.

◆ valuesACL

acl::SPVectorOfElementsData asl::Probe::valuesACL
protected

Definition at line 63 of file aslProbe.h.


The documentation for this class was generated from the following file: