libkpl
6.0
A Library for Graphical Presentation of Data Sets and Functions
|
Calculation 3D job class. More...
#include <calc3djob.h>
Public Member Functions | |
Calc3DJob (const double *x, const double *z, double **values, double(*func)(double, double, const double *), const double *par, int ix0, int nx, int nz) | |
Constructor. | |
~Calc3DJob () | |
Destructor. | |
![]() | |
CalcJob (const double *x, double *values, double(*func)(double, const double *), const double *par, int n) | |
Constructor. | |
~CalcJob () | |
Destructor. | |
Protected Member Functions | |
void | run (ThreadWeaver::JobPointer, ThreadWeaver::Thread *) override |
Calculates function values. | |
![]() | |
void | run (ThreadWeaver::JobPointer, ThreadWeaver::Thread *) override |
Calculates function values. | |
Protected Attributes | |
const double * | m_x |
double ** | m_values3D |
double(* | m_func3D )(double, double, const double *) |
int | m_nx |
int | m_ix0 |
![]() | |
const double * | m_t |
const double * | m_par |
double * | m_values |
double(* | m_func )(double, const double *) |
int | m_n |
Calculation 3D job class.
Class for calculation of 3D function value tables by multithreading.
Calc3DJob::Calc3DJob | ( | const double * | x, |
const double * | z, | ||
double ** | values, | ||
double(* | func )(double, double, const double *), | ||
const double * | par, | ||
int | ix0, | ||
int | nx, | ||
int | nz ) |
Constructor.
x | array with x argument values. |
z | array with z argument values. |
values | array for function values. |
func | function. |
par | parameter array. |
ix0 | start index for x values. |
nx | number of x values. |
nz | number of z values. |