libkpl  6.0
A Library for Graphical Presentation of Data Sets and Functions
Calc3DJob Class Reference

Calculation 3D job class. More...

#include <calc3djob.h>

Inheritance diagram for Calc3DJob:

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.
 
- Public Member Functions inherited from CalcJob
 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.
 
- Protected Member Functions inherited from CalcJob
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
 
- Protected Attributes inherited from CalcJob
const double * m_t
 
const double * m_par
 
double * m_values
 
double(* m_func )(double, const double *)
 
int m_n
 

Detailed Description

Calculation 3D job class.

Class for calculation of 3D function value tables by multithreading.

Author
Werner Stille

Constructor & Destructor Documentation

◆ Calc3DJob()

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.

Parameters
xarray with x argument values.
zarray with z argument values.
valuesarray for function values.
funcfunction.
parparameter array.
ix0start index for x values.
nxnumber of x values.
nznumber of z values.

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