Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyu1412 committed Mar 19, 2024
0 parents commit 3c03d68
Show file tree
Hide file tree
Showing 11 changed files with 4,439 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
cmake_minimum_required(VERSION 3.19)

project(LegendreHankel C CXX)
set(CMAKE_CXX_STANDARD 14)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()

include_directories("include")
include_directories(${EIGEN3_INCLUDE_DIR})
add_subdirectory(src)

SET(CMAKE_CXX_FLAGS "-O3 -g -fno-omit-frame-pointer")

add_executable(dyproject src/dyproject.cpp src/aux.cpp src/project.cpp)

# Installation commands
install(TARGETS dyproject DESTINATION bin) # Install executable
install(DIRECTORY include/ DESTINATION include) # Install headers
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Hankel Projection

A package for denosing imaginary time Green's functions with Hankel projections.

## Prerequisites

* Eigen3

## Installation

1. Clone the repository:
```
git clone [email protected]:CQMP/HankelProjection.git
```
2. Build the package:
```
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=PATH_TO_INSTALL/HankelProj && cmake --build build
```
3. Install the package (optional):
```
cmake --build build --target install
```

## Usage

After building the package, refer to the examples directory for sample usage. Execute the command `bash run.sh` within the examples directory to see HankelProj in action.

## Contact

If you have questions, bug reports, or feature suggestions, please feel free to email us at: [email protected] or [email protected]

2,002 changes: 2,002 additions & 0 deletions examples/Gtau.dat

Large diffs are not rendered by default.

Loading

0 comments on commit 3c03d68

Please sign in to comment.