Skip to content

Commit 625bb18

Browse files
committed
Add a2d headers under extern/a2d for AE6310 students
1 parent 451ba03 commit 625bb18

43 files changed

Lines changed: 14391 additions & 3 deletions

Some content is hidden

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

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
156156
DESTINATION "${AMIGO_PY_PACKAGE_DIR}/include"
157157
)
158158

159-
# Install a2d headers alongside (adjust if you want a different layout)
160-
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../a2d/include/
159+
# Install a2d headers alongside (vendored under extern/a2d for AE6310 students)
160+
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/extern/a2d/include/
161161
DESTINATION "${AMIGO_PY_PACKAGE_DIR}/a2d/include"
162162
)
163163

164164
target_include_directories(headers INTERFACE
165165
# When building this project
166166
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
167-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../a2d/include>
167+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/extern/a2d/include>
168168

169169
# When consumed via find_package(Amigo)
170170
$<INSTALL_INTERFACE:amigo/include>

extern/a2d/include/a2dcore.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#ifndef A2D_CORE_H
2+
#define A2D_CORE_H
3+
4+
// Key objects
5+
6+
#include "ad/a2dmat.h"
7+
#include "ad/a2dobj.h"
8+
#include "ad/a2dstack.h"
9+
#include "ad/a2dvec.h"
10+
11+
// Operations
12+
13+
#include "ad/a2dgemm.h"
14+
#include "ad/a2dgreenstrain.h"
15+
#include "ad/a2dhadamard.h"
16+
#include "ad/a2disotropic.h"
17+
#include "ad/a2dmatdet.h"
18+
#include "ad/a2dmatinv.h"
19+
#include "ad/a2dmatsum.h"
20+
#include "ad/a2dmattovec.h"
21+
#include "ad/a2dmattrace.h"
22+
#include "ad/a2dmatvecmult.h"
23+
#include "ad/a2dquaternion.h"
24+
#include "ad/a2dscalarops.h"
25+
#include "ad/a2dsymeigs.h"
26+
#include "ad/a2dsymmatmulttrace.h"
27+
#include "ad/a2dsymrk.h"
28+
#include "ad/a2dsymsum.h"
29+
#include "ad/a2dveccross.h"
30+
#include "ad/a2dvecnorm.h"
31+
#include "ad/a2dvecouter.h"
32+
#include "ad/a2dvecsum.h"
33+
34+
#endif // A2D_CORE_H

0 commit comments

Comments
 (0)