libkpl  6.0
A Library for Graphical Presentation of Data Sets and Functions
calc3djob.h
1//
2// C++ Interface: calc3djob
3//
4// Description:
5//
6//
7// Author: Werner Stille <kpl@werner-stille.de>, (C) 2024
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef CALC3DJOB_H
13#define CALC3DJOB_H
14
15#include "calcjob.h"
16
22class Calc3DJob : public CalcJob
23{
24public:
36 Calc3DJob(const double* x, const double* z, double** values,
37 double (*func)(double, double, const double*),
38 const double* par, int ix0, int nx, int nz);
41
42protected:
44 void run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*) override;
45 const double* m_x;
46 double** m_values3D;
47 double (*m_func3D)(double, double, const double*);
48 int m_nx, m_ix0;
49};
50
51#endif
Calculation 3D job class.
Definition calc3djob.h:23
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.
void run(ThreadWeaver::JobPointer, ThreadWeaver::Thread *) override
Calculates function values.
Calculation job class.
Definition calcjob.h:23