Commit 66b02365 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

use only strictly required source files for lib

parent 99ba8af4
/**********************************************************************
* *
* 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 @@
#include <iostream>
#include <hdf5.h>
#include "base.hpp"
#include "particles_base.hpp"
#include "fluid_solver_base.hpp"
#include "interpolator.hpp"
......@@ -36,9 +37,6 @@
#define PARTICLES
/* particle types */
enum particle_types {VELOCITY_TRACER};
template <int particle_type, class rnumber, bool multistep, int interp_neighbours>
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 @@
#include <iostream>
#include <hdf5.h>
#include "base.hpp"
#include "particles_base.hpp"
#include "fluid_solver_base.hpp"
#include "rFFTW_interpolator.hpp"
#include "particles.hpp"
#ifndef RFFTW_PARTICLES
......
......@@ -68,9 +68,7 @@ print(VERSION)
src_file_list = ['field_descriptor',
'fluid_solver_base',
'fluid_solver',
'interpolator',
'rFFTW_interpolator',
'particles',
'rFFTW_particles',
'fftw_tools',
'spline_n1',
......@@ -82,6 +80,7 @@ src_file_list = ['field_descriptor',
'Lagrange_polys']
header_list = (['cpp/base.hpp',
'cpp/particles_base.hpp',
'cpp/interpolator_base.hpp'] +
['cpp/' + fname + '.hpp'
for fname in src_file_list])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment