Skip to content

Commit

Permalink
add preprocessing docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
juddmehr committed Apr 20, 2024
1 parent 2e59b97 commit 9976508
Show file tree
Hide file tree
Showing 4 changed files with 332 additions and 31 deletions.
11 changes: 8 additions & 3 deletions docs/src/DuctAPE/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@ Depth = 5

## Public API

### Options

```@docs
DuctAPE.setup_analysis
DuctAPE.set_options
DuctAPE.DFDC_options
```

### Setup

```@docs
DuctAPE.DFDC_options
DuctAPE.setup_analysis
```

The remainder of the public API elements are found throughout the remainder of this documentation in the context of their usage. The index at the bottom of this page may be helpful in locating them.
### Analysis

## Private API

Expand Down
1 change: 1 addition & 0 deletions docs/src/DuctAPE/examples.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Examples

## Advanced Option Selection
(TODO: see src/utilities/options.jl)

## Available Outputs

Expand Down
14 changes: 7 additions & 7 deletions docs/src/DuctAPE/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nothing # hide

The next step is to create the input object of type `Propulsor`.

```@docs
```@docs; canonical=false
DuctAPE.Propulsor
```

Expand Down Expand Up @@ -149,7 +149,7 @@ plot!(pg, centerbody_coordinates[:,1], centerbody_coordinates[:,2], color=2, lin

The next step is to assemble an object of type `RotorStatorParameters` which contains the geometric information required to define the rotor(s) and their respective blade elements.

```@docs
```@docs; canonical=false
DuctAPE.RotorStatorParameters
```

Expand Down Expand Up @@ -251,7 +251,7 @@ plot!(pg, rotorzloc*ones(length(r)), r.*Rtip, seriestype=:scatter, markerstrokew

Next we will assemble the operating point which contains information about the freestream as well as the rotor rotation rate(s).

```@docs
```@docs; canonical=false
DuctAPE.OperatingPoint
```

Expand All @@ -278,7 +278,7 @@ The `PanelingConstants` object contains the constants required for DuctAPE to re
The `PanelingConstants` object is also used to build all of the preallocated caches inside DuctAPE, which can be done up-front if desired.
Note that there is some functionality in place for cases when the user wants to keep their own specified geometry, but this functionality should be used with caution and only by users who are certain their provided geometry is in the compatible format. See the [Examples](@ref "Circumventing the Automated Geometry Re-paneling") for an example.

```@docs
```@docs; canonical=false
DuctAPE.PanelingConstants
```

Expand All @@ -300,7 +300,7 @@ nothing # hide

The reference parameters are used in the post-processing non-dimensionalizations.

```@docs
```@docs; canonical=false
DuctAPE.ReferenceParameters
```

Expand Down Expand Up @@ -332,7 +332,7 @@ nothing # hide

The default options should be sufficient for just starting out and are set through the `set_options` function.

```@docs
```@docs; canonical=false
DuctAPE.set_options
```

Expand All @@ -347,7 +347,7 @@ For more advanced option selection, see the examples and API reference.
With the propulsor input build, and the options selected, we are now ready to run an analysis.
This is done simply with the `analyze` function which dispatches the appropriate analysis, solve, and post-processing functions based on the selected options.

```@docs
```@docs; canonical=false
DuctAPE.analyze(::DuctAPE.Propulsor, ::DuctAPE.Options)
```

Expand Down
Loading

0 comments on commit 9976508

Please sign in to comment.