Skip to content

Commit

Permalink
Import FMM as internal module
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoAlvarezR committed Oct 3, 2024
1 parent ee98643 commit 505910a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 29 deletions.
6 changes: 5 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FLOWPanel"
uuid = "6be8c882-484d-4309-b349-d23112750151"
author = ["Eduardo Alvarez <[email protected]>"]
version = "1.1.1"
version = "1.2.1"

[deps]
Dierckx = "39dd38d3-220a-591b-8e3c-4c3a8c710a94"
Expand All @@ -10,6 +10,10 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
GeometricTools = "83792f5e-c6a1-11e8-2e0a-93511f02ae5f"
ImplicitAD = "e7cbb90b-9b31-4eb2-a8c8-45099c074ee1"
FastMultipole = "ce07d0d3-2b9f-49ba-89eb-12c800257c85"
WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"
LinearOperators = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

[compat]
julia = "1.6"
Expand Down
3 changes: 2 additions & 1 deletion src/FLOWPanel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ for header_name in ["elements", "linearsolver",
"abstractbody", "nonliftingbody",
"abstractliftingbody", "liftingbody",
"multibody",
"utils", "postprocess"
"utils", "postprocess",
"fmm"
]
include("FLOWPanel_"*header_name*".jl")
end
Expand Down
21 changes: 21 additions & 0 deletions src/FLOWPanel_fmm.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module FMM

using StaticArrays
using LinearAlgebra: cross, norm, dot, mul!, lu!, LU
using WriteVTK
import Krylov
import LinearOperators

# https://github.com/byuflowlab/FastMultipole
using FastMultipole

const ONE_OVER_4PI = 1/4/pi

for header_name in ["types", "panel", "kernel", "geometry", "fmm",
"solve", "freestream", "vtk"]

include(joinpath("fmm", header_name*".jl"))

end

end # END OF MODULE
27 changes: 0 additions & 27 deletions src/fmm/fmm_FLOWPanel.jl

This file was deleted.

0 comments on commit 505910a

Please sign in to comment.