/usr/include/openturns/swig/FunctionCache.i is in libopenturns-dev 0.15-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | %{
#include "FunctionCache.hxx"
%}
%template(FunctionCache_) OpenTURNS::Base::Type::Cache< OpenTURNS::Base::Type::PersistentCollection<OpenTURNS::NumericalScalar>, OpenTURNS::Base::Type::PersistentCollection<OpenTURNS::NumericalScalar> >;
%include FunctionCache.hxx
namespace OpenTURNS { namespace Base { namespace Func { %extend FunctionCache { FunctionCache(const FunctionCache & other) { return new OpenTURNS::Base::Func::FunctionCache(other); } } }}}
|