Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ GENERATED_EXAMPLES = [
]

bib = CitationBibliography(joinpath(@__DIR__, "biblio", "ref.bib"))
makedocs(
bib;
makedocs(;
plugins = [bib],
sitename="TopOpt.jl",
format=Documenter.HTML(; prettyurls=get(ENV, "CI", nothing) == "true"),
# doctest = false,
Expand Down
7 changes: 1 addition & 6 deletions docs/src/reference/TopOptProblems.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,18 @@ The following types are all concrete subtypes of `StiffnessTopOptProblem`. `Poin

```@docs
PointLoadCantilever
PointLoadCantilever(::Type{Val{CellType}}, nels::NTuple{dim,Int}, sizes::NTuple{dim}, E, ν, force) where {dim, CellType}
```

```@docs
HalfMBB
HalfMBB(::Type{Val{CellType}}, nels::NTuple{dim,Int}, sizes::NTuple{dim}, E, ν, force) where {dim, CellType}
```

```@docs
LBeam
LBeam(::Type{Val{CellType}}, ::Type{T}=Float64; length = 100, height = 100, upperslab = 50, lowerslab = 50, E = 1.0, ν = 0.3, force = 1.0) where {T, CellType}
```

```@docs
TieBeam
TieBeam(::Type{Val{CellType}}, ::Type{T} = Float64, refine = 1, force = T(1); E = T(1), ν = T(0.3)) where {T, CellType}
```

### Reading INP Files
Expand All @@ -46,11 +42,10 @@ In `TopOpt.jl`, you can import a `.inp` file to an instance of the problem struc

```@docs
InpStiffness
InpStiffness(filepath_with_ext::AbstractString; keep_load_cells = false)
```

```@docs
IO.INP.Parser.InpContent
Parser.InpContent
```

## Grids
Expand Down
2 changes: 1 addition & 1 deletion src/TopOptProblems/IO/INP/inpstiffness.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end
- `dim`: dimension of the problem
- `TF`: number type for computations and coordinates
- `N`: number of nodes in a cell of the grid
- `inp_content`: an instance of [`InpContent`](@ref) which stores all the information from the ``.inp` file.
- `inp_content`: an instance of [`InputOutput.INP.Parser.InpContent`](@ref) which stores all the information from the ``.inp` file.
- `geom_order`: a field equal to `Val{GO}` where `GO` is an integer representing the order of the finite elements. Linear elements have a `geom_order` of `Val{1}` and quadratic elements have a `geom_order` of `Val{2}`.
- `metadata`: Metadata having various cell-node-dof relationships
- `black`: a `BitVector` of length equal to the number of elements where `black[e]` is 1 iff the `e`^th element must be part of the final design
Expand Down