Skip to content

Commit

Permalink
Merge pull request #35 from gridap/bump_version_0.2.1
Browse files Browse the repository at this point in the history
Bump version 0.2.1
  • Loading branch information
pmartorell authored Jul 11, 2024
2 parents 47751c1 + 64245b3 commit f362f07
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
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

2 comments on commit f362f07

@pmartorell
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/110885

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" f362f07cec9972b9334317fd4238ff30b90bd624
git push origin v0.2.1

Please sign in to comment.