-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
251 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,3 @@ Manifest.toml | |
*.vts | ||
*.vtk | ||
*.vtu | ||
|
||
# vim | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
abstract type Element end | ||
|
||
struct Source <: Element end | ||
|
||
struct Dipole <: Element end | ||
|
||
abstract type Dimension end | ||
|
||
struct Point <: Dimension end | ||
|
||
struct Line <: Dimension end | ||
|
||
struct Panel <: Dimension end | ||
|
||
struct QuadPanel <: Dimension end | ||
|
||
struct Volume <: Dimension end | ||
|
||
abstract type Distribution end | ||
|
||
struct Uniform <: Distribution end | ||
|
||
struct Linear <: Distribution end | ||
|
||
|
||
|
||
##### | ||
##### code architecture | ||
##### | ||
# FMM | ||
|
||
# * inputs: | ||
|
||
# - provide a tuple of vectors of elements (bodies) | ||
|
||
# - position (3-tuple for point, 5 3-tuples for quad panels, etc.) | ||
# - strength (scalar for <:Uniform, vector for <:Linear ) | ||
|
||
# - element dimension | ||
# - element type | ||
# - function for computing multipole coefficients? (at least make it optional) | ||
|
||
# function fmm!(bodies::Vector, potential, options::Options, targets, sources; reset_tree, local_P2P) | ||
|
||
# end | ||
|
||
# * outputs: | ||
|
||
# - potential, gradient, and gradient derivatives | ||
# - sorts elements into octree (make copies?) | ||
# - allow AD derivatives | ||
# - calculates potential, gradient, and gradient derivatives | ||
|
||
# FLOWSolve | ||
|
||
# * user: | ||
|
||
# - provide a tuple of vectors of boundary elements | ||
# - provide a tuple of vectors of wake elements | ||
# - somehow describe boundary conditions | ||
|
||
# * code: | ||
|
||
# - solve for the strengths of each boundary element |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.