Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TurTLE
TurTLE
Commits
66b02365
Commit
66b02365
authored
Jan 03, 2016
by
Cristian Lalescu
Browse files
use only strictly required source files for lib
parent
99ba8af4
Changes
5
Hide whitespace changes
Inline
Side-by-side
bfps/cpp/interpolator_base.hpp
0 → 100644
View file @
66b02365
/**********************************************************************
* *
* 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
bfps/cpp/particles.hpp
View file @
66b02365
...
...
@@ -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
{
...
...
bfps/cpp/particles_base.hpp
0 → 100644
View file @
66b02365
/**********************************************************************
* *
* 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
bfps/cpp/rFFTW_particles.hpp
View file @
66b02365
...
...
@@ -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
...
...
setup.py
View file @
66b02365
...
...
@@ -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
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment