FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

added some wemFiles and wemSolvers - to replace the old ones · PCMSolver/pcmsolver@05a5920 · GitHub

Repository navigation

Commit 05a5920

Browse files
committed
added some wemFiles and wemSolvers - to replace the old ones
1 parent bc2e7a3 commit 05a5920

34 files changed

Lines changed: 5981 additions & 0 deletions

‎src/wemFiles/BoundingBox.hpp‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#ifndef BOUNDING_BOX_HPP
2+
#define BOUNDING_BOX_HPP
3+
/**
4+
* @file BoundingBox.hpp
5+
*
6+
* @brief the structure declarations of the bounding boxes, for the constant and
7+
* linear case
8+
*/
9+
typedef struct{
10+
double rx, ry, rz; ///< the radius of the bounding box in x, y, and z respectively
11+
double mx, my, mz; ///< coordinates of the midpoint
12+
} BoundingBox;
13+
14+
typedef struct{
15+
unsigned int patch;
16+
double rx, ry; ///< the radius if the bounding box in the reference domain in x and y respectively
17+
double mx, my; ///< the midpoint in the reference domain
18+
} BoundingBoxSquare;
19+
20+
#endif
21+

‎src/wemFiles/CMakeLists.txt‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
set(wemFiles_SOURCES
2+
ConAnsatzFunction.cpp
3+
GenericAnsatzFunction.cpp
4+
LinAnsatzFunction.cpp
5+
Mask.cpp
6+
Topology.cpp
7+
SparseMatrix.cpp
8+
Transformations.cpp
9+
Wavelet.cpp
10+
)
11+
12+
if(ENABLE_TESTS)
13+
add_library(utils ${wemFiles_SOURCES})
14+
#add_dependencies(wemFiles libgetkw)
15+
install(TARGETS wemFiles ARCHIVE DESTINATION lib)
16+
endif()
17+
18+
# Export the sources up to src directory level
19+
set(local_sources "")
20+
foreach(source ${wemFiles_SOURCES})
21+
get_filename_component(sourcepath ${source} ABSOLUTE)
22+
set(local_sources ${sourcepath} ${local_sources})
23+
endforeach()
24+
set(SOURCES ${local_sources} ${SOURCES} PARENT_SCOPE)
25+
26+
install(FILES BoundingBox.hpp DESTINATION include)
27+
install(FILES ConAnsatzFunction.hpp DESTINATION include)
28+
install(FILES Constants.hpp DESTINATION include)
29+
install(FILES ElementTree.hpp DESTINATION include)
30+
install(FILES GenericAnsatzFunction.hpp DESTINATION include)
31+
install(FILES LinAnsatzFunction.hpp DESTINATION include)
32+
install(FILES Mask.hpp DESTINATION include)
33+
install(FILES Randwerte.hpp DESTINATION include)
34+
install(FILES SparseMatrix.hpp DESTINATION include)
35+
install(FILES Topology.hpp DESTINATION include)
36+
install(FILES Transformations.hpp DESTINATION include)
37+
install(FILES Wavelet.hpp DESTINATION include)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL