From 7a615b7f45cbad2eca1208dab5fd15e2aacece67 Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Mon, 25 Sep 2023 18:50:43 +1000 Subject: [PATCH 1/3] fix DocumenterCitations.jl use --- docs/make.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 5f794a1a..ce6f0abb 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -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, From eeec8e7b3b5e1b9bb220429b36a766706b9962ff Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Mon, 25 Sep 2023 23:58:55 +1000 Subject: [PATCH 2/3] fix docs --- docs/src/reference/TopOptProblems.md | 7 +------ src/TopOptProblems/IO/INP/inpstiffness.jl | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/src/reference/TopOptProblems.md b/docs/src/reference/TopOptProblems.md index dfbdba95..2bdd16ad 100644 --- a/docs/src/reference/TopOptProblems.md +++ b/docs/src/reference/TopOptProblems.md @@ -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 @@ -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 +InputOutput.INP.Parser.InpContent ``` ## Grids diff --git a/src/TopOptProblems/IO/INP/inpstiffness.jl b/src/TopOptProblems/IO/INP/inpstiffness.jl index c0559dd1..7dd13c18 100644 --- a/src/TopOptProblems/IO/INP/inpstiffness.jl +++ b/src/TopOptProblems/IO/INP/inpstiffness.jl @@ -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 From 87721ff5504f46e3e6f1fe7856b22bd2686ddf3d Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Sun, 1 Oct 2023 18:19:57 +1100 Subject: [PATCH 3/3] fix attempt --- docs/src/reference/TopOptProblems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/reference/TopOptProblems.md b/docs/src/reference/TopOptProblems.md index 2bdd16ad..40330d4d 100644 --- a/docs/src/reference/TopOptProblems.md +++ b/docs/src/reference/TopOptProblems.md @@ -45,7 +45,7 @@ InpStiffness ``` ```@docs -InputOutput.INP.Parser.InpContent +Parser.InpContent ``` ## Grids