Skip to content

Commit 4149fcf

Browse files
committed
Merge pull request #158 from torbjoernk/feature/separate-impl-dir
Moving implementation files into separate directory structure
2 parents d3d2351 + 7108236 commit 4149fcf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+132
-97
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ configure_file(
155155
"${CMAKE_CURRENT_SOURCE_DIR}/include/pfasst/site_config.hpp"
156156
)
157157
add_subdirectory(include)
158+
add_subdirectory(src)
158159

159160
if(pfasst_BUILD_EXAMPLES)
160161
message(STATUS "********************************************************************************")
@@ -177,6 +178,10 @@ install(DIRECTORY include/
177178
DESTINATION include
178179
FILES_MATCHING PATTERN "*.hpp"
179180
)
181+
install(DIRECTORY src/
182+
DESTINATION include
183+
FILES_MATCHING PATTERN "*.hpp"
184+
)
180185

181186
if(pfasst_BUILD_EXAMPLES AND pfasst_INSTALL_EXAMPLES)
182187
message(STATUS " example programs: <PREFIX>/bin")

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ WARN_LOGFILE =
666666
# directories like "/usr/src/myproject". Separate the files or directories
667667
# with spaces.
668668

669-
INPUT = include tests examples doc/source README.md CHANGELOG.md
669+
INPUT = include src tests examples doc/source README.md CHANGELOG.md
670670

671671
# This tag can be used to specify the character encoding of the source files
672672
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is

include/pfasst/config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ namespace pfasst
105105
} // ::pfasst::config
106106
} // ::pfasst
107107

108-
#include "config_impl.hpp"
108+
#include "pfasst/config_impl.hpp"
109109

110110
#endif // _PFASST__CONFIG_HPP_

include/pfasst/controller.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#ifndef _PFASST__CONTROLLER_HPP
22
#define _PFASST__CONTROLLER_HPP
33

4-
#include "controller/controller.hpp"
4+
#include "pfasst/controller/controller.hpp"
55

66
#endif // _PFASST__CONTROLLER_HPP

include/pfasst/controller/interface.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <memory>
88
using namespace std;
99

10-
#include "../interfaces.hpp"
10+
#include "pfasst/interfaces.hpp"
1111

1212

1313
namespace pfasst
@@ -193,6 +193,6 @@ namespace pfasst
193193
};
194194
} // ::pfasst
195195

196-
#include "interface_impl.hpp"
196+
#include "pfasst/controller/interface_impl.hpp"
197197

198198
#endif

include/pfasst/controller/mlsdc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <vector>
55
using namespace std;
66

7-
#include "interface.hpp"
7+
#include "pfasst/controller/interface.hpp"
88

99

1010
namespace pfasst
@@ -65,6 +65,6 @@ namespace pfasst
6565
};
6666
} // ::pfasst
6767

68-
#include "mlsdc_impl.hpp"
68+
#include "pfasst/controller/mlsdc_impl.hpp"
6969

7070
#endif

include/pfasst/controller/pfasst.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _PFASST_PFASST_HPP_
22
#define _PFASST_PFASST_HPP_
33

4-
#include "mlsdc.hpp"
4+
#include "pfasst/controller/mlsdc.hpp"
55

66

77
namespace pfasst
@@ -73,6 +73,6 @@ namespace pfasst
7373
};
7474
} // ::pfasst
7575

76-
#include "pfasst_impl.hpp"
76+
#include "pfasst/controller/pfasst_impl.hpp"
7777

7878
#endif

include/pfasst/controller/sdc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _PFASST_SDC_HPP_
22
#define _PFASST_SDC_HPP_
33

4-
#include "interface.hpp"
4+
#include "pfasst/controller/interface.hpp"
55

66

77
namespace pfasst
@@ -18,6 +18,6 @@ namespace pfasst
1818
};
1919
} // ::pfasst
2020

21-
#include "sdc_impl.hpp"
21+
#include "pfasst/controller/sdc_impl.hpp"
2222

2323
#endif

include/pfasst/encap/automagic.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include <tuple>
66
#include <cassert>
77

8-
#include "../quadrature.hpp"
9-
#include "encap_sweeper.hpp"
8+
#include "pfasst/quadrature.hpp"
9+
#include "pfasst/encap/encap_sweeper.hpp"
1010

1111
using namespace std;
1212

include/pfasst/encap/encap_sweeper.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#include <vector>
1010
using namespace std;
1111

12-
#include "../interfaces.hpp"
13-
#include "../quadrature.hpp"
14-
#include "encapsulation.hpp"
12+
#include "pfasst/interfaces.hpp"
13+
#include "pfasst/quadrature.hpp"
14+
#include "pfasst/encap/encapsulation.hpp"
1515

1616

1717
namespace pfasst
@@ -166,6 +166,6 @@ namespace pfasst
166166
} // ::pfasst::encap
167167
} // ::pfasst
168168

169-
#include "encap_sweeper_impl.hpp"
169+
#include "pfasst/encap/encap_sweeper_impl.hpp"
170170

171171
#endif

0 commit comments

Comments
 (0)