Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
136406a
Add Rotation class with docs and bindings
chemiskyy Feb 4, 2026
ac93345
Add Python validation & SciPy interop; use simcoon
chemiskyy Feb 5, 2026
0f6ad8f
Enhance rotation docs and add rotation tests
chemiskyy Feb 5, 2026
24ba6a1
Rename Voigt rotation methods and add localization
chemiskyy Feb 5, 2026
aac4633
Require explicit Euler conv and active args
chemiskyy Feb 6, 2026
3538ce5
Throw on invalid Euler convention
chemiskyy Feb 6, 2026
7843728
Update rotation API names in docs
chemiskyy Feb 6, 2026
ac80945
Refactor rotation API and rename wrappers
chemiskyy Feb 6, 2026
f958165
Update CMakeLists.txt
chemiskyy Feb 6, 2026
7c6eb96
Add Rotation class and rename rotation APIs
chemiskyy Feb 6, 2026
96c71eb
Migrate to Rotation class API for transforms
chemiskyy Feb 6, 2026
cde44c4
Remove legacy rotation free-functions (Python & docs)
chemiskyy Feb 6, 2026
4548de3
Rename rotation_class to rotation
chemiskyy Feb 6, 2026
66fb223
Integrate scipy Rotation; add Python wrapper/tests
chemiskyy Feb 13, 2026
475b5bd
Update rotation.rst
chemiskyy Feb 13, 2026
62742fd
Update rotation.cpp
chemiskyy Feb 13, 2026
e660088
Update test_rotation.py
chemiskyy Feb 13, 2026
092bfbe
Update doc_rotation.rst
chemiskyy Feb 13, 2026
d8a7f0b
Add Fastor header-only library via FetchContent
chemiskyy Feb 13, 2026
f01c933
Add Fastor-Armadillo bridge helpers
chemiskyy Feb 13, 2026
1e33400
Create tensor.hpp
chemiskyy Feb 13, 2026
d2ee7c5
Update __init__.py
chemiskyy Feb 13, 2026
994cd8b
Create tensor.py
chemiskyy Feb 13, 2026
ff60295
Update CMakeLists.txt
chemiskyy Feb 13, 2026
ebc0644
Add pybind11 bindings for Continuum tensors
chemiskyy Feb 13, 2026
8cfa3bc
Update python_module.cpp
chemiskyy Feb 13, 2026
29324a0
Create test_tensor.py
chemiskyy Feb 13, 2026
4737c54
Update CMakeLists.txt
chemiskyy Feb 13, 2026
bde6fb8
Add tensor2/tensor4 implementations with Fastor
chemiskyy Feb 13, 2026
df442dd
Update CMakeLists.txt
chemiskyy Feb 13, 2026
f54bb50
Create Ttensor.cpp
chemiskyy Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,21 @@ FetchContent_Declare(
GIT_TAG "v3.0.1"
)

FetchContent_Declare(
Fastor
GIT_REPOSITORY "https://github.com/3MAH/Fastor.git"
GIT_TAG "master"
)

#set(BUILD_SHARED_LIBS ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
FetchContent_MakeAvailable(dylib)
set_target_properties(dylib PROPERTIES UNITY_BUILD OFF)

# Fastor is header-only — just populate, no build step needed
FetchContent_Populate(Fastor)
message(STATUS "Fastor include dir: ${fastor_SOURCE_DIR}")

# Python dependencies (only if building Python bindings)
if(BUILD_PYTHON_BINDINGS)
find_package(Python3 COMPONENTS Interpreter Development NumPy REQUIRED)
Expand Down Expand Up @@ -299,6 +309,9 @@ target_include_directories(simcoon
# Add Armadillo as system headers to suppress warnings
target_include_directories(simcoon SYSTEM PUBLIC ${ARMADILLO_INCLUDE_DIRS})

# Add Fastor as system headers (header-only tensor library, build-time only)
target_include_directories(simcoon SYSTEM PUBLIC $<BUILD_INTERFACE:${fastor_SOURCE_DIR}>)


# Define restrict macro (MSVC and GCC/Clang handle restrict differently)
target_compile_definitions(simcoon PUBLIC restrict=)
Expand Down
Loading
Loading