~c-tunnell1/+junk/nf_flux

« back to all changes in this revision

Viewing changes to #kernels_cpp.i#

  • Committer: Christopher Tunnell
  • Date: 2011-08-10 18:19:04 UTC
  • Revision ID: c.tunnell1@physics.ox.ac.uk-20110810181904-lp4dp318w0rw9m9p
cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%module kernels_cpp
2
 
 
3
 
%{
4
 
 #define SWIG_FILE_WITH_INIT
5
 
 #include "kernels_cpp.h"
6
 
%}
7
 
 
8
 
%include "numpy.i"
9
 
%include "std_string.i"
10
 
 
11
 
%init %{
12
 
import_array();
13
 
%}
14
 
 
15
 
%apply (float* INPLACE_ARRAY1, int DIM1) {(float* a, int na), (float* b, int nb), (float* c, int nc)};
16
 
 
17
 
%include "kernels_cpp.h"