Particle Identification and Tracking
|
Computes . More...
#include <accum_sofq_ND.h>
Public Member Functions | |
void | add_particle (const particle *) |
Adds a particle. More... | |
void | out_to_wrapper (utilities::Generic_wrapper &, const utilities::Md_store &md_store) const |
outputs the result of the computation to the wrapper More... | |
Accum_sofq_ND (const utilities::Tuplef &max_q, const utilities::Tuplei &n_bins) | |
constructor,will gain arguments More... | |
~Accum_sofq_ND () | |
void | get_magnitude (utilities::ND_Array< float, utilities::Tuplei::length_ > &) const |
Returns an array with the magnitudes of the complex s(q) values. More... | |
void | display () const |
Plots the result using gnuplot. More... | |
const utilities::Tuplei & | get_n_bins () const |
Returns the dimensions of bins. More... | |
Private Member Functions | |
bool | step_indx (utilities::Tuplei &indx) const |
iterate through elements of arrays More... | |
Private Attributes | |
const utilities::Tuplei | n_bins_ |
number of bins More... | |
utilities::Tuplef | max_range_ |
maximum range More... | |
int | total_bins_ |
Total number of bins. More... | |
utilities::ND_Array < utilities::Tuplef, utilities::Tuplei::length_ > | q_ |
Array to hold the q-values. More... | |
utilities::ND_Array < std::complex< float > , utilities::Tuplei::length_ > | s_of_q_ |
Array to hold the values. More... | |
std::string | name_ |
name of group for writing out to a wrapper More... | |
int | parts_added_ |
count of the number of particles added More... | |
std::string | fname_ |
File name of data source. More... | |
int | dset_ |
Data set number. More... | |
int | comp_num_ |
Computation number. More... | |
Static Private Attributes | |
static const int | rank_ = utilities::ND_Array<utilities::Tuplef,utilities::Tuplei::length_>::rank_ |
Rank of array. More... | |
Computes .
Accum_sofq_ND::Accum_sofq_ND | ( | const utilities::Tuplef & | max_q, |
const utilities::Tuplei & | n_bins | ||
) |
constructor,will gain arguments
References max_range_, n_bins_, q_, and step_indx().
Accum_sofq_ND::~Accum_sofq_ND | ( | ) |
|
virtual |
Adds a particle.
The sub class determines what is computed from the particle.
Implements tracking::Accumulator.
References tracking::particle_base::get_position(), pi, q_, s_of_q_, and total_bins_.
void Accum_sofq_ND::display | ( | ) | const |
Plots the result using gnuplot.
References get_magnitude(), n_bins_, rank_, and step_indx().
Referenced by main().
void Accum_sofq_ND::get_magnitude | ( | utilities::ND_Array< float, utilities::Tuplei::length_ > & | ) | const |
Returns an array with the magnitudes of the complex s(q) values.
References s_of_q_, and step_indx().
Referenced by display().
|
inline |
Returns the dimensions of bins.
References n_bins_.
|
virtual |
outputs the result of the computation to the wrapper
Implements tracking::Accumulator.
|
private |
iterate through elements of arrays
References n_bins_, and rank_.
Referenced by Accum_sofq_ND(), display(), and get_magnitude().
|
private |
Computation number.
|
private |
Data set number.
|
private |
File name of data source.
|
private |
maximum range
Referenced by Accum_sofq_ND().
|
private |
number of bins
Referenced by Accum_sofq_ND(), display(), get_n_bins(), and step_indx().
|
private |
name of group for writing out to a wrapper
|
private |
count of the number of particles added
|
private |
Array to hold the q-values.
Referenced by Accum_sofq_ND(), and add_particle().
|
staticprivate |
Rank of array.
Referenced by display(), and step_indx().
|
private |
Array to hold the values.
Referenced by add_particle(), and get_magnitude().
|
private |
Total number of bins.
Referenced by add_particle().