[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Copy interpolation object to several threads
From: |
Klaus Huthmacher |
Subject: |
[Help-gsl] Copy interpolation object to several threads |
Date: |
Fri, 7 Feb 2014 13:08:19 +0100 |
User-agent: |
SquirrelMail/1.4.23 [SVN] |
Dear fellows,
I have a question concerning the gsl (spline) interpolation, especially
about the important 'initialization' process.
As I understand it, there are two possibilities: first, the
'gsl_interp_init' command and the higher-level-interface
'gsl_spline_init'.
According to the documentation, there is an 'interpolation object'
initialized, but - please forgive my rather naive question - where is this
object? Can it be accessed? In C++ I learned that I end up at least with
pointers to a (newly created) object.
My question is based on the attempt to parallelize a code, especially to
give each thread a copy of an interpolated data set. Thus my assumption
is, that I have to write a copy constructor for my interpolation class
(see appended) file, where each time the 'gsl_spline_ini' command is
executed?
Thanks for any help and have a pleasant weekend,
-- Klaus Huthmacher.
interpolation.cpp
Description: Text Data
interpolation.h
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-gsl] Copy interpolation object to several threads,
Klaus Huthmacher <=