[Top][All Lists]

[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

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

Thanks for any help and have a pleasant weekend,

-- Klaus Huthmacher.

Attachment: interpolation.cpp
Description: Text Data

Attachment: interpolation.h
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]