Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version 0.2.1 #35

Merged
merged 5 commits into from
Jul 11, 2024
Merged
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
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - 2024-05-02
## [0.2.1] - 2024-07-11

### Added

- Distributed cutter (`cut()`) using `GridapDistributed` and `PartitionedArrays` since [#28](https://github.com/gridap/STLCutters.jl/pull/28).
- New documentation pages with examples of usage.

### Changed

- `compute_cell_to_facets` is more efficient for non-Cartesian meshes. It exploits AABB intersections.

## [0.2.0] - 2024-02-15

Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Downloads = "1.4"
FileIO = "1.6"
FillArrays = "0.11, 0.13, 1"
Gridap = "0.18"
GridapDistributed = "0.3, 0.4"
GridapEmbedded = "0.9.2"
GridapDistributed = "0.4"
GridapEmbedded = "0.9.4"
IterativeSolvers = "0.9"
MPI = "0.20"
MeshIO = "0.4"
Expand Down
1 change: 0 additions & 1 deletion src/Distributed.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function cut(cutter::STLCutter,bgmodel::DistributedDiscreteModel,args...)
icells,
cell_to_facets) do bgmodel,facet_gids,icells,cell_to_facets

# icells = compute_interior_cells(bgmodel,cell_gids)
ownmodel = DiscreteModelPortion(bgmodel,icells)
cell_to_pcell = get_cell_to_parent_cell(ownmodel)
facet_to_pfacet = get_face_to_parent_face(ownmodel,D-1)
Expand Down
5 changes: 4 additions & 1 deletion test/DistributedTests/Poisson.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ function main(distribute;
cutter = STLCutter(;tolfactor)
cutgeo = cut(cutter,bgmodel,geo)

model,cutgeo,aggregates = aggregate(AggregateAllCutCells(),cutgeo)

Ω = Triangulation(cutgeo,PHYSICAL_IN)
Γ = EmbeddedBoundary(cutgeo)
n_Γ = get_normal_vector(Γ)
Expand All @@ -52,7 +54,8 @@ function main(distribute;
# Setup FESpace
order = 1
Ω_act = Triangulation(cutgeo,ACTIVE)
V = TestFESpace(Ω_act,ReferenceFE(lagrangian,Float64,order),conformity=:H1)
Vstd = TestFESpace(Ω_act,ReferenceFE(lagrangian,Float64,order),conformity=:H1)
V = AgFEMSpace(model,Vstd,aggregates)
U = TrialFESpace(V)

# Weak form
Expand Down
2 changes: 2 additions & 0 deletions test/DistributedTests/sequential/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ using Test

@time @testset "CutterSeq" begin include("CutterTests.jl") end

@time @testset "PoissonSeq" begin include("PoissonTests.jl") end

end
Loading