Skip to content
Snippets Groups Projects
Commit 66b02365 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

use only strictly required source files for lib

parent 99ba8af4
No related branches found
No related tags found
No related merge requests found
/**********************************************************************
* *
* Copyright 2015 Max Planck Institute *
* for Dynamics and Self-Organization *
* *
* This file is part of bfps. *
* *
* bfps is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published *
* by the Free Software Foundation, either version 3 of the License, *
* or (at your option) any later version. *
* *
* bfps is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with bfps. If not, see <http://www.gnu.org/licenses/> *
* *
* Contact: Cristian.Lalescu@ds.mpg.de *
* *
**********************************************************************/
#include "spline_n1.hpp"
#include "spline_n2.hpp"
#include "spline_n3.hpp"
#include "spline_n4.hpp"
#include "spline_n5.hpp"
#include "spline_n6.hpp"
#include "Lagrange_polys.hpp"
#ifndef INTERPOLATOR_BASE
#define INTERPOLATOR_BASE
typedef void (*base_polynomial_values)(
const int derivative,
const double fraction,
double *__restrict__ destination);
#endif//INTERPOLATOR_BASE
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <iostream> #include <iostream>
#include <hdf5.h> #include <hdf5.h>
#include "base.hpp" #include "base.hpp"
#include "particles_base.hpp"
#include "fluid_solver_base.hpp" #include "fluid_solver_base.hpp"
#include "interpolator.hpp" #include "interpolator.hpp"
...@@ -36,9 +37,6 @@ ...@@ -36,9 +37,6 @@
#define PARTICLES #define PARTICLES
/* particle types */
enum particle_types {VELOCITY_TRACER};
template <int particle_type, class rnumber, bool multistep, int interp_neighbours> template <int particle_type, class rnumber, bool multistep, int interp_neighbours>
class particles class particles
{ {
......
/**********************************************************************
* *
* Copyright 2015 Max Planck Institute *
* for Dynamics and Self-Organization *
* *
* This file is part of bfps. *
* *
* bfps is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published *
* by the Free Software Foundation, either version 3 of the License, *
* or (at your option) any later version. *
* *
* bfps is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with bfps. If not, see <http://www.gnu.org/licenses/> *
* *
* Contact: Cristian.Lalescu@ds.mpg.de *
* *
**********************************************************************/
#include "interpolator_base.hpp"
#ifndef PARTICLES_BASE
#define PARTICLES_BASE
/* particle types */
enum particle_types {VELOCITY_TRACER};
#endif//PARTICLES_BASE
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
#include <iostream> #include <iostream>
#include <hdf5.h> #include <hdf5.h>
#include "base.hpp" #include "base.hpp"
#include "particles_base.hpp"
#include "fluid_solver_base.hpp" #include "fluid_solver_base.hpp"
#include "rFFTW_interpolator.hpp" #include "rFFTW_interpolator.hpp"
#include "particles.hpp"
#ifndef RFFTW_PARTICLES #ifndef RFFTW_PARTICLES
......
...@@ -68,9 +68,7 @@ print(VERSION) ...@@ -68,9 +68,7 @@ print(VERSION)
src_file_list = ['field_descriptor', src_file_list = ['field_descriptor',
'fluid_solver_base', 'fluid_solver_base',
'fluid_solver', 'fluid_solver',
'interpolator',
'rFFTW_interpolator', 'rFFTW_interpolator',
'particles',
'rFFTW_particles', 'rFFTW_particles',
'fftw_tools', 'fftw_tools',
'spline_n1', 'spline_n1',
...@@ -82,6 +80,7 @@ src_file_list = ['field_descriptor', ...@@ -82,6 +80,7 @@ src_file_list = ['field_descriptor',
'Lagrange_polys'] 'Lagrange_polys']
header_list = (['cpp/base.hpp', header_list = (['cpp/base.hpp',
'cpp/particles_base.hpp',
'cpp/interpolator_base.hpp'] + 'cpp/interpolator_base.hpp'] +
['cpp/' + fname + '.hpp' ['cpp/' + fname + '.hpp'
for fname in src_file_list]) for fname in src_file_list])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment