libkpl
6.0
A Library for Graphical Presentation of Data Sets and Functions
lib
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
22
class
Calc3DJob
:
public
CalcJob
23
{
24
public
:
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);
40
~Calc3DJob
();
41
42
protected
:
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
Calc3DJob
Calculation 3D job class.
Definition
calc3djob.h:23
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.
Calc3DJob::~Calc3DJob
~Calc3DJob()
Destructor.
Calc3DJob::run
void run(ThreadWeaver::JobPointer, ThreadWeaver::Thread *) override
Calculates function values.
CalcJob
Calculation job class.
Definition
calcjob.h:23
Generated by
1.12.0