Skip to content

Commit 0892bf1

Browse files
committed
Reorganize directory structure.
Signed-off-by: Matthew Emmett <[email protected]>
1 parent 2c90d75 commit 0892bf1

File tree

13 files changed

+15
-18
lines changed

13 files changed

+15
-18
lines changed

examples/ad/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include <tuple>
1212

1313
#include <pfasst.hpp>
14-
#include <pfasst-imex.hpp>
15-
#include <pfasst-vector.hpp>
14+
#include <pfasst/encap/imex.hpp>
15+
#include <pfasst/encap/vector.hpp>
1616

1717
#include <fftw3.h>
1818

File renamed without changes.

include/pfasst.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "pfasst/interfaces.hpp"
2+
#include "pfasst/sdc.hpp"
3+
#include "pfasst/mlsdc.hpp"
4+
#include "pfasst/pfasst.hpp"

src/pfasst-controller.hpp renamed to include/pfasst/controller.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef _PFASST_CONTROLLER_HPP_
66
#define _PFASST_CONTROLLER_HPP_
77

8-
#include "pfasst-interfaces.hpp"
8+
#include "interfaces.hpp"
99

1010
namespace pfasst {
1111

src/pfasst-encapsulated.hpp renamed to include/pfasst/encap/encapsulation.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#include <vector>
99

10-
#include "pfasst-interfaces.hpp"
11-
#include "pfasst-quadrature.hpp"
10+
#include "../interfaces.hpp"
11+
#include "../quadrature.hpp"
1212

1313
using namespace std;
1414

src/pfasst-imex.hpp renamed to include/pfasst/encap/imex.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
#include <iostream>
66

7-
#include "pfasst-encapsulated.hpp"
8-
#include "pfasst-quadrature.hpp"
7+
#include "encapsulation.hpp"
98

109
using namespace std;
1110

src/pfasst-vector.hpp renamed to include/pfasst/encap/vector.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#define GPCHKERR(err, msg) if ((err) == -1) { perror(msg); return; }
1717

18-
#include "pfasst-encapsulated.hpp"
18+
#include "encapsulation.hpp"
1919

2020
using namespace std;
2121

@@ -25,10 +25,8 @@ namespace pfasst {
2525
template<typename scalar, typename time>
2626
class VectorEncapsulation : public vector<scalar>, public Encapsulation<scalar> {
2727

28-
FILE *gp_to, *gp_fr;
29-
3028
public:
31-
VectorEncapsulation(int size) : vector<scalar>(size) { gp_to = NULL; }
29+
VectorEncapsulation(int size) : vector<scalar>(size) { }
3230

3331
void setval(scalar v) {
3432
std::fill(this->begin(), this->end(), v);
File renamed without changes.

src/pfasst-mlsdc.hpp renamed to include/pfasst/mlsdc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <iostream>
1010
#include <vector>
1111

12-
#include "pfasst-controller.hpp"
12+
#include "controller.hpp"
1313

1414
using namespace std;
1515

src/pfasst-pfasst.hpp renamed to include/pfasst/pfasst.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef _PFASST_PFASST_HPP_
66
#define _PFASST_PFASST_HPP_
77

8-
#include "pfasst-controller.hpp"
8+
#include "controller.hpp"
99

1010
using namespace std;
1111

0 commit comments

Comments
 (0)